Skip to content

merge queue: checking #1777 on master (5734299), stacked on #1772 - #1788

Closed
mergify[bot] wants to merge 7 commits into
masterfrom
mergify/merge-queue/40d3d25a68
Closed

mergify[bot] wants to merge 7 commits into
masterfrom
mergify/merge-queue/40d3d25a68

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 olympic-chataigne-fx80ye of the changes queue, to test #1777 before it merges into master. Pushing to this branch or closing this pull request removes #1777 from the queue.

What this draft tests

Mergify checks that #1777 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at 5734299
  2. the pull request queued ahead of this batch, listed below, which brings the tip to cec0273
  3. #1777, the pull request of this batch

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

⏳ Where it stands: being checked

CI is running on this draft.

Waiting for

  • check-success = Queue validation
  • 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

Follow the changes queue in the dashboard

What happens next

  • Once the checks pass, every merge condition is met and the pull requests ahead have merged, Mergify merges #1777 into master and closes this draft.
  • If a check fails, Mergify removes #1777 from the queue and closes this draft.
  • If the checks have not finished after 3 hours (checks_timeout), Mergify removes #1777 from the queue 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 #1777. 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.

  • #1772 — shares the scope core
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: cec02733f348430ea7611ec9637ee2a754a9c160
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1777
    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/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • 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/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/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
    71ae6c5cc5a54df98d74df72a13dfa3c["inviting-poulet-d1i8po<br/>#1772<br/>scopes: core"]
    48ce4760b72345138680a29382ad5542["olympic-chataigne-fx80ye<br/>#1777<br/>scopes: core"]
    71ae6c5cc5a54df98d74df72a13dfa3c --> 48ce4760b72345138680a29382ad5542
    style 48ce4760b72345138680a29382ad5542 fill:#6366f1,color:#fff
Loading

tignear and others added 7 commits October 23, 2026 08:42
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
Connecting an untyped pattern such as .cfg('{8{'0}}) failed before the receiving
port's shape was available. Preserve caller values, keys and repetition counts
until the module or interface input type is specialized, then lower the pattern
in that assignment context.

Share assignment conversion between native typed and deferred patterns. Convert
two-state members individually, consume outer packed dimensions before struct
fields, and disambiguate name keys against the receiving shape. Retain nominal
aggregate operand types through conditionals and function calls before inlining.
Use one typed value representation for constant and runtime operands; preserve
source sign and type before folding and substitute stored aggregate constants.
This prevents default struct constants such as 8'h35 becoming 8'h55 and retains
signed extension and mixed-state members. Reject unsupported recursive defaults
for packed unions instead of concatenating their overlapping fields.

Allow assignment-compatible unpacked subarrays as explicit pattern items. Keep
the stricter type-matching rule for selecting whole defaults: IEEE 1800-2023
6.22.1(f) requires matching fixed-array bounds, and 10.9.1 uses matching types
there. Review r4354410020's proposed relaxation is not adopted; Slang independently
rejects its row[4:5] default for cfg[2][0:1]. Explicit differently bounded array
items remain accepted. Preliminary function signatures supply types and signs
for calls inside typed patterns.

Add eighteen shared cases covering specialization, caller scope, mixed states,
aggregates, interfaces, collisions, nominal identity, expressions and constants.
Add API rejection checks for incompatible subarrays, array-to-scalar items and
unsupported union defaults. The latest P1 reproduction fails on all five
backends against the published analyzer, returning 0x5555 instead of 0x3535.

Validation:
- Full SV: 4104 passed, 20 existing ignored across five backends.
- Analyzer: 791 passed, 3 existing ignored; frontend: 4 passed.
- Shared suite default-feature library: 30 passed.
- Relevant library/harness Clippy -D warnings, fmt and diff checks pass.
- Verilator passes the latest packed constant matrix, including signed extension,
  and the minimal literal case. The mixed-state adapter is unsupported and
  Verilator rejects valid unpacked constant rows. The mismatched-bounds case is
  rejected but classified as a compile error by the adapter. Earlier results
  include the distinct-struct default discrepancy and unpacked-item limits.
- Slang 12.0 corroborates the latest ordinary aggregates, literal values, mixed
  states, unpacked rows and rejection of mismatched default bounds. One signed
  struct pattern-initializer discrepancy remains recorded: it zero-extends a
  signed 0xf5 value. IEEE 7.2.1/10.9.1 and Verilator support sign extension.
- Icarus cannot compile the added pattern/interface cases. External limitations
  and disagreements are not passes; no exclusions or expectations were changed.
- Replayed all 20 formerly pattern-blocked Taxi configurations against the final
  implementation. The next blockers remain $size x9, interface handles x6,
  undriven net x4, non-integer override x1; none reaches cocotb. All 199 resolved
  SV sources match the original audit. No RTL, optimization or diagnostic-policy
  changes.

Change-Id: Icbecc7d790d68db2fa484738d78188f5afdbf442
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
@mergify mergify Bot closed this Oct 23, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/40d3d25a68 branch October 23, 2026 02:43
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