I'm writing assertions to detect a particular sequence occurrence. In case the sequence is not not true, I get prints in log for assertion failure. But I just want to check if sequence occurred or not. Is there any way to turn of these prints?
FYI: there is no uvm_error or uvm_fatal in the else part of the assertion
You want to use a
coverdirective in this case, not anassert. Acoverdirective only has a pass action and no fail action.If you had used an
elseclause in your assertion, you could have used$assertfailoff