Repository navigation
merge queue: checking #1829 on master (8a85460) - #2338
Closed
mergify[bot] wants to merge 7 commits into
Closed
mergify[bot] wants to merge 7 commits into
mergify[bot] wants to merge 7 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
changesqueue, to test #1829 before it merges intomaster. 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:masterat8a85460🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-success = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-skipped = @github-actions/Queue validationRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-skipped = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-success = @github-actions/Queue validation