Skip to content

merge queue: checking #1783 + #1776 together on master (672971c), stacked on #1777 - #1790

Closed
mergify[bot] wants to merge 12 commits into
masterfrom
mergify/merge-queue/156806f7b8
Closed

mergify[bot] wants to merge 12 commits into
masterfrom
mergify/merge-queue/156806f7b8

Conversation

@mergify

@mergify mergify Bot commented Oct 23, 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 genial-chou-zlfoi7 of the changes queue, to test #1783 and #1776 before they merge into master.

What this draft tests

Mergify checks that #1783 and #1776 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 672971c
  2. the pull request queued ahead of this batch, listed below, which brings the tip to c473ebc
  3. #1783 + #1776, 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: closed

Pull request #1777 ahead in the queue was removed (reason: checks failed).

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #1783 and #1776 are still in the queue.

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 #1783 + #1776. 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.

  • #1777 — shares the scope core
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: c473ebcd34054a70b0e3caecaf7cfbe57d760c3f
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1783
    scopes:
      - core
  - number: 1776
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-success = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule 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 title
  • 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/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/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 12 commits October 23, 2026 06:48
`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
Timed designs get hidden `$scheduler.*` variables on the top module:
the limit, current time, exit code and argument, current kernel,
start-of-slot levels, finish flag, settle continuation and slot count
of a run, and a wake time and waiting flag per process kernel. RuntimeSchema::scheduler (and ScheduleModel::scheduler) carries
them with the index of a generated scheduler unit and why each kernel
falls back. State files leave the slots out; the native image carries
the schema, accepts the extra process unit, and moves to format 29.

BREAKING CHANGE: RuntimeSchema and ScheduleModel have a new field,
`scheduler`. Native images use container format 29; images written by
earlier versions must be rebuilt.

Change-Id: Ia8fd6db4be840280b8e1b964521f291af2419c8e
Drop the rule for testbench reads after a process's own writes and the
note on rst.assert: this page defines only `$tb::clock_gen` and
`clk.next`.

Change-Id: I53597f755035ab02363ba24b8d3e5f6c2f15aa8d
A timed simulation now generates one SIR process unit that runs the
time slots of kernels that only delay by constants: it takes the
earliest wake time, publishes the time, runs the due kernels in kernel
order, settles, runs the domain whose edge they gave (eval_apply) or
several domains (eval_only each, then apply each) and settles again,
exactly as the reference loop does for such a slot. It inlines the
units the reference loop calls; nothing in the backends changes.

SimulationState::run_until hands a stretch of slots to the unit when
nothing else is pending (no waiting or ready process, no queued NBA, no
host change, no scheduled event or other kernel's wakeup before it) and
takes the wake times back. Any other slot, and every design or kernel
that does not qualify, runs in the reference loop as before; the
reasons are in scheduler_stats. A run that ends in the middle of a slot
(a finish, a delay overflow, an error) leaves the reference's state:
the kernel that ended it is filed nowhere, kernels due then that did
not run are ready, and the slot's edge baseline is restored. Backends
that run the unit slower than the loop (the interpreter, the tiered
backend before it adopts generated code) keep the reference loop. SchedulerMode::Compiled is the default;
SchedulerMode::DifferentialRuns checks multi-slot runs against the
shadow.

BREAKING CHANGE: SchedulerMode defaults to Compiled and has a new
variant, DifferentialRuns; KernelSchedule::Reference holds a String.

Change-Id: I33705e908c95b460326c670c2ab9c74a90c68449
In differential modes the suite harness reports, per case, whether it
ran compiled slots and why none was checked. A snapshot records how the
compiled scheduler runs the kernels of every timed case. run_to_finish
runs run_until stretches, so compiled slots also reach a finish.

Change-Id: I6a7cd1e638c23aca36a5489606133b792aa66543
Variant d clocks the registers from always #5 clk = ~clk alone. A third
argument selects the scheduler, a fourth the backend, and the run
prints its stats.

Change-Id: I62dc870c9cfec474addfd69220d5e04b27e49e99
A domain whose blocking results are observed (active_commits) committed
them in the active region only when a zero delay was pending. In an
ordinary round the process phase returned once the active region was
empty and the domain published its blocking and nonblocking results
together, so a process the blocking write woke ran after the edge's
nonblocking updates (IEEE 1800-2023 4.5).

When nothing is ready or inactive and a marked trigger evaluates such a
domain, the process phase now evaluates it before the NBA region as it
does before an inactive region: the processes its blocking results wake
run in the active region, and the nonblocking results publish with the
NBA region. Fixes #1721.

Change-Id: I620f6bf29af4d7d5cba5e1782aa6ef7fb6d3eb1b
…dates

Change-Id: I076b9f122c74f6ba75e8e635c8643c981cb88b2b
The `Simulator` table no longer carries `#1` delays. Each host call is one
time slot of the IEEE 1800 simulation, the table gives the statement of
that slot, and a tick is two slots. A note keeps the single-process form
with one precision unit of delay for running the sequence on a
SystemVerilog simulator.

Add the host reset idiom, a section on clocks with a frequency ratio
(`edges` or the timed `Simulation`; a tick cannot express the phase), and
the definitions of `$tb::reset_gen` and `rst.assert(n)`: the net starts
deasserted, the assertion is a blocking write, the level is held for `n`
periods and released at the phase at which `next` resumes.

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