Repository navigation
merge queue: checking #1783 + #1776 together on master (672971c) - #1793
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
`Simulator::tick` was the event's active edge only, with the signal left unchanged, so domains of the opposite edge and clocks derived from it never ran on a tick. A tick is now one clock period of the event's signal, the SystemVerilog `s <= A; #H; s <= I; #L;`: the active edge, then the inactive edge, running every domain sensitive to either and leaving the signal at its inactive level. A signal already at the active level takes no active edge. `tick_events` makes the edges of several events together, the N-API and WASM ticks follow the same definition, and `Simulator::cycle`, which did this already, is removed. `$tb::clock_gen` instances in Veryl testbenches now run from time 0 whether or not a process waits on them, as the generated SystemVerilog does. Before, a clock advanced only while some process was in its `next()`. `next(n)` runs n periods of the clock. The new execution semantics guide describes the host API as a whole. BREAKING CHANGE: `Simulator::tick` and `tick_events` also take the inactive edge, so domains of the opposite edge now run and the event's signal ends at its inactive level. A negative-edge clock that starts at 0 takes no edge on its first tick. `Simulator::cycle` is removed; use `Simulator::tick`. Every `$tb::clock_gen` in a Veryl testbench runs all the time, so counters on clocks other than the one being waited on keep counting. Change-Id: I90587af4533d71983b1b43a06fde072de10446a8
Drop the rule for testbench reads after a process's own writes and the note on rst.assert: this page defines only `$tb::clock_gen` and `clk.next`. Change-Id: I53597f755035ab02363ba24b8d3e5f6c2f15aa8d
A domain whose blocking results are observed (active_commits) committed them in the active region only when a zero delay was pending. In an ordinary round the process phase returned once the active region was empty and the domain published its blocking and nonblocking results together, so a process the blocking write woke ran after the edge's nonblocking updates (IEEE 1800-2023 4.5). When nothing is ready or inactive and a marked trigger evaluates such a domain, the process phase now evaluates it before the NBA region as it does before an inactive region: the processes its blocking results wake run in the active region, and the nonblocking results publish with the NBA region. Fixes #1721. Change-Id: I620f6bf29af4d7d5cba5e1782aa6ef7fb6d3eb1b
…dates Change-Id: I076b9f122c74f6ba75e8e635c8643c981cb88b2b
The `Simulator` table no longer carries `#1` delays. Each host call is one time slot of the IEEE 1800 simulation, the table gives the statement of that slot, and a tick is two slots. A note keeps the single-process form with one precision unit of delay for running the sequence on a SystemVerilog simulator. Add the host reset idiom, a section on clocks with a frequency ratio (`edges` or the timed `Simulation`; a tick cannot express the phase), and the definitions of `$tb::reset_gen` and `rst.assert(n)`: the net starts deasserted, the assertion is a blocking write, the level is held for `n` periods and released at the phase at which `next` resumes. Change-Id: Iae8d1d32a0b11453e6ce4a4e19a06c5a0e70742a
This was referenced Oct 23, 2026
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 generous-cassis-6wqryo of the
changesqueue, to test #1783 and #1776 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #1783 and #1776 still pass CI on top of
master. CI runs on this draft's code, built in this order:masterat672971c🎉 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/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 f00664ddcd8a4e4eb45b9cabcabf829e["generous-cassis-6wqryo<br/>#1783 + #1776<br/>scopes: core"] f3f11327af45439bb9b90f4186216306["marvelous-religieuse-lbeeov<br/>#1791<br/>scopes: core"] f00664ddcd8a4e4eb45b9cabcabf829e --> f3f11327af45439bb9b90f4186216306 style f00664ddcd8a4e4eb45b9cabcabf829e fill:#6366f1,color:#fff