Repository navigation
merge queue: checking #1726 on master (22d68c3) - #1774
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
A process waiting on a variable missed a value that one evaluation of an always_comb, a blocking edge-triggered always or an always_ff writes and then overwrites (`y = 0; if (a) y = 1;`). Each store is an update event (IEEE 1800-2023 4.3, 9.4.2), and nonblocking updates apply in the NBA region in issue order, each its own update (10.4.2). In a design with a wait: - An always_comb that may store a variable twice is lowered both symbolically and as a gated imperative unit. Assembly keeps the unit for an instance in which such a variable is counted, and the symbolic definitions otherwise. - A flip-flop evaluation that may write a signal twice keeps its first written value and counts the occurrences between later writes as pending; the commit adds the occurrence from the published value to the first one, and the pending ones. Staged nonblocking writes of a variable also written by blocking assignments are counted on the value the NBA merge publishes. - Commits of a counted signal written once are counted at the commit. Units that write no counted signal are unchanged, and a design without a wait lowers exactly as before. Fixes #1706 Change-Id: I6096fe2d13f0205b53fd8342c9057801a71c2465
Add timing cases for intermediate writes of always_comb, always @*, blocking edge-triggered always and always_ff bodies, for staged nonblocking writes, and for a pulse behind a child's output port. Verilator 5.052 sees only settled values, so the first three are excluded for it. Icarus 13.0 collapses the output port and counts the child's pulse, which 4.7 and 23.3.3 leave open; the port case asserts the settled count and is excluded for Icarus. Both exclusions keep standalone repros. Change-Id: Id2eb6d5daaefaa8604216f8cc543269a5716e59f
Replace the #1706 limitation in 'Event and level waits' with the behavior: every write of one evaluation is an update a waiter sees, nonblocking updates apply in issue order, and a child's output port shows only the settled value. Change-Id: Id7909b9972b7574eeabd8d5f1910df4ba47eb75b
Change-Id: Ie0a71ea46beca39a738c17cc203f752ea8173e2b
A flip-flop stream now applies each write to a private copy and marks the bits written so far. A write that changes covered bits is an occurrence; a write of uncovered bits compares at the commit with the value the commit publishes over, so a staged nonblocking update is judged against the final blocking value. Each commit releases only the bits it publishes and no unit clears the stream on entry, so the parts of a parallel build no longer wipe each other's held writes. An instance that keeps the imperative alternative of an always_comb removes only the symbolic paths of that process's target ranges, so other drivers of the same variables keep theirs. Change-Id: I93f3569cb5edb5ed981fda8bf33fdf3401e19d17
Three timing cases for the review findings on intermediate writes, verified with Icarus 13.0. Verilator 5.052 sees only final values and joins the existing sv_verilator_intermediate_writes exclusion, with standalone probes. Change-Id: I795ddad81bf28d02100c45a6c7d25fe358160fe3
Flattening may split the symbolic definition of a counted always_comb at the boundaries of its readers, so an instance that keeps the imperative unit now removes every path overlapping one of the process's target ranges, not only exact ones. Overlapping drivers are rejected earlier, so no other driver loses a path. A flip-flop unit starts the bits of a held stream that it seeds empty, or a whole staging value, which one process writes. An evaluation that a runtime error ended before its commit, and that the host continues, no longer leaves held writes for the next one, while the other parts of an evaluation keep theirs. Change-Id: If3d08166804161c395482b6534e6aa8238c0d971
A reader of some bits of a counted always_comb variable, and a counted output port connected to a concatenation. Icarus 13.0 and Verilator 5.052 both pass them. Change-Id: I5fb7bf6c32594eb3403a1a2eff64ec98257f1d35
A $fatal ends an always_ff evaluation after it wrote a watched variable and before its commit; the host continues, and later edges that rewrite the bit to its own value wake no waiter on every backend. Change-Id: Ia88c8150faf478de68e42a7a270684b3e881d240
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 open-pouletroti-tig0p5 of the
changesqueue, to test #1726 before it merges intomaster. Pushing to this branch or closing this pull request removes #1726 from the queue.What this draft tests
Mergify checks that #1726 still passes CI on top of
master. CI runs on this draft's code, built in this order:masterat22d68c3🎉 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 43c9860b9ca74dfdbdeebc062b80c43b["open-pouletroti-tig0p5<br/>#1726<br/>scopes: core"] 9c92d4b0bc9441d9b0a4316d3ef393ea["ethical-foie-gfrq9k<br/>#1696 + #1724<br/>scopes: core"] 43c9860b9ca74dfdbdeebc062b80c43b --> 9c92d4b0bc9441d9b0a4316d3ef393ea style 43c9860b9ca74dfdbdeebc062b80c43b fill:#6366f1,color:#fff