Skip to content

[flash_ctrl,dv] Get flash_ctrl DV working better with Xcelium#28695

Merged
rswarbrick merged 2 commits intolowRISC:masterfrom
rswarbrick:flash-ctrl-xcelium
Mar 9, 2026
Merged

[flash_ctrl,dv] Get flash_ctrl DV working better with Xcelium#28695
rswarbrick merged 2 commits intolowRISC:masterfrom
rswarbrick:flash-ctrl-xcelium

Conversation

@rswarbrick
Copy link
Contributor

I spent some time looking at flash_ctrl DV when trying to figure out a problem with #28581. Since I'm much more competent with Simvision than Verdi, I spent a few minutes getting things to work with Xcelium. Fortunately it wasn't hard!

@rswarbrick rswarbrick requested a review from a team as a code owner November 9, 2025 21:40
@rswarbrick rswarbrick requested review from eshapira and removed request for a team November 9, 2025 21:40
@rswarbrick rswarbrick added Component:DV DV issue: testbench, test case, etc. IP:flash_ctrl labels Nov 9, 2025
Copy link
Contributor

@gautschimi gautschimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks!

Copy link
Contributor

@gautschimi gautschimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks!

Copy link
Contributor

@vogelpi vogelpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rswarbrick for you work on this and thanks @gautschimi for your review.

@vogelpi
Copy link
Contributor

vogelpi commented Mar 6, 2026

@rswarbrick would you mind rebasing this and rerunning CI before merging please? I noticed that this PR is quite old.

The previous version of the line causes *E,WOUPXR with Xcelium
24.03-s007 (the version I just tried). I'm not entirely sure why: the
error message is described on the Cadence support site as complaining
if you use a queue or array in a context that expects a boolean.

This trivial workaround seems to sort things out.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
Because dv_base_test defaults to max_quit_count=1, the test would have
died on the first mismatch before. It's pretty easy to just print the
first few and to print the number of mismatches, so let's do that.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick force-pushed the flash-ctrl-xcelium branch from e48b858 to 8eb40af Compare March 9, 2026 17:35
@rswarbrick
Copy link
Contributor Author

I've just rebased this. I dropped the final commit, because there's a nicer version of the same change in a separate PR (#29330). Let's land that through that PR.

@rswarbrick rswarbrick added this pull request to the merge queue Mar 9, 2026
Merged via the queue into lowRISC:master with commit a72a413 Mar 9, 2026
45 of 46 checks passed
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:flash_ctrl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants