Skip to content

merge queue: checking #1471 + #1459 together on master (d4a029c), stacked on #1469 - #1477

Closed
mergify[bot] wants to merge 10 commits into
masterfrom
mergify/merge-queue/3d7aeee68c
Closed

mergify[bot] wants to merge 10 commits into
masterfrom
mergify/merge-queue/3d7aeee68c

Conversation

@mergify

@mergify mergify Bot commented Oct 18, 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 automatic-pave-0ld8e9 of the changes queue, to test #1471 and #1459 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 #1471 and #1459 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 d4a029c
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 3e28e3c
  3. #1471 + #1459, 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 #1471 and #1459 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 #1471 + #1459. 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: 3e28e3cc73096b63105f4d98e632d028094ce819
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1471
    scopes:
      - core
  - number: 1459
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    a119cb9ef28c4c1cbd47d79a55153864["automatic-pave-0ld8e9<br/>#1471 + #1459<br/>scopes: core"]
    26096bea3a4a443ba0e50f9fc4fb2d63["panoramic-chutney-mnecyo<br/>#1467<br/>scopes: core"]
    8577b0c52446461683c1456693f3fcb6["adroit-quiche-kl7h9l<br/>#1414<br/>scopes: core"]
    a119cb9ef28c4c1cbd47d79a55153864 --> 26096bea3a4a443ba0e50f9fc4fb2d63
    26096bea3a4a443ba0e50f9fc4fb2d63 --> 8577b0c52446461683c1456693f3fcb6
    style a119cb9ef28c4c1cbd47d79a55153864 fill:#6366f1,color:#fff
Loading

tignear and others added 10 commits October 18, 2026 10:34
In a mixed design, SV referred to Veryl modules and interfaces by their Veryl
source names, while the Veryl emitter names them `<project>_<Name>` (or
`<Name>` with `omit_project_prefix`). SV written against the emitted code did
not link, and SV written for Celox did not build with other tools. SV now sees
Veryl declarations only by their emitted names: declaration contracts,
interface bindings and foreign roots use them, and the hierarchy linker maps
each emitted name back to its Veryl body instead of matching names, so an SV
module and an emitted Veryl name no longer shadow each other. An SV module
named like an emitted Veryl module is reported as a duplicate. A Veryl top is
still selected by its Veryl name, and instances keep Veryl module names.

Validation:
- cargo test -p celox -p celox-frontend-veryl --features celox/systemverilog --lib --test systemverilog
- cargo clippy -p celox -p celox-frontend-veryl --all-targets --features celox/systemverilog --no-deps
- cargo fmt --all -- --check
- New mixed tests cover a custom project prefix, omit_project_prefix,
  rejection of source names, and emitted-name collisions

BREAKING CHANGE: SV sources in a mixed design must instantiate Veryl modules
and interfaces by their emitted names, such as `prj_Child`, instead of `Child`.
parse_ir_with_external_hierarchy_and_native_modules takes a map from external
module names to Veryl module names instead of a name set.

Change-Id: Ib464695577c60ea747f010607b3bebf6671b2805
The analyzer keeps `#delay`, `@(event list)` and `wait (condition)` in
`initial` bodies as statements (`Delay`, `WaitEvent`, `Wait`) instead of
rejecting every procedural timing control. Event items keep their edge
(posedge, negedge, `edge`, any change); a `min:typ:max` delay uses its
typical value.

Fork-join, `wait fork`/`wait order`, named events and `->`, `iff`,
cycle delays, intra-assignment timing, `disable` and real delays stay
rejected under their own names; timing in `always` bodies and in
subroutines is rejected until those are lowered.

BREAKING CHANGE: `StmtBase` has the new variants `Delay`, `WaitEvent` and
`Wait`.

Change-Id: I030365a80c056b46e5768a1aa59b131031e5a970
An `initial` block with timing controls runs as a process kernel on the
timed runtime:

- `#d` suspends with an inactive delay: the amount is read as an
  unsigned 64-bit time, and as zero when it has an unknown bit.
- `@(...)` on whole variables declares a wait site whose terms are the
  variables with their edge kind; the runtime resumes the process at
  the first occurrence.
- `wait (condition)` checks the condition and waits on the variables it
  reads, including those read by the functions it calls.
- A kernel loop that may not suspend yields every 2^16 iterations, so a
  process that never suspends ends the step with the slot budget error.
- A `repeat` count that is negative or unknown runs a kernel loop zero
  times.

Event expressions other than whole variables are rejected for now.

Change-Id: Ic219e74bf093953bd4ded797946f343bc5e57dd3
Enable the 28 timing cases that initial processes now pass, give each
remaining exclusion its actual reason, and add cases for `edge` waits,
`min:typ:max` delays and long process loops, checked against Icarus and
Verilator.

The timed suite backend settles the current time before a read, an eval
and output collection, as the reference simulators' script adapters do.

Change-Id: Idabc095b34aefc665610c336d5a2f26632c8df5f
`11.11--min_max_avg_delay`, `9.4.1--delay_control` and
`9.4.3--event_sequence_controls` now elaborate. Simulated, they print
"Done" at time 200, set `a` to 1..4 at 10..40, and copy `b` into `a` at
20 after `enable` rises at 10.

Change-Id: I606c4785f3ea31ac2c640184e48ff43e50f48233
Change-Id: Ie8a00910036fd1305b3aea0c4e5b8aa2c0b1a14f
VCD headers labeled every timestamp as 1ns and VPI reported 1ps regardless
of the design. Carry the analyzer's global precision through symbolic modules
and assembly into the runtime design, and retain it in native images. Use it
for VCD headers and null-handle VPI queries, including restarted waveforms and
NAPI compiled-code cache hits. Retain local module units and precisions in
reflected scopes so module and signal VPI queries report their own scales
(IEEE 1800-2023 37.10 and 38.6), including after native-image reload.

Default Veryl and scale-free frontend ticks to 1ps, matching SV's default.
Update Playground VCD downloads and document the waveform compatibility
change. Bump the native image container to version 14 for the added metadata.

Validation:
- Precision regressions on native, Cranelift, Wasm, interpreter, tiered, and native/Cranelift parallel configurations; mixed-language designs, package precision, image roundtrips, and VCD restarts.
- Existing VCD and time-query regressions, Celox and affected frontend/runtime unit tests, VPI tests, Rust doctests, and the portable compiler configuration.
- Live cocotb attached-image integration.
- Rebuilt NAPI; simulator, simulation, checkpoint, e2e and timing-addon JS tests; cached-waveform precision regression.
- Playground waveform export test and TypeScript checks; formatting, Clippy, and Biome.

BREAKING CHANGE: Default VCD headers now use 1ps instead of 1ns. Recompile
native images for container version 14. SimModule and ElaboratedDesign struct
literals must provide the added timing metadata fields; ReflectionScope literals
must provide time_scale.

Fixes #1463

Change-Id: Ia5ff9cd5337ce608ea2f6fdd56fda0711d1a21bb
@mergify mergify Bot closed this Oct 18, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/3d7aeee68c branch October 18, 2026 03:30
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