Repository navigation
merge queue: checking #1661 + #1668 + #1669 together on master (9907bba), stacked on 5 pull requests ahead - #1674
Closed
mergify[bot] wants to merge 16 commits into
Closed
mergify[bot] wants to merge 16 commits into
mergify[bot] wants to merge 16 commits into
Conversation
Extend the existing pinned common_cells gate from Gray code to include the unmodified cc_popcount_tb. Its widths 1, 5, 16, 32, 64 and 981 exercise unconstrained scope randomization, #5ns delays and assertions against $countones through celox run --project. No 981-bit limit is imposed by the randomizer. Require both original testbenches to pass, then mutate separate RTL copies and require both to fail with their own assertion diagnostics and the CLI's runtime assertion-failure summary. Compilation errors quoting the diagnostic text cannot satisfy a negative control. Keep the existing upstream pin, per-run timeout and result fields, and list both testbenches in the final report. Extend script tests to cover failures specific to the popcount positive and negative executions and quoted compile diagnostics. Document reproduction and retained logs. The existing scheduled/manual CI job picks up the expanded gate. Validation: Node script tests; all four real executions against common_cells e73baaec2ca665cd80c3c384e9258e35242b829c passed their positive/negative expectations; upstream tracked files remain unchanged. Formatting and affected Rust checks passed in the lower stack members. Change-Id: Ib70fd8211aa5a1a6cdfc2641409e0da8db0b35f2
Allow CLI and project parameter overrides to preserve signed values, packed strings, explicit widths, unbased fills and X/Z bits. Add the corresponding SimulatorBuilder::param_literal API; numeric overrides keep their existing API and last-value-wins behavior. Reject SV literals for Veryl inputs. Add --two-state/--four-state and four_state in project and target settings, with project < target < CLI precedence. Use two-state simulation as the default. Serialize the selected mode into native executables and normalize VPI X/Z deposits and forces using the effective runtime mode. This lets Taxi's APB-to-AXI-Lite and AXI-to-AXI-Lite adapter tests use the same two-state condition as their upstream Verilator runs. The original 8-bit configurations pass all 12 cocotb tests each at O1; the AXI adapter run takes about 419 seconds. Other remaining Taxi failures are not hidden by this setting. Validation: O2 literal-parameter API regressions across backends; all project CLI tests, including merge precedence, native image round trips and Veryl input rejection; VPI deposits/forces and package tests; affected-crate Clippy and formatting. Also check celox without default features to preserve builds without SystemVerilog support. Change-Id: I349bbcdce9d4747dcac4c19b985b5a29622022b3
Common branch-load hoisting could reuse a predecessor load from before an intervening store, so a subsequent display or comparison observed the old value. It also merged different register types and could move definitions across a successor with another predecessor. Reuse only the latest available matching load, stop across overlapping writes and host interactions, preserve result types, and require the predecessor to dominate both successors. Add direct SIR regressions for intervening stores, bit/logic result types, and multiple predecessors. Validation: optimizer unit suite and all-target clippy; the complete Celox suite also exercises this fix with the dependent FP changes (12,458 passed before updating the stack base). The dependent PR includes the end-to-end combinational display/assertion reproduction. Change-Id: Ic942e7594efecccfac235fdc894549cd151ae4ea
Preserve packed parameter shapes and constant selects, evaluate continuous concatenated assignments once, and allow dynamic scratch writes inside functions used by continuous assignments. Narrow constant-masked reads before combinational dependency analysis while retaining procedural wakeups. Lower unpacked memories shared by ordinary edge-triggered processes through the existing sparse next-state protocol, avoiding whole-memory seeds and publishing each complete dirty set once. Reject blocking/read-modify-write forms that the sparse protocol cannot represent. Keep conflicting always_ff writers diagnosed, with an explicit multiple_always_ff_drivers policy. Validation: full SystemVerilog suite across five backends (3242 passed, 90 ignored); analyzer tests (760 passed, 3 ignored); diagnostic policy and project CLI regressions; retained exclusion metadata tests; affected-crate Clippy and formatting. New portable cases were checked with Icarus and Verilator where their four-state support permits; the changed automatic-function case passes both simulators. Upstream Taxi at O1: APB/AXI-Lite/AXI dual-port RAMs pass 12/24/24 tests; stats_collect passes 8 tests; the 1x1 eight-bit crossbar passes 12 tests. Two selected BASE-R cases pass (2 executed, 238 skipped). Its complete matrix is not verified: gearbox cases require the upstream runner's 1fs precision override, which the current CLI harness does not apply, and the full run also timed out. Crossbar_1s now passes all 12 upstream tests at O1 with the optimized release VPI host (381 seconds wall time under load). Static function result persistence is deferred. Change-Id: I009aa8782e9855976a5638cfeb87a835b9526ba4
Preserve declared unpacked bounds through frontend metadata, reflection and native images. Expose multidimensional VPI arrays with lazy indexed handles, correct names and bounds, per-element deposits and value-change callbacks. Allocate metadata only for requested handles, including large sparse RAMs. Keep original four-state mask offsets for strided subviews and restrict partial writes to selected elements. For bit-packed arrays, use byte-window read/modify/write so sibling elements and boundary bits remain intact without copying the entire memory. Bump the native image schema to version 21 and reject older images before decoding their payload. Validation: VPI package and opt-in cocotb integration tests with cocotb 2.0.1 and 2.1.0; check packed element values and widths without requiring a version-specific handle class. Cover widths 1/8/9/65 in two-state and four-state modes, multidimensional and descending bounds, sibling preservation and callback identity; native executable/cache round trips; frontend/runtime unit tests; NAPI/JS integration; formatting and Clippy. Change-Id: Ibb49f1242a780dc1b9ef369b9841def4678fbad2
Parse cocotb JUnit results with Python's standard library and require at least one executed test. Report failures and errors with a nonzero process status, including statuses that previously wrapped to zero on Unix. Accept successful runs that also contain skipped tests. Validation: checked the embedded result parser against seven XML fixtures, including empty/all-skipped, mixed, failure/error, 256 failures and malformed results; opt-in cocotb end-to-end regression tests include an unmatched filter and verify that the generated executable rejects it; formatting and affected-crate Clippy. Change-Id: I93316d15fc83f37bc786288376446d3ae825c1ed
Resolve compact signal storage separately from owned reflection metadata. Read widths, signedness and array leaf status without copying signal names or dimensions, and acquire the active host once per value snapshot. Copy only the forced value/mask needed by a read instead of its deposited-value history. Keep lazy array addressing, four-state mask offsets, callback identity and write ordering unchanged. A release profile of Taxi's eight-bit 1x1 crossbar shows value_bits taking about 12% of sampled CPU time before this change and about 7% afterwards. Four alternating fixed-seed runs of the no-pause stress test per version reduce median user CPU time from 28.34s to 26.47s (6.6%); each run executes one test and skips the other eleven. Validation: VPI unit/API tests (46 passed), opt-in cocotb integration tests (4 passed), formatting and affected-crate Clippy. Existing regressions cover multidimensional and bit-packed arrays, sibling preservation, alias identity, forces, callbacks and session ownership. Change-Id: I64bd0bd37b50d4aeef39f321aed85612dcdeae9b
Constant evaluation first computed each operand in its own context and then walked the same subtree again even when width and signedness were unchanged. Nested casts repeated this work, causing pathological growth in deep trees. Reuse the computed value for matching contexts and for casts that do not widen their operand. Reevaluate operands when width or signedness changes, preserving context-dependent carries, division and four-state values under IEEE 1800-2023 11.8.2. Taxi BASE-R compilation with the debug host and generated O1 code decreases from 174 seconds to 55 seconds. The release host improves from 30.9 seconds to 8.4 seconds (user CPU 25.95s to 8.01s); generated code remains at O1. The release baseline attributes about 60% of sampled CPU time to context_binary_operands. The unchanged selected upstream cocotb cases both pass after the optimization (2 executed, 238 skipped). The full BASE-R matrix still needs the upstream 1fs precision override, which the current CLI harness does not support; no all-matrix pass is claimed. Validation: deep 48-layer constant casts including X/Z, widening carries and signedness-changing division; 36 focused literal tests; full analyzer tests (762 passed, 3 ignored); full SystemVerilog suite across five backends (3242 passed, 90 ignored); formatting and affected-crate Clippy. Change-Id: I2bdbf133a10a898df17646cf566fa5a24496ff15
This was referenced Oct 21, 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 nuclear-romesco-z8edpz of the
changesqueue, to test #1661, #1668 and #1669 before they merge intomaster.What this draft tests
Mergify checks that #1661, #1668 and #1669 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat9907bbaab5bad1The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
The number of speculative checks has been reduced.
Follow the
changesqueue in the dashboardWhat happens next
Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 5 pull requests ahead, so a failure here can come from them as much as from #1661 + #1668 + #1669. See only this batch's changes.
Queued ahead of this batch
These pull requests entered the queue before this batch and are not part of it.
corecoreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlecheck-success = @github-actions/Conventional Commit titledepends-on=celox-sim/celox#1646[⛓️ feat(cli): configure SV parameter literals and simulation state modes #1646 [stack]]depends-on=celox-sim/celox#1659[⛓️ fix(sv): preserve Taxi aggregates and sparse FF memories #1659 [stack]]depends-on=celox-sim/celox#1660[⛓️ fix(vpi): expose unpacked arrays through lazy element handles #1660 [stack]]depends-on=celox-sim/celox#1661[⛓️ fix(cli): reject empty cocotb test selections #1661 [stack]]depends-on=celox-sim/celox#1668[⛓️ perf(vpi): avoid metadata cloning during value access #1668 [stack]]Required 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:holddepends-on=celox-sim/celox#1646[⛓️ feat(cli): configure SV parameter literals and simulation state modes #1646 [stack]]depends-on=celox-sim/celox#1659[⛓️ fix(sv): preserve Taxi aggregates and sparse FF memories #1659 [stack]]depends-on=celox-sim/celox#1660[⛓️ fix(vpi): expose unpacked arrays through lazy element handles #1660 [stack]]depends-on=celox-sim/celox#1661[⛓️ fix(cli): reject empty cocotb test selections #1661 [stack]]depends-on=celox-sim/celox#1668[⛓️ perf(vpi): avoid metadata cloning during value access #1668 [stack]]base ~= ^(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-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @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 1c40171ae4e4457a82b2a913cda51465["oscillating-tartiflette-88ay6u<br/>#1640 + #1641 + #1646<br/>scopes: core"] e9aa85b19d214cc6b6023d60e19b0485["panicky-aubergine-diqbd3<br/>#1665 + #1659 + #1660<br/>scopes: core"] cad0f9f1c2b845efa39a494792b35cf4["nuclear-romesco-z8edpz<br/>#1661 + #1668 + #1669<br/>scopes: core"] 1c40171ae4e4457a82b2a913cda51465 --> e9aa85b19d214cc6b6023d60e19b0485 e9aa85b19d214cc6b6023d60e19b0485 --> cad0f9f1c2b845efa39a494792b35cf4 style cad0f9f1c2b845efa39a494792b35cf4 fill:#6366f1,color:#fff