how to get $finish to give ncsim a non-zero exit code?

Status
Not open for further replies.

LawrenceC

Newbie level 1
Joined
Sep 27, 2013
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Activity points
0
How do we get ncsim to exit with a bad error code (non-zero value) if a run time failure occurs? For instance, I was hoping that I could do something like $finish (100), and then after I run ncsim, doing echo $status would return 100.

Even when I try `uvm_error, ncsim gives a FATAL message, but the simulator exits with a graceful 0.

Am I destined to have to post process my log for "ERROR|FATAL"?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…