Skip to content

merge queue: checking #1776 + #1758 together on master (d7bb5a3) - #1779

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/74d18732e9
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/74d18732e9

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 plucky-fougasse-b5fp69 of the changes queue, to test #1776 and #1758 before they merge into master.

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:

  1. master at d7bb5a3
  2. #1776 + #1758, the pull requests of this batch, tested together as one tip

✨ Where it stands: closed

Pull request #1776 has been dequeued by @tignear with a dequeue command.

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #1758 is still in the queue.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: d7bb5a329ba6d9d14c5cf05ba5c854f6b5053d37
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1776
    scopes:
      - core
  - number: 1758
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
Required conditions to stay in the queue

tignear and others added 4 commits October 23, 2026 06:10
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
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