Repository navigation
merge queue: checking #1696 + #1724 together on master (22d68c3), stacked on #1726 - #1775
Closed
mergify[bot] wants to merge 14 commits into
Closed
mergify[bot] wants to merge 14 commits into
mergify[bot] wants to merge 14 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
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
This was referenced Oct 22, 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 ethical-foie-gfrq9k of the
changesqueue, to test #1696 and #1724 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 #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:
masterat22d68c374023e7The 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
changesqueue in the dashboardWhat happens next
masterand closes this draft.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 ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationdepends-on = celox-sim/celox#1696[⛓️ feat(sv): support static class members, super and base constructors #1696]master]: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:holddepends-on = celox-sim/celox#1696[⛓️ feat(sv): support static class members, super and base constructors #1696]base ~= ^(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 title