Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

getting xrun to quit on error during simulation

$
0
0

We have a need for xrun to exit during the simulation step of our system verilog design when an error occurs. The error we want to exit on is generally from an assertion (*E,ASRTST) but also could be from a $error in the verilog. The solution seemed to be upgrading the error to a fatal using -xmfatal ASRTST, but this seems to only elevate errors that occur during compile or elaboration, but not in the simulate step. Are there any other methods of getting an error to cause the simulator to exit? the only other solution we've found is to change $error to $fatal, but this doesn't seem like a good long term solution as the code that will generate the error is not maintained by us.


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>