Repository navigation
merge queue: checking #1926 + #1896 + #1930 together on master (0550040), stacked on 4 pull requests ahead - #1937
Closed
mergify[bot] wants to merge 18 commits into
Closed
mergify[bot] wants to merge 18 commits into
mergify[bot] wants to merge 18 commits into
Conversation
…e read The compiled scheduler settled combinational logic after every pass of the process phase and after the NBA region, as the reference loop does. Since #1811 it skips a settle whose inputs did not change, but the settle after a domain's commit ran in every slot that fired one, though usually only the host reads its results, at the end of the run. Such a settle now stays pending (the dirty flag stays set) until something observes it, and runs at the point the reference ran it last, so every observer sees the reference's values: - the host: before the run returns at its limit or after a clock overflow, which ends a complete slot; - a kernel that loads storage combinational logic writes, or may end the run in the middle of a slot ($finish, an error): before the slot it is due in, or, for a waiting kernel, which may wake in any pass, before every slot and pass; every kernel once a constant delay may overflow, as the run then returns in the middle of the slot; - a domain that may end the run, or reads combinational outputs without fused units: before it evaluates; slots that fire several domains whose units observe it: before their units; - a domain that reads combinational outputs and has fused units (Veryl): the fused units compute what it reads, then evaluate and apply. Combinational logic with effects of its own or that may fail keeps every settle where the reference has it. The waits the scheduler checks never watch combinational outputs, which a debug assertion now states. Change-Id: I5aa9c77efe9277bde745a55de530c352804f875e
A kernel of a program instance names the status slot of the instance's first kernel (ProcessSlots::program). Such kernels start, wake and resume in the Reactive region, a #0 resumes them in the Re-Inactive region, and their nonblocking updates take effect in the Re-NBA region (IEEE 1800-2023 4.4.2.6-4.4.2.8, 24.3.1). The reactive region set runs once the active region set is empty and returns to the active region set for the design activity it creates (4.5). ProcessStatus::Exit ends every kernel of the calling program instance (24.7), and the implicit $finish fires once every program kernel has ended (24.3). Program kernels run on the reference scheduler. Designs without programs schedule as before. BREAKING CHANGE: ProcessSlots gains `program`, ProcessStatus gains `Exit`, ProcessState and ScheduleKey gain the reactive, re-inactive and Re-NBA queues, and the native image container format is now 35. Change-Id: I6c899de1f0d5e8ca722733a53655ee80e3c988b8
…ptimization Merged native optimization could drop one-hot LFSR state contributions when a padded unpacked scratch array was large, and store coalescing could move an earlier write past an overlapping overwrite. Preserve padded element boundaries at every array size and element width, and stop coalescing across overlapping writes and memory barriers while retaining disjoint-write optimization. Add shared regressions for function scratch arrays and partial overwrites, plus Native coverage of 58/65/129-bit elements in two/four-state modes at O0/O1/O2. Validation on master bd4fb45: - SIR optimizer: 468 tests and one doctest pass; one existing ignored test. - Full SV suite: 4,495 pass, 20 existing ignored, including Native widths 58/65/129 x two/four-state x O0/O1/O2. - Six storage/function consumer suites: 240 pass, six existing ignored. - Affected library/integration clippy checks (-D warnings), formatting and diff checks pass. - Both unchanged shared regressions were independently checked with Verilator and Icarus. Upstream evidence on base 48f908e: all 38 original Taxi LFSR configurations pass at O1/two-state, including the formerly incorrect scrambler and descrambler. A separate pre-existing 65-bit Wasm probe is outside this fix; the portable 58-bit regressions pass. Latest full-stack integration verification on master d34520d: - Full SV suite: 4,571 pass, 20 existing ignored. - Analyzer/frontend units: 802 pass, three existing ignored; two doctests pass. - Affected frontend/analyzer/Celox clippy checks (-D warnings), formatting and report-gate tests pass. CI follow-up validation: the false-loop suite passes all 25 tests. The reviewed disjoint-store coalescing snapshot is updated, and its fixed-point output is checked for all eight inputs; the snapshot test also passes independently on this stack member. Change-Id: I3a2eb46f622ccb63fe784ab98a9803a2858c14f7
Change-Id: Id8090c5cbb732e2b632d7d0acb1cec6fe918ff2c
Simulation's builder gets compile_native, which returns a NativeCompilation<Simulation> whose image carries the process kernels and the compiled scheduler, and build_native_from_image, which starts a timed simulation of such an image without code generation. A differential simulation loads a second copy of the image for its reference-loop shadow. Simulation::advance_to runs the slots before a time and stops there, so a host can act at the start of that slot. NativeProgramInstance now fails to attach an image with process kernels, as every Simulator loader already does. Part of #1730 Change-Id: I94db5d6a6ee51fd7059303f78a0c7b8cadd9312c
…e does A deferred settle merges the settles it replaces into one, which is only equivalent when a settle is a function of its inputs. Combinational logic that keeps state between settles is not: a latch keeps what it captured while open, and the guarded units of `always @*` and similar processes run on a change of their inputs since their last activation, so a latch opened and closed between two observers, or inputs that changed and changed back, gave other results than the reference's. Combinational logic now settles lazily only when no settle reads what an earlier one left: every load of storage it writes is covered, on every path, by stores earlier in the same settle. Guarded units load their snapshots first, and feedback reads the previous value, so designs with either keep every settle where the reference has it, skipping only those whose inputs did not change. Change-Id: I568c6d92c6fa2c2b1a1fb64ffccfe1a3151aab5b
build_native_from_image and NativeCompilation<Simulation>::initialize now make the packed-array check of the untimed native loader, through one shared validate_native_vcd_layout: an image compiled without VCD cannot record element-strided unpacked arrays. Change-Id: I4d968bb5136d9fe772ec0afedb8f648161900f3a
Change-Id: I99da4b4abb1f9113e2e89fa9cbe3bb0ea9a06b0b
Change-Id: I34c27f4234479a98dd5a1f2e45826759af799672
Change-Id: Ibcbf8e2b9f1a510006e52d7d3a26fed166f30bae
This was referenced Oct 24, 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 pedantic-cantadou-zwhhnp of the
changesqueue, to test #1926, #1896 and #1930 before they merge intomaster.What this draft tests
Mergify checks that #1926, #1896 and #1930 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat05500404b7122bThe check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🕵️ Where it stands: failed, splitting the batch
The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.
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 4 pull requests ahead, so a failure here can come from them as much as from #1926 + #1896 + #1930. 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.
Metadata 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/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlecheck-success = @github-actions/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/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)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: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-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 6c034334bbd0428ea0f44cf1f5446538["pedantic-cantadou-zwhhnp<br/>#1926 + #1896 + #1930<br/>scopes: core"] 6c55af934209455398f3256e644b5355["exclusive-munster-f88hf9<br/>#1934<br/>scopes: core"] 6c034334bbd0428ea0f44cf1f5446538 --> 6c55af934209455398f3256e644b5355 style 6c034334bbd0428ea0f44cf1f5446538 fill:#6366f1,color:#fff