Skip to content

feat(cli)!: roll up native testbench and simulator configuration - #1605

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/rollup-native-testbench-configuration/roll-native-testbench-simulator-config--8a7eb9b0
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/rollup-native-testbench-configuration/roll-native-testbench-simulator-config--8a7eb9b0

Conversation

@tignear

@tignear tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • 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 feat(cli)!: support numeric top parameter overrides #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 feat(cli)!: support numeric top parameter overrides #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

@tignear
tignear marked this pull request as ready for review October 20, 2026 10:49
@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T11:07:27.419902Z b39651d New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +76 to +78
#[derive(Default, Deserialize)]
#[serde(default, deny_unknown_fields)]
struct Manifest {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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
@tignear
tignear force-pushed the stack/tignear/feat/rollup-native-testbench-configuration/roll-native-testbench-simulator-config--8a7eb9b0 branch from 3280253 to b39651d Compare October 20, 2026 11:03
@tignear

tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 3280253 2026-10-20 11:03 UTC
2 content 3280253 → b39651d Accept established exclude, test, and simulation manifest fields when explicit Veryl sources are passed to the CLI; add regression coverage for run and vpi build. 2026-10-20 11:03 UTC

@mergify mergify Bot added the queued Mergify queue entry label Oct 20, 2026
@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify
mergify Bot merged commit 0dee6e7 into master Oct 20, 2026
32 of 33 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/rollup-native-testbench-configuration/roll-native-testbench-simulator-config--8a7eb9b0 branch October 20, 2026 14:15
@mergify mergify Bot removed the queued Mergify queue entry label Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant