Skip to content

Conversation

seldridge
Copy link
Member

Error, in Verilog, if an svsim simulator tries to enable waves in a simulation that wasn't compiled to support it.

Release Notes

Change svsim to error if a controller tries to enable waves in a simulation which wasn't compiled to support them.

@seldridge seldridge added the Bugfix Fixes a bug, will be included in release notes label Mar 12, 2025
@jackkoenig
Copy link
Contributor

Neat!

@seldridge seldridge force-pushed the dev/seldridge/svsim-error-if-waves-enabled-and-simulator-does-not-support branch from fef4aa4 to ef9a88e Compare March 12, 2025 20:30
Error, in Verilog, if an svsim simulator tries to enable waves in a
simulation that wasn't compiled to support it.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge force-pushed the dev/seldridge/svsim-error-if-waves-enabled-and-simulator-does-not-support branch from ef9a88e to 97a8b32 Compare March 12, 2025 23:04
@seldridge seldridge marked this pull request as ready for review March 12, 2025 23:57
@seldridge
Copy link
Member Author

I included a test, but only for Verilator. I was not able to make this work cleanly for both Verilator and VCS testing due to the architecture of svsim. The Scala compiler gets confused around the type of the backend settings and I wasn't able to massage it to make it work. I would like to punt this to when I can rework svsim to use a more standard Scala software architecture.

@seldridge seldridge requested a review from jackkoenig March 12, 2025 23:59
Copy link
Contributor

@jackkoenig jackkoenig left a comment

Choose a reason for hiding this comment

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

LGTM!

@seldridge seldridge merged commit d94ae23 into main Mar 13, 2025
15 checks passed
@seldridge seldridge deleted the dev/seldridge/svsim-error-if-waves-enabled-and-simulator-does-not-support branch March 13, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Fixes a bug, will be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants