Repository navigation
merge queue: checking #1913 + #1924 + #1923 together on master (0550040) - #1932
Closed
mergify[bot] wants to merge 7 commits into
Closed
mergify[bot] wants to merge 7 commits into
mergify[bot] wants to merge 7 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
…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
…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
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 pure-langres-duuhd9 of the
changesqueue, to test #1913, #1924 and #1923 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 #1913, #1924 and #1923 still pass CI on top of
master. CI runs on this draft's code, built in this order:masterat0550040🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.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 69e981fc183c4a498b53039ba6d1e9e3["pure-langres-duuhd9<br/>#1913 + #1924 + #1923<br/>scopes: core"] 7db32d842fc54f43a65323cd2fca7d3d["dynamic-nougat-2zpkea<br/>#1925<br/>scopes: core"] 6c034334bbd0428ea0f44cf1f5446538["pedantic-cantadou-zwhhnp<br/>#1926 + #1896 + #1930<br/>scopes: core"] 69e981fc183c4a498b53039ba6d1e9e3 --> 7db32d842fc54f43a65323cd2fca7d3d 7db32d842fc54f43a65323cd2fca7d3d --> 6c034334bbd0428ea0f44cf1f5446538 style 69e981fc183c4a498b53039ba6d1e9e3 fill:#6366f1,color:#fff