Repository navigation
docs(sv): document timing controls in processes - #1716
Merged
Merged
Conversation
Change-Id: I868d65d3f0f9527010f67146660ec5f9dd7025fb
Change-Id: I356155fb36b2b866435aee3872d4c67dda29963c
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
Merge Queue Status
This pull request spent 1 hour 29 minutes 25 seconds in the queue, including 1 hour 27 minutes 32 seconds running CI. Required conditions to merge
|
This was referenced Oct 22, 2026
This was referenced Oct 22, 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.
Part of #1123, step 4, PR 6. This closes step 4: docs and rejection tests for timing controls in SV processes.
Rejection tests (
crates/celox/tests/frontends/systemverilog/timing.rs)unimplemented_timing_features_are_rejectedpins the construct text and the tracking issue of each timing feature that is not implemented yet:iff(feat(sv): support iff-qualified event controls in processes #1444),fork/join/join_none, named events and->;a = #1 b,a <= #1 b,a = @(posedge c) b),wait fork,disable fork;waitand event expressions reading a static task argument, impure calls in event expressions, static locals in timed tasks;assign #1(feat(sv): support delayed continuous assignments #444).alwayswith expression, multi-bit or reset-less multi-edge events (SV: lower plain always with non-FF event forms as a process #1708);always @*(SV: timed task call from always @*, and package-scoped delay values #1710).event e;,disable fork, timing in a function.timing_controls_outside_suspendable_processes_are_rejectedcovers timing controls inalways_comb,always_ffand functions.Docs (English and Japanese)
systemverilog.md:SimulationvsSimulatorfor processes, linking Simulator silently ignores process kernels #1712;systemverilog-reference.md:#delay(including min:typ:max, time literals, X/Z as 0),@(...)(edges,edge, lists, selects, expressions, pure calls,@*),wait, and nonblocking assignments in the NBA region. It also says that a level-sensitivealways @(a or b)runs as a process, so aSimulatordoes not run it (Simulator silently ignores process kernels #1712).@*are unsupported is removed.a = 1; @(a ^ b);; Icarus differs);always_comb/ edgealways/always_ffevaluation are not seen yet (SV: waiters miss intermediate writes inside one comb/FF evaluation #1706), whilealways @*already sees them.LIMITATIONS
verification/sv/limitations.jsonrecords an Icarus or Verilator defect:sv_icarus_automatic_task_arrayssv_icarus_expression_event_samplesv_verilator_implicit_event_in_processsv_verilator_time_in_combinational_logic#[ignore]on timing cases remains.Validation
cargo test -p celox --features systemverilog --test systemverilog: 3650 passed.cargo fmt --check;cargo clippy -p celox --features systemverilog --tests -D warnings.pnpm docs:buildpasses, and the new anchors exist in both languages.