Skip to content

merge queue: checking #1696 + #1724 together on master (22d68c3), stacked on #1726 - #1775

Closed
mergify[bot] wants to merge 14 commits into
masterfrom
mergify/merge-queue/2145378953
Closed

mergify[bot] wants to merge 14 commits into
masterfrom
mergify/merge-queue/2145378953

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 ethical-foie-gfrq9k of the changes queue, to test #1696 and #1724 before they merge into master. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #1696 and #1724 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:

  1. master at 22d68c3
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 74023e7
  3. #1696 + #1724, the pull requests of this batch, tested together as one tip

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #1696 and #1724 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #1696 + #1724. See only this batch's changes.

Queued ahead of this batch

This pull request entered the queue before this batch and is not part of it.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 74023e7782819795d8b651b6eb0687e18617fd60
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1696
    scopes:
      - core
  - number: 1724
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1696 [⛓️ feat(sv): support static class members, super and base constructors #1696]
  • 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

tignear and others added 14 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
Classes may now extend a class that has a constructor, call members of
their base through `super`, and declare static properties and methods
(IEEE 1800-2023 8.9, 8.10, 8.15, 8.17, 8.23).

- A `new` expression allocates the object and passes it to the
  constructor `C::new(this, args)`, which only initializes it: it calls
  the base constructor with the arguments of a leading `super.new(...)`
  or of `extends Base(...)`, runs the initializers of the properties
  its class declares, then its body. Constructors are no longer
  inherited, so a class without one gets an implicit constructor that
  calls its base.
- `super.m()` and `super.p` reach the members of the base through
  `this`. `C::new` creates an object of class `C`.
- A static property is a variable of the module that declares the class,
  initialized like other module variables, so each module instance has
  its own. `h.p`, `C::p` and unqualified names inside methods refer to
  it. A static method takes no `this` and may be called through a
  handle, as `C::m()` or unqualified inside the class; a static method
  that uses a non-static member is rejected.
- `C::name` with a class `C` is no longer looked up as a package item.
- `++` and `--` work on properties.

sv-tests: 8.7-constructor_super, 8.8-typed_constructor,
8.9-static_properties, 8.10-static_methods, 8.13-inheritance,
8.14-override_member, 8.15-super, 8.17-constructor_const_arg and
8.23-scope_resolution now pass in both state modes (509 / 511).
Icarus 13.0 cannot parse class scope resolution; its failure on the new
static-member case is recorded as a reviewed limitation.

Change-Id: I15a7dd1a41d0358f92163d3683ed46b3caa06f7a
…ss implementation

A virtual method gets a dispatcher subroutine that calls the override for
the class of `this` (IEEE 1800-2023 8.20); calls through handles and
unqualified calls inside methods go through it, `super.m` calls the base's
implementation directly. A call through `null` is a runtime error.

`virtual class` cannot be constructed and a class that is not abstract must
implement every pure virtual method (8.21). A class that `implements`
interface classes implements each of their methods with the same return
type, or re-declares it pure when it is abstract (8.26); the parser now
keeps the `implements` list.

Methods called on elements of arrays of class handles and `new` assigned to
such an element are bound with the element's class.

Change-Id: I1f9a009a084e52b208ecd286d6d89ebe23ac40fd
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