Skip to content

merge queue: checking #1829 on master (8a85460) - #2338

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

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

Conversation

@mergify

@mergify mergify Bot commented Oct 27, 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 consistent-gaufre-yj64pd of the changes queue, to test #1829 before it merges into master. Pushing to this branch or closing this pull request removes #1829 from the queue.

What this draft tests

Mergify checks that #1829 still passes CI on top of master. CI runs on this draft's code, built in this order:

  1. master at 8a85460
  2. #1829, the pull request of this batch

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Mergify merges #1829 into master and closes this draft.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 8a8546038ea7eb1afb0cb79ff1f4f684b28c4fc6
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1829
    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/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/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
Required conditions to stay in the queue

tignear and others added 7 commits October 25, 2026 19:24
An event control item `expr iff condition` in a process (IEEE 1800-2023
9.4.2.3) is an event only if the condition is a known 1 when the
occurrence happens; an occurrence while it is false is consumed, and the
wait does not watch the condition's operands. A plain always whose event
has iff runs as a process; always_ff keeps rejecting iff (#452).

The condition becomes the term's gate: a one-bit module variable, or the
hidden $event[k] assignment of its truth value with process-local
operands sampled before the process suspends.

- When the term's signal and its gate are variables, every write of the
  signal judges the gate at the write and bumps per-term counters: SIR
  instrumentation of process kernels and imperative combinational
  processes (which keep their procedural order), process nonblocking
  updates in issue order, scheduled and add_clock edges, and host
  writes. Raw host writes are counted from the wait's baseline when the
  host notes them; every piece of this state lives in the wait baselines
  and the counters, which checkpoints and state files keep.
- Other gates, and signals a flip-flop domain (#1830) or a continuous
  assignment writes, are judged when the runtime detects the occurrence,
  after combinational logic settled.
- Kernels whose waits have iff conditions stay out of compiled slots.
- Designs without iff run the previous wait check unchanged.

Closes #1444.

BREAKING CHANGE: celox_design::WaitSite has a new public field `gates`
(Vec<Option<WaitGate>>) and celox_design::schedule::TermModel a new field
`gate`; celox_runtime::timing::Baseline and celox_runtime::BaselineRecord
have a new variant `Gated` (state-file baseline tag 2, which older builds
reject).

Change-Id: I59402e1356cac2aaf254082d1feef6348380447a
Timing cases for conditions judged at the write, nonblocking update order,
combinational process order, consumed occurrences, automatic task
arguments, unknown conditions and plain always procedures; Rust tests for
scheduled clocks, host pulses, raw edges and state-file and checkpoint
round trips between host writes. Icarus 13.0 rejects iff in event
controls; Verilator 5.052 judges the condition late (excluded with
probes).

Change-Id: I47afd3cfa65b0ee5c7568f84d2f67cff0530bae9
Change-Id: Ifdd7058d940a9394fb51d7121382b87c5d31f723
Merge master 8a85460 into the existing iff event-control PR. Preserve combinational writer order after hierarchical binding, resolve gates through activation kernels and shared automatic cells, and retain the current batched watch instrumentation.

Validated: full SV 6178 passed plus one new cross-backend fork/state-file regression; affected crate units 1005 passed; API/state regressions 107 passed; NAPI/JS 435 passed; Clippy and formatting; upstream event_conditional in both states; external Icarus/Verilator and installed xezim probes with strict retained evidence. The current pinned xezim Nix build is unavailable due to its dependency lock.
Change-Id: I83ccf80ceaca2d6131834c7496ccbcf370b7107b
Record whether both iff operands are plain variables independently of global gate counters. Automatic clock pulses with module-level gates now observe each assignment; continuous and expression operands still wait for settling.

The new regression failed on all six configurations before the fix and passes afterward. Full SV: 6185 passed; Clippy, NAPI/JS435 and retained evidence checks passed. Standalone external Top/Wrapped results retain the exact unsupported/disagreement outcomes.

Change-Id: I5cf7b95d7a66a1bd4d30777197678472381c5ed7
Reject unobserved function writes to direct activation-local gated-wait operands, matching the existing event-probe restriction. Replay tracked host pulses against the waiting activation gate when no gate counter preserves them; retain false-gate baseline updates.

Both new regressions failed before the fix. Final timing regressions: 1277 passed, including interpreter/native/Cranelift/Wasm host pulses and state-file replay; Clippy and NAPI/JS435 passed. Shared language fixtures are unchanged.

Change-Id: I8f5f03c395769d784bb92da31af6ab91c72220b8
@mergify mergify Bot closed this Oct 27, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/d7ae6defb8 branch October 27, 2026 23:23
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