Repository navigation
merge queue: checking #1776 + #1758 together on master (d7bb5a3) - #1779
Closed
mergify[bot] wants to merge 4 commits into
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
A variable of an interface class type holds a handle of an object whose class implements it; a method called through it runs the implementation of the object's class, including methods the interface class inherits from the interface classes it extends (IEEE 1800-2023 8.26). Each method of an interface class gets a dispatcher like a virtual method's. A handle may only be assigned to a variable of its class, a base class or an interface class it implements; any other assignment to a variable, a property or from `C::new` is rejected (8.16, 8.26.5). `$cast` to a class handle calls a subroutine generated for the destination class: it assigns a source that is `null` or whose object's class derives from or implements the class and returns 1, and otherwise returns 0, leaving the destination unchanged. Called as a task, a failing cast reports an error. A cast between classes that are not cast compatible fails without a call (8.16). Interface classes are now lowered; one whose methods use its own typedefs or type parameters is left without subroutines and rejected only where its handles are used. sv-tests: 8.26.5--cast_between_interface_classes now passes in both state modes (543 / 545). Verilator's failing interface-to-interface casts and inherited interface methods, and Icarus's missing $cast and interface classes, are recorded as limitations. BREAKING CHANGE: `AnalyzerError` has an `IncompatibleClassHandle` variant, and assignments of incompatible class handles that were accepted are now rejected. Change-Id: I1edcc030c35a6bec183c76b567cff49e1319a7e5
`Simulator::tick` was the event's active edge only, with the signal left unchanged, so domains of the opposite edge and clocks derived from it never ran on a tick. A tick is now one clock period of the event's signal, the SystemVerilog `s <= A; #H; s <= I; #L;`: the active edge, then the inactive edge, running every domain sensitive to either and leaving the signal at its inactive level. A signal already at the active level takes no active edge. `tick_events` makes the edges of several events together, the N-API and WASM ticks follow the same definition, and `Simulator::cycle`, which did this already, is removed. `$tb::clock_gen` instances in Veryl testbenches now run from time 0 whether or not a process waits on them, as the generated SystemVerilog does. Before, a clock advanced only while some process was in its `next()`. `next(n)` runs n periods of the clock. The new execution semantics guide describes the host API as a whole. BREAKING CHANGE: `Simulator::tick` and `tick_events` also take the inactive edge, so domains of the opposite edge now run and the event's signal ends at its inactive level. A negative-edge clock that starts at 0 takes no edge on its first tick. `Simulator::cycle` is removed; use `Simulator::tick`. Every `$tb::clock_gen` in a Veryl testbench runs all the time, so counters on clocks other than the one being waited on keep counting. Change-Id: I90587af4533d71983b1b43a06fde072de10446a8
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 plucky-fougasse-b5fp69 of the
changesqueue, to test #1776 and #1758 before they merge intomaster.What this draft tests
Mergify checks that #1776 and #1758 still pass CI on top of
master. CI runs on this draft's code, built in this order:masteratd7bb5a3✨ Where it stands: closed
Pull request #1776 has been dequeued by @tignear with a
dequeuecommand.Follow the
changesqueue in the dashboardWhat happens next
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)check-success = Conventional Commit titledepends-on = celox-sim/celox#1724[⛓️ feat(sv): support virtual methods, abstract classes and interface class implementation #1724]number != 1758master]: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-readydepends-on = celox-sim/celox#1724[⛓️ feat(sv): support virtual methods, abstract classes and interface class implementation #1724]number != 1758master]: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