Skip to content

merge queue: checking #1726 on master (22d68c3) - #1774

Closed
mergify[bot] wants to merge 10 commits into
masterfrom
mergify/merge-queue/f8e958d05c
Closed

mergify[bot] wants to merge 10 commits into
masterfrom
mergify/merge-queue/f8e958d05c

Conversation

@mergify

@mergify mergify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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 changes queue, to test #1726 before it merges into master. 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:

  1. master at 22d68c3
  2. #1726, the pull request of this batch

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Mergify merges #1726 into master and closes this draft.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 22d68c3c1ca8db7b3541d7305eb31fddd806f765
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1726
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • 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)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
Required conditions to stay in the queue
Queue 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
Loading

tignear and others added 10 commits October 23, 2026 05:36
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
@mergify mergify Bot closed this Oct 22, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/f8e958d05c branch October 22, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant