Repository navigation
feat(sv)!: support bounded class randc randomization - #1959
Merged
mergify[bot] merged 1 commit intoOct 25, 2026
Conversation
Implement unconstrained randc for 1–8-bit two-state integers and scalar enums with up to 256 declared values. Draw uniformly without replacement using per-object, per-property cycle state, then start a new cycle once all values have been consumed. Preserve cycles across disabled modes, explicit member selection, aliases, inheritance and checkpoint restore. Reseeding changes the RNG without reintroducing consumed values. Add shared cycle/domain/control regressions, heap and checkpoint tests, and diagnostics for larger domains. Verilator passes the integer/direct-enum case; its inherited srandom compilation failure and enum alias mismatch, and Icarus's unsupported randomization methods, are recorded with narrow exclusions and reproduction evidence. Validation: analyzer 804 tests (3 existing ignores), frontend 6, heap 18, class regressions 198; NAPI build and JS tests 432; retained reports 4; affected crate/test Clippy, formatting and diff checks. Shared cases were exercised with Verilator and Icarus, with the limitations above retained. Rebased onto master and revalidated the class suite and retained-report checks. The optional xezim adapter was not run because xezim is not installed in this shell. BREAKING CHANGE: The public celox-sv-analyzer ObjectOp enum gains RandomCyclic; downstream exhaustive matches must handle this variant. Change-Id: I48859189cd57d25bb8c0df4773968b8e1534bf60
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 45 minutes 56 seconds in the queue, including 44 minutes 29 seconds running CI. Required conditions to merge
|
40 of 71 tasks
mergify
Bot
deleted the
stack/tignear/feat/sv-randc/support-bounded-class-randc-randomization--48859189
branch
October 25, 2026 05:30
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.
Implement unconstrained randc for 1–8-bit two-state integers and scalar enums with up to 256 declared values. Draw uniformly without replacement using per-object, per-property cycle state, then start a new cycle once all values have been consumed. Preserve cycles across disabled modes, explicit member selection, aliases, inheritance and checkpoint restore. Reseeding changes the RNG without reintroducing consumed values.
Add shared cycle/domain/control regressions, heap and checkpoint tests, and diagnostics for larger domains. Verilator passes the integer/direct-enum case; its inherited srandom compilation failure and enum alias mismatch, and Icarus's unsupported randomization methods, are recorded with narrow exclusions and reproduction evidence.
Validation: analyzer 804 tests (3 existing ignores), frontend 6, heap 18, class regressions 198; NAPI build and JS tests 432; retained reports 4; affected crate/test Clippy, formatting and diff checks. Shared cases were exercised with Verilator and Icarus, with the limitations above retained.
Rebased onto master and revalidated the class suite and retained-report checks. The optional xezim adapter was not run because xezim is not installed in this shell.
BREAKING CHANGE: The public celox-sv-analyzer ObjectOp enum gains RandomCyclic; downstream exhaustive matches must handle this variant.