Repository navigation
merge queue: checking #1640 + #1641 + #1646 together on master (250122f), stacked on #1536 - #1671
Closed
mergify[bot] wants to merge 10 commits into
Closed
mergify[bot] wants to merge 10 commits into
mergify[bot] wants to merge 10 commits into
Conversation
emnapi beta.1 renamed the internal module field, but wasm-runtime 1.2.5 bundles alpha-era plugins that still access napiModule and fail during WASM initialization. Patch both runtime entry points to use the installed core's own plugins, and exercise plugin initialization through import and require. Validation: WASM build and 16 tests, native build and 422 tests, browser build and 6 Playwright tests, 268 repository script tests, typecheck, lint, frozen-lockfile installation, and peer checks passed. Browser validation used port 44173 and a locally unpacked libasound library on WSL. Change-Id: I0c6767d090fa6e4787fd175c555fe607f2059b8e
Scope Mergify push and history rules to Mergify-managed stacks. Permit fixes on existing ordinary PR branches, including Renovate branches, without a separate workflow exception. Change-Id: Id34d3e25649a166862703e13b2736c3cbeee8664
Implement randomize(a, b) and std::randomize(a, b) for whole writable packed variables, including signed vectors and packed structures. Fill arbitrary supported widths in 32-bit words and return the signed int success value 1. Empty calls succeed without changing variables or advancing the random stream. Use the caller's persistent process RNG with a bijective output mix so even word strides cannot freeze low bits. Preserve procedural order, short-circuit evaluation, function locals, four-state mask clearing and checkpoint replay. Record written arguments for driver and sensitivity checks; recognize std::randomize as a built-in rather than a package dependency. Reject constraints, class methods, enums, unpacked arrays, nets, constants, selects and concatenation arguments. Retain enum and mutability metadata through analysis to diagnose unsupported targets. Document these limits in English and Japanese. Add shared regressions for widths 1, 5, 16, 32, 64, 981, 1024 and 2051, control flow and return width. Add owning diagnostics, port-kind checks, four-state/checkpoint coverage and O0/O1/O2 checks. Verilator passes both shared cases; retain Icarus 13.0's compile failures and narrowly exclude those cases in its catalogue, including retained-report rows. Validation: full SV backend corpus, analyzer/frontend tests, full shared-suite package tests with Verilator and Icarus features, optimization-level checks, affected-crate and integration-test Clippy, and formatting. Native backend and wide/four-state/parameterized consumers also pass. Change-Id: I7bb166b01425b7890391c787293906fe051716ce
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
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 oscillating-tartiflette-88ay6u of the
changesqueue, to test #1640, #1641 and #1646 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 #1640, #1641 and #1646 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat250122f48d6622The 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 #1640 + #1641 + #1646. 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 validationdepends-on = celox-sim/celox#1640[⛓️ feat(sv): support unconstrained scope randomization #1640]number != 1641master]: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-readydepends-on = celox-sim/celox#1640[⛓️ feat(sv): support unconstrained scope randomization #1640]number != 1641master]: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"] 1c40171ae4e4457a82b2a913cda51465 --> e9aa85b19d214cc6b6023d60e19b0485 style 1c40171ae4e4457a82b2a913cda51465 fill:#6366f1,color:#fff