is there a way in which i can hold the assertion failure reporting for some time,the scenario is as soon as my assertion failed i need to start 1 particular sequence and that sequence will start based on the event emitted after assertion failure,but what has happened is once assertion failed i can see event emmited but simulation ends and am not able to run my sequence
*In reply to abhijain:*is there a way in which i can hold the assertion failure reporting for some time,the scenario is as soon as my assertion failed i need to start 1 particular sequence and that sequence will start based on the event emitted after assertion failure,but what has happened is once assertion failed i can see event emmited but simulation ends and am not able to run my sequence [/quote]
Few points:
When an assertion fails, you can set a flag in the testbench, e/g/.
bit flag;
ap: assert property(some_property) else flag <= 1'b1;
Stopping the simulator depends upon the severity level you put in the action block.
The severity levels can be specified by one of the following severity system tasks. The syntax for the severity message task is: