Repository navigation
feat(cli)!: roll up native testbench and simulator configuration - #1605
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 32802531ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| #[derive(Default, Deserialize)] | ||
| #[serde(default, deny_unknown_fields)] | ||
| struct Manifest { |
There was a problem hiding this comment.
Preserve the existing celox.toml fields in CLI manifests
When --project is used with a pre-existing Veryl project configuration, deny_unknown_fields rejects documented fields such as exclude, [test], and [simulation]. Those fields are still consumed by CeloxConfig in crates/celox-napi/src/lib.rs, so a project cannot reuse its existing celox.toml with commands such as celox run top.veryl --top Top --project celox.toml; parsing fails before the explicit source is considered. The CLI manifest needs to accept the established fields or load its additions through the existing schema.
Useful? React with 👍 / 👎.
Land the two stacks branching from #1566 together so the upstream testbench workflow and simulator configuration share one validated queue entry. Include celox.toml projects and SV file lists, configurable diagnostics, VPI interface hierarchy, optimization and explicit signal access, numeric top parameter overrides, and the pinned common_cells daily smoke test. The compiler/runtime starts from #1591 at the SHA below. The CLI also accepts the established exclude, [test], and [simulation] manifest fields with their existing types, so explicit Veryl inputs can reuse celox.toml. Additional changes come from #1571's CI, runner, and documentation. The source PRs are held with release:hold while this rollup is active. Their changes are squashed here; they close automatically when this PR lands on master. If a source head changes, rebuild the rollup before queueing it. Removing this rollup requires releasing those holds before resuming individual stack merges. Source PRs and pinned heads: - #1566: 451189e — feat(cli): support celox.toml projects and SV file lists - #1571: 7b3abcc — ci: run pinned upstream SystemVerilog testbench daily - #1573: 2eee192 — feat(diagnostics)!: configure compilation diagnostic levels - #1576: e16ef23 — fix(vpi): preserve SystemVerilog interface member hierarchy - #1579: b291fe8 — feat(cli)!: configure optimization and explicit signal access - #1591: 834663f — feat(cli)!: support numeric top parameter overrides Validation: - Manifest compatibility: 21 CLI tests passed, including run and vpi build with each established field and their combination; malformed field types and unknown CLI fields remain rejected. Affected-crate Clippy and formatting passed. - 75 CLI/VPI tests passed; 3 opt-in cocotb tests retain the successful evidence from the identical #1591 Rust tree. - 63 workflow, classifier, scope, and upstream-runner script tests passed. - Real pinned common_cells Gray code TB passed; broken RTL failed with the required assertion diagnostic. - cargo clippy --locked -p celox-vpi --all-targets --features systemverilog -- -D warnings, cargo fmt --all -- --check, pnpm lint, and git diff --check passed. - Actionlint passed with only its outdated ubuntu-26.04-arm label catalogue diagnostic suppressed; the runner label predates these changes. - Reused #1591's exact-source parameter (256 tests), Clippy, NAPI, and upstream Taxi O1/O2 (9/9 each) validation. BREAKING CHANGE: SimulatorOptions gains diagnostic_policy and signal_access, error and warning enums gain variants, and native image container version 16 requires rebuilding attached images with a matching runtime. VPI builds use O1 with explicitly declared force targets. Unknown Veryl top parameter overrides now fail compilation instead of being silently ignored. Closes #1566 Closes #1571 Closes #1573 Closes #1576 Closes #1579 Closes #1591 Change-Id: I8a7eb9b0697f93da59eb8f5b8b13f70113604263
3280253 to
b39651d
Compare
Revision history
|
Merge Queue Status
This pull request spent 2 hours 9 minutes 52 seconds in the queue, including 53 minutes 34 seconds running CI. Required conditions to merge
|
Land the two stacks branching from #1566 together so the upstream testbench
workflow and simulator configuration share one validated queue entry.
Include celox.toml projects and SV file lists, configurable diagnostics,
VPI interface hierarchy, optimization and explicit signal access, numeric
top parameter overrides, and the pinned common_cells daily smoke test.
The compiler/runtime starts from #1591 at the SHA below. The CLI also
accepts the established exclude, [test], and [simulation] manifest fields
with their existing types, so explicit Veryl inputs can reuse celox.toml.
Additional changes come from #1571's CI, runner, and documentation.
The source PRs are held with release:hold while this rollup is active.
Their changes are squashed here; they close automatically when this PR
lands on master. If a source head changes, rebuild the rollup before
queueing it. Removing this rollup requires releasing those holds before
resuming individual stack merges.
Source PRs and pinned heads:
Validation:
BREAKING CHANGE: SimulatorOptions gains diagnostic_policy and signal_access,
error and warning enums gain variants, and native image container version 16
requires rebuilding attached images with a matching runtime. VPI builds use
O1 with explicitly declared force targets. Unknown Veryl top parameter
overrides now fail compilation instead of being silently ignored.
Closes #1566
Closes #1571
Closes #1573
Closes #1576
Closes #1579
Closes #1591