System simulation control tasks |
LRM §14.4. |
System simulation control tasks control the simulation.
$finish [ (n) ]; $stop [ (n) ] n = 0 | 1 | 2
$finish finishes a simulation and exits the simulation process. If an argument is supplied, diagnostic messages are printed as follows:
$stop suspends the simulation. The argument determines the type of diagnostic messages produced. 0 gives the least amount, 2 gives the most amount of output.
$finish(2); $stop;