Repository navigation
feat(sv)!: support scope enum randomization - #1847
mergify[bot] merged 1 commit into
Conversation
|
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. |
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 22 minutes 41 seconds in the queue, with no time running CI. ReasonPull request #1847 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Requeued — the merge queue status continues in this comment ↓. |
11faea3 to
37ec478
Compare
01c7e9f to
9f68a03
Compare
Revision history
|
Merge Queue Status
This pull request spent 33 minutes 54 seconds in the queue, with no time running CI. ReasonPull request #1847 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Requeued — the merge queue status continues in this comment ↓. |
Support scalar enums in randomize(e) and std::randomize(e), selecting only declared values with unbiased rejection sampling from the process RNG. Preserve enum domains through aliases and local variables, allow mixed enum/integer arguments, and retain short-circuit evaluation and checkpoint replay. Add shared domain and evaluation-order regressions plus Celox checkpoint and forced-rejection tests. Document the observed Icarus 13.0 compile limitation and Verilator 5.052 enum-domain mismatch with narrowly scoped exclusions and reproduction evidence. Validation: analyzer 796 and frontend 4 unit tests; 708 system-function regressions; 4 forced-rejection backend tests; retained-report checks (3); NAPI build and JS tests (432); affected-crate Clippy, cargo fmt and diff checks. Both new shared cases were exercised with Icarus and Verilator; their failures are retained as the tool limitations described above. BREAKING CHANGE: The public celox-sv-analyzer SystemFunction enum gains ScopeRandomizeEnum; downstream exhaustive matches must handle this variant. Change-Id: I2e07aafc25d024b216ce17760324265e3719055d
9f68a03 to
490502b
Compare
37ec478 to
b9d5870
Compare
Merge Queue Status
This pull request spent 2 hours 42 minutes 47 seconds in the queue, with no time running CI. ReasonPull request #1847 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Requeued — the merge queue status continues in this comment ↓. |
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 1 hour 20 minutes 53 seconds in the queue, including 1 hour 52 seconds running CI. Required conditions to merge
|
Support scalar enums in randomize(e) and std::randomize(e), selecting only declared values with unbiased rejection sampling from the process RNG. Preserve enum domains through aliases and local variables, allow mixed enum/integer arguments, and retain short-circuit evaluation and checkpoint replay.
Add shared domain and evaluation-order regressions plus Celox checkpoint and forced-rejection tests. Document the observed Icarus 13.0 compile limitation and Verilator 5.052 enum-domain mismatch with narrowly scoped exclusions and reproduction evidence.
Validation: analyzer 796 and frontend 4 unit tests; 708 system-function regressions; 4 forced-rejection backend tests; retained-report checks (3); NAPI build and JS tests (432); affected-crate Clippy, cargo fmt and diff checks. Both new shared cases were exercised with Icarus and Verilator; their failures are retained as the tool limitations described above.
BREAKING CHANGE: The public celox-sv-analyzer SystemFunction enum gains ScopeRandomizeEnum; downstream exhaustive matches must handle this variant.
Depends-On: #1838