Repository navigation
fix(trace): include native process kernels in codegen traces - #2482
Closed
Conversation
Native SIR/MIR traces omitted process entries, including compiled testbench and scheduler code. Capture and render those entries when tracing is requested so the code that executes can be inspected. Validation: all 9 native_mir tests pass, including a native testbench process trace regression. Normal compilation still leaves trace capture disabled. Change-Id: I175feb5048269300b08cfe3d6b0d4e820887bf2f
This was referenced Oct 28, 2026
Contributor
Author
|
This pull request is part of a Mergify stack:
|
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. |
tignear
added a commit
that referenced
this pull request
Oct 28, 2026
Land the Veryl testbench execution stack as one queue entry; its members are not merged into master individually. Lower Veryl testbench expressions and resumable processes into shared SIR before optimization and state layout, and run them through the native, interpreter, Cranelift and Wasm backends, so tiered execution promotes DUT and TB kernels together. The separate TB VM, Cranelift compiler, scalar assembler and runtime loop evaluator are removed. Concurrent TB continuation dispatch, clock waits and multi-clock time progression are generated as ordinary SIR composed with the shared compiled clock-domain scheduler, so process arithmetic, settlement and eligible clock slots execute together between host services and tiering safe points. The shared scheduler no longer invalidates clean combinational state for unchanged clocks and internal clock-alias notifications. Native SIR/MIR traces now include process entries, including compiled testbench and scheduler code. Tiered circuit and Heliodor comparisons publish only total workload time; startup and execution intervals stay in diagnostic reports. The tree is identical to #2483 at the SHA below. 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: - #2445: a26c0a4 — perf(testbench)!: compile Veryl testbenches through the HDL backends - #2462: 544ca13 — fix(bench): compare tiered simulators by total completion time - #2482: 7a0ee19 — fix(trace): include native process kernels in codegen traces - #2483: 387fb86 — perf(testbench)!: compile concurrent Veryl scheduling through SIR Validation (from the source PRs, same tree as #2483): - 281 Celox library tests; 98 native TB tests (1 existing ignored); 9 native MIR tests including a native testbench process trace; 8 native image tests; 5 completion tests; 8 slot-observer tests; 6 tiered tests. - 81 runtime and 28 testbench library tests; affected-crate all-target Clippy with systemverilog, cranelift, veryl-reference and wasm-runtime; compiler-only, WASI and ARM64 code-generation checks; formatting and the default-dependency guard. - SHA-256, FFT and LZ77 pass both positive and deliberately broken oracle qualification. Rica completes all 16 replays with identical cycle and retirement counts. - Benchmark publication and runner tests, Heliodor conversion fixtures, and the VitePress production build. Performance status: no end-to-end speedup over Veryl simulator has been established; this rollup makes no performance claim. No large Heliodor workload was run. BREAKING CHANGE: CompiledExpr no longer evaluates expressions against a raw memory pointer; compile testbenches with the simulator pipeline and invoke their bound backend kernels. Serialized testbench metadata gains scheduler state, and appended native images use container version 55 and must be regenerated. Change-Id: If61ef7bfc9c47ddc0c3bf3e81cf6bdbce4d62a28
Contributor
Author
|
Landed on master as part of the rollup #2484. |
tignear
deleted the
stack/tignear/perf/veryl-testbench-execution/include-native-process-kernels-codegen-traces--175feb50
branch
November 8, 2026 20:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native SIR/MIR traces omitted process entries, including compiled testbench and scheduler code. Capture and render those entries when tracing is requested so the code that executes can be inspected.
Validation: all 9 native_mir tests pass, including a native testbench process trace regression. Normal compilation still leaves trace capture disabled.
Depends-On: #2462