Repository navigation
feat(sim): expose four-state reads in timed simulations - #1454
Merged
Conversation
Add Simulation::get_four_state with the same value/mask representation and lazy combinational evaluation as Simulator::get_four_state. Synchronize finish requests raised during a read, as Simulation::get already does. Use the API in the timed SV test adapter and cover wide X/Z masks, known values, two-state mode, simulation time, and reads after finish. The two SV cases mentioned in #1446 still require procedural timing controls in the SV frontend (#88). They remain excluded for that independent reason; remove the obsolete four-state-read reason. Validation: - cargo fmt --all -- --check - cargo test --locked -p celox --features systemverilog --lib simulation:: (49 passed) - cargo test --locked -p celox --features systemverilog --test systemverilog timing:: (2 passed; existing exclusions retained) - cargo clippy --locked -p celox --features systemverilog --lib --test systemverilog -- -D warnings - Both referenced SV cases were also run explicitly: each fails at the existing frontend timing-control restriction (#88). Refs #1446 Change-Id: I30b4e36ebecb85ca685c32f8c6e68f9fe0a934df
Contributor
Author
|
This pull request is part of a Mergify stack:
|
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. |
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
Merge Queue Status
This pull request spent 25 minutes 7 seconds in the queue, including 23 minutes 21 seconds running CI. Required conditions to merge
|
43 of 73 tasks
mergify
Bot
deleted the
stack/tignear/feat/timed-simulation-backends/expose-four-state-reads-timed-simulations--30b4e36e
branch
October 18, 2026 01:19
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.
Add Simulation::get_four_state with the same value/mask representation and
lazy combinational evaluation as Simulator::get_four_state. Synchronize
finish requests raised during a read, as Simulation::get already does.
Use the API in the timed SV test adapter and cover wide X/Z masks, known
values, two-state mode, simulation time, and reads after finish.
The two SV cases mentioned in #1446 still require procedural timing controls
in the SV frontend (#88). They remain excluded for that independent reason;
remove the obsolete four-state-read reason.
Validation:
Refs #1446