Repository navigation
merge queue: checking #1777 on master (0f6042d), stacked on #1782 - #1804
Closed
mergify[bot] wants to merge 8 commits into
Closed
mergify[bot] wants to merge 8 commits into
mergify[bot] wants to merge 8 commits into
Conversation
A blocking, comb, always_ff or continuous write to a constant part-select partly outside the vector wrote nothing; it now writes the bits inside, taking the matching bits of the value (IEEE 1800-2023 11.5.1). A write wholly outside still has no effect, and a continuous one is no longer rejected as a run-time position. A run-time select within one array element whose position is known while the design is compiled, from a time-zero initial block or an unrolled loop, was folded to a constant position of the whole array and wrote into the neighbouring elements. Such a fold is kept only while it stays within the element. Verilator 5.052 writes these out-of-range bits; the three new cases join the existing part-select overhang exclusion. Icarus passes them. Fixes #1778 Change-Id: I85269ba41a9587ee1e8f159dde592f0ddb2061b6
Change-Id: I479256f5f43fad0f27b36f979226b3abed2cd284
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
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 test prints how the compiled scheduler runs the kernels of every timed case, requires the cases of generated clocks it targets to compile entirely and a floor on the compiled share. 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
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 accepted-canele-1xb89v of the
changesqueue, to test #1777 before it merges intomaster. 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:
masterat0f6042dbcf7ee5The 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
changesqueue in the dashboardWhat happens next
masterand closes this draft.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.
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/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]: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/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired 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-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]: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-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 30749b5cb1e94ed6886deb0da152745a["accepted-canele-1xb89v<br/>#1777<br/>scopes: core"] dc84bee8e00d4506887d6f0c278bf58c["moral-bourguignon-zddm20<br/>#1729<br/>scopes: core"] 30749b5cb1e94ed6886deb0da152745a --> dc84bee8e00d4506887d6f0c278bf58c style 30749b5cb1e94ed6886deb0da152745a fill:#6366f1,color:#fff