Skip to content

[rv_dm,dv] Weaken check_dmistat when we are in reset#29626

Open
rswarbrick wants to merge 1 commit intolowRISC:masterfrom
rswarbrick:weaken-check-dmistat
Open

[rv_dm,dv] Weaken check_dmistat when we are in reset#29626
rswarbrick wants to merge 1 commit intolowRISC:masterfrom
rswarbrick:weaken-check-dmistat

Conversation

@rswarbrick
Copy link
Copy Markdown
Contributor

This is needed in order that an injected reset doesn't cause the check in the sequence to fail. The code also gets a bit longer because it has a slightly more descriptive error message for a mismatch than the one you get from DV_CHECK_EQ (including using %02b to print the 2-bit numbers).

(This is an ancient DV cleanup from my "work" branch: I think it's still worth landing, so it gets its own PR)

This is needed in order that an injected reset doesn't cause the check
in the sequence to fail. The code also gets a bit longer because it
has a slightly more descriptive error message for a mismatch than the
one you get from DV_CHECK_EQ (including using %02b to print the 2-bit
numbers).

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick added Component:DV DV issue: testbench, test case, etc. IP:rv_dm labels Mar 30, 2026
@rswarbrick rswarbrick marked this pull request as ready for review March 30, 2026 17:11
@rswarbrick rswarbrick requested a review from a team as a code owner March 30, 2026 17:11
@rswarbrick rswarbrick requested review from eshapira and removed request for a team March 30, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component:DV DV issue: testbench, test case, etc. IP:rv_dm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants