Repository navigation
merge queue: checking #1592 + #1605 + #1613 together on master (56395af), stacked on #1597, #1601 and #1596 - #1616
Closed
mergify[bot] wants to merge 12 commits into
Closed
mergify[bot] wants to merge 12 commits into
mergify[bot] wants to merge 12 commits into
Conversation
A struct or union containing a single bit has an implicit packed width in Veryl's TypeKind. Retain that dimension when lowering member selects instead of rejecting a valid bit-0 access against zero dimensions. Leave scalar and enum handling unchanged. Add shared regressions for logic/reset fields, nested structs, union aliases and FF reset/capture. These reproduce on stable master independently of the Veryl HEAD dependency roll. Validation: - Standalone master-based struct_constructor harness: 31 passed, including 16 new tests across all eight backend/reference variants. - Frontend units and affected enum/array/language integration tests: 506 passed; 12 existing ignores (reused evidence for identical Rust source and dependencies). - Both new shared cases pass Verilator and Icarus. - NAPI build and JS library's 422 tests pass with this exact Rust implementation. - Affected-crate Clippy, Rust formatting and diff checks pass. Change-Id: Ic316b3194f51bd72406e12e0fbdd64f31073bde7
Vitest's persistent cache replays imports as Vite root-relative URLs or /@fs/ URLs for sources outside the Vite root. Resolve both forms to their canonical source, project and watch IDs so warm runs load generated JavaScript instead of raw Veryl. Prefer the Vite-root candidate for cached URLs outside the project's absolute namespace even if an unrelated host path exists. A matching project prefix only preserves an absolute identity when that file exists; otherwise try the Vite-root candidate too. Preserve canonical absolute project IDs and explicit /@fs/ identities, virtual-module ownership and optional watch-file behavior. Add real-file collision, prefix-shaped URL (including projectRoot=/) and source/query resolution regressions. Run the injected component fixture cold and warm in both internal and external project layouts. Validation: - External /@fs/ and colliding-host regressions reproduce before their fixes. Both prefix-shaped URL regressions also fail on the previous head. - Vite package tests: 132 passed; cold/warm fixtures pass in both layouts (8 assertions). - Dependency, source/client-build, build-watch and component-watch checks pass. - TypeScript build, plugin/playground type checks, plugin Biome and diff checks pass. - NAPI rebuilt from unmodified master Rust sources independently of the struct fix. Change-Id: I7613c2a332df5a43a7aac5b09e73207f05bc269d
Tasks containing delays, event controls, or wait statements currently fail analysis. Inline these calls into the caller's existing resumable process kernel, including nested calls and ordinary edge-sensitive always blocks that must rearm only after the task returns. Give automatic task arguments and locals private storage for each inlined activation so concurrent callers cannot overwrite suspended state. Preserve module-local static argument sharing and output/inout copyback at task return. Reject timed calls from functions and combinational/always_ff processes. Reject NBAs to automatic task storage even in untimed callees and folded branches; module-storage NBAs remain allowed. Static locals in timed tasks, recursion, and ref arguments remain unsupported. Reject package/$unit timed tasks with static arguments and waits reading static task arguments until shared storage and change notifications are available. Preserve driver validation for ordinary always processes converted to resumable kernels, including input writes, overlapping ranges, child outputs, and package-variable writers across instances. Add shared regressions for concurrent scalar/array activations, nested waits and early returns, copyback timing, static arguments, edge rearming, and four-state values. Enable the two existing timed-task regressions and check O0/O1/O2 with two-state and four-state simulation. Document the support and restrictions in both languages. Validation: SV regression corpus and optimization-level checks across native, Cranelift, Wasm, and parallel variants; 752 analyzer tests; frontend unit tests; all shared-suite unit, integration, and documentation tests with both external features; affected-crate and SV-test Clippy; formatting and lint; CLI smoke test. Focused timed-task regressions also pass on the latest master: 36 passed, with 10 pre-existing event-expression exclusions unchanged. Verilator and Icarus each pass five new shared cases. Verilator cannot validate the four-state case. Icarus 13.0 incorrectly shares automatic unpacked task arrays; retain the observed mismatch and narrowly exclude that case for Icarus while keeping its assertions enabled on Celox and Verilator. Change-Id: Iaf2e9f0e8cb38cc746024846aced5389d2d145f1
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
Generated array setters inside `dut.modify(...)` silently discarded writes. Use a shared element update for batched and direct setters, reading the current stored image so repeated writes in one callback compose correctly. Truncate values to the element width, preserve neighboring payloads and X/Z masks, and reject out-of-range indices before writing. Repair interface-array accessor generation as well: resolve member types from flattened variables, look up qualified signal names, scope generated types by module, and retain the backing IO lifetime across member access. Expose a stored four-state read on IOContext to support these updates without evaluating combinational logic inside a modify callback. Add API regressions covering repeated element updates, narrow and 129-bit elements, neighboring X/Z masks, bounds checks, and interface arrays used by multiple modules. Update the generated-code snapshot. Validation: - Generated API integration tests: 8 passed, including a failed-before reproduction of the no-op setter. - Macro unit/snapshot tests: 2 passed. - Simulator API regressions: 58 passed. - Formatting, affected library and regression-target Clippy with warnings denied, and diff checks pass. Change-Id: I5b9d65b61f0c762e3923e02537b2032164d07969
This was referenced Oct 20, 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 imperial-painpoilane-al9noo of the
changesqueue, to test #1592, #1605 and #1613 before they merge intomaster.What this draft tests
Mergify checks that #1592, #1605 and #1613 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat56395af97d443cThe check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
Pull requests batch (#1597, #1601, #1596) which was ahead in the queue failed.
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 3 pull requests ahead, so a failure here can come from them as much as from #1592 + #1605 + #1613. 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.
coreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]: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 (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)check-success = Conventional Commit titlemaster]: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/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)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 53259be0f4f54aebabf129034f2453cc["reverent-brioche-p4pfau<br/>#1597 + #1601 + #1596<br/>scopes: core"] 0bdde28b0cc944b598caea2cfd846202["imperial-painpoilane-al9noo<br/>#1592 + #1605 + #1613<br/>scopes: core"] 53259be0f4f54aebabf129034f2453cc --> 0bdde28b0cc944b598caea2cfd846202 style 0bdde28b0cc944b598caea2cfd846202 fill:#6366f1,color:#fff