Repository navigation
merge queue: checking #1480 + #1490 + #1468 together on master (70793be), stacked on #1488 - #1493
Closed
mergify[bot] wants to merge 9 commits into
Closed
mergify[bot] wants to merge 9 commits into
mergify[bot] wants to merge 9 commits into
Conversation
Interface instances, modport views and generic bindings now resolve through semantic scopes over the original syntax tree. Remove generated probe modules, interface source replacement, timescale call replacement and source blanking in the external verification adapter. Preserve per-instance parameters, process and function bindings, generate scopes, timescales and initialized array members. Bind interface array ports in declaration order across differing bounds and forwarded connections, and reject shape mismatches. Inspect declarations through an explicit analyzer mode so timed bodies need no text edits. Validation: analyzer/frontend units; full SV backend suite; DPI, unpacked-array and mixed frontend tests; formatting and clippy. New array-port and initialization regressions agree with Verilator. Icarus passes array initialization and rejects interface port syntax; the latter is recorded under its existing interface limitation. Both external tools pass the timed declaration-inspection case. BREAKING CHANGE: Remove the elaborate_interfaces source-rewriting APIs. InterfacePrototype exposes its analyzed module instead of generated probe source. Change-Id: I95623503dff2b19c4acd10e87298a0d92e60c077
Follow up on #1469. SV-rooted hierarchies lost SV modules instantiated below a native Veryl child (SV top -> Veryl -> Veryl -> SV), because only direct SV children of a Veryl module were reported to the SV frontend. Report every SV instance reached through native Veryl children instead; the Veryl children themselves still link through the IR. Modules of the root project and of a dependency may share a source name while emitting distinct names (`app_Child`, `lib_Child`). The mixed bridge round-trip went through the source name, so one body was silently dropped or bound to the other's name. External signatures are now registered under emitted names directly, and the linker and foreign parameter specialization address Veryl bodies by their position in the IR rather than by name. Validation: - cargo test -p celox -p celox-frontend-veryl --features celox/systemverilog --lib --test systemverilog - cargo clippy -p celox -p celox-frontend-veryl --all-targets --features celox/systemverilog --no-deps - cargo fmt --all -- --check - New tests: an SV leaf below nested Veryl modules (plain and specialized), and a path-dependency fixture with same-named modules in both projects (plain and specialized); both failed before this change BREAKING CHANGE: parse_ir_with_external_hierarchy_and_native_modules maps external module names to indices into the IR components instead of to module names. Change-Id: If54806fae722984adcb72bec0eaac44591a8cc41
An edge-triggered `always` committed its blocking and nonblocking results together when its domain applied. IEEE 1800-2023 (4.5, 10.4) executes the blocking stores in the active region and the nonblocking updates in the NBA region (#1470): - A variable one block writes both ways now stages its nonblocking writes in a hidden value and a mask of the bits they wrote; the commit merges them after the blocking value. `q <= 7; q = 2;` ends with 7 and a read after `q <= 7` sees the old `q`, on every path. - In a design with process kernels, a domain whose blocking results are observed (read through combinational logic by a kernel or another domain's evaluation, a wait term, or another domain's event signal) commits them with its evaluation and only the nonblocking ones in the NBA region. The reference loop settles combinational logic and wakes waits after such a domain evaluates before the inactive region, so their processes run in the active region. Other domains and the fused units commit as before. The runtime schema lists those domains, so the native image container moves to version 14; older images are rejected. BREAKING CHANGE: `RuntimeSchema` and `ScheduleModel` have the new field `active_commits`, and native images of container version 13 are rejected. Change-Id: I2c5a64fed1e96648f3c3b7419f39acb5f576bb32
A domain that commits its blocking results before the inactive region changed event signals of other domains, directly or through combinational logic, but the new levels became the edge baseline without an edge. The reference loop now takes the levels before the commits, settles, marks the domains the committed changes trigger, and evaluates them in the same active region before resuming the inactive processes. Change-Id: Ifef70072f1fd3b703438669d1d0524d76e619a4c
Simulation.runUntil(endTime, { maxSteps }) treated the Rust bounded loop's
false result as a timeout even when a design executed $stop. Return normally
when an allowed step suspends the simulation, so callers can inspect
isStopped() and resume it. Normalize fractional, negative and NaN budgets
before the native call and the stop check so effective zero-step budgets
still time out, including while a previous stop is pending.
A resumed time slot can stop again or exhaust its budget before consuming
pending host writes. Preserve dirty inputs after these interrupted resumptions
so output reads still perform lazy combinational evaluation.
Add TypeScript regressions for stop and resumption, normalized budgets, and
pending input writes across repeated stops and budget exhaustion. Extend the
Rust SystemVerilog $stop regression to verify bounded-loop results with
actual stopped processes.
Validation:
- TypeScript Simulation unit tests (54 passed), package type checks, and Biome.
- NAPI Simulation, timing-addon, cascaded-clock-addon, and e2e tests (168 passed).
- Rust stop_suspends_the_simulation_until_it_continues regression.
- cargo fmt and Clippy for the SystemVerilog integration test.
- Reused the successful NAPI build and Rust checks from the prior revision;
native sources are unchanged by this review fix.
Fixes #1464
Change-Id: I3756bef676de6da4b8e9884f9025a72083dc21ae
This was referenced Oct 18, 2026
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.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch sterling-painmie-c2mqbb of the
changesqueue, to test #1480, #1490 and #1468 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #1480, #1490 and #1468 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat70793bedb469d8The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #1480 + #1490 + #1468. See only this batch's changes.
Queued ahead of this batch
This pull request entered the queue before this batch and is not part of it.
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]: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)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 4fed0668a26a429cb010e1f94acb434b["sterling-painmie-c2mqbb<br/>#1480 + #1490 + #1468<br/>scopes: core"] 7a7b3523ee584db4966150eff1478a01["underlying-caramel-0dt26k<br/>#1474<br/>scopes: core"] 4fed0668a26a429cb010e1f94acb434b --> 7a7b3523ee584db4966150eff1478a01 style 4fed0668a26a429cb010e1f94acb434b fill:#6366f1,color:#fff