Repository navigation
merge queue: checking #1805 on master (ce2c08d), stacked on #1818 - #1826
Closed
mergify[bot] wants to merge 5 commits into
Closed
mergify[bot] wants to merge 5 commits into
mergify[bot] wants to merge 5 commits into
Conversation
The compiled scheduler now also runs kernels whose every wait is the same single edge of a one-bit signal that one compiled delay-only kernel alone drives, whose statuses are Wait, Nba, Done or Finish, and whose nonblocking sites stage their values into targets nothing else writes. Such a kernel wakes at most once a slot, so a site is never staged again before the NBA region. A slot runs the ready kernels lowest first, tests the waits after each run while kernels remain ready or the kernel resumes at once, and again after each pass's settle, as the reference's process phase does; a wait compares against a baseline that follows every tested change. The ready set is a mask over the compiled kernels in kernel order. Staged values publish after the domains, or with a settle of their own without one. Waiting kernels move between Waiters and the scheduler's slots at each run, and a run that ends in the middle of a slot hands back the ready set and the baselines as the reference leaves them. Kernels that drive or wait for a clock whose domain commits blocking results in the active region keep the reference loop. BREAKING CHANGE: SchedulerSlots has new fields, `ready` and `baseline`. Native images use container format 30; images written by earlier versions must be rebuilt. Change-Id: Ib033a13b9ad213155c0ffca86c4e891fe61876b2
Periodic clocks from add_clock now run inside the compiled scheduler's loop when their event is a one-bit clock edge (not an asynchronous reset) that no design code writes, whose domain does not commit blocking results in the active region, and the queue holds exactly one periodic edge of the event's own signal. Every other scheduled event stays in the Rust queue and ends a compiled run before its time. A slot applies the clocks due at its time, in event order, before any kernel runs and tests the waits once after them; their edges start the slot's edges and chain with the kernels' writes into the domains. At the end of the slot each clock whose edge applied waits for its opposite level half a period later, with the extra unit of an odd period in the high phase; a next edge past the end of time fails the run as the reference does, after the clocks before it re-armed. Clock edges move between the event queue and the scheduler's clock slots at every run; a run that ends in the middle of a slot leaves the clocks that fired in it out of the queue, as the reference leaves them. A run that takes no clock skips the clock code of its slots behind one test of the armed mask. A kernel that waits for one edge also compiles when no design code writes its one-bit signal: a host clock, or an input the host writes between runs, changes in a compiled slot only at its start. State files list the queued events in the order they fire instead of the queue's internal order, which depends on the order of the pushes. BREAKING CHANGE: SchedulerSlots has new fields, `clock_next`, `clock_period`, `clock_value` and `clock_armed`; SchedulerSchema has `clocks` and SchedulerExit has `ClockOverflow`. Native images use container format 31; images written by earlier versions must be rebuilt. Change-Id: I3b7e4561ecbf897a5bf1f4e6d83dc5f3e2697311
…in functions as illegal An `event` declaration failed as "unsupported internal data type" before the named-event diagnostics could apply; it is now rejected as a named event. `disable fork` reported the generic "disable statement" and now names itself. A delay, event control or wait in a function was reported as unimplemented, but IEEE 1800-2023 13.4 forbids it, so it is now the TimingControlOutsideProcess language error. Fixes #1711 Change-Id: I6d3ffd65d3191266dea91d9e39afd879600c7f1c
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 informed-aneth-u1w015 of the
changesqueue, to test #1805 before it merges intomaster. Pushing to this branch or closing this pull request removes #1805 from the queue.What this draft tests
Mergify checks that #1805 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masteratce2c08d9d6ead7The 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 validationmaster]check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.checks_timeout), Mergify removes #1805 from the queue and 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 #1805. 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.
coreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)check-success = Conventional Commit titlemaster]: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 c58a5fcb07a44948a11897438c20e525["musical-langres-jqa14x<br/>#1818<br/>scopes: core"] 6b322d928064444495fe68b2a693e0f1["informed-aneth-u1w015<br/>#1805<br/>scopes: core"] c58a5fcb07a44948a11897438c20e525 --> 6b322d928064444495fe68b2a693e0f1 style 6b322d928064444495fe68b2a693e0f1 fill:#6366f1,color:#fff