User guide

D-33
Compiler Directives and System Tasks
$finish
Ends simulation.
See IEEE std 1364-2001 page 301.
System Tasks for Timing Checks
$disable_warnings
Disables the display of timing violations but does not disable the
toggling of notifier registers. Syntax:
$disable_warnings[(module_instance,...)];
An alternative syntax is:
$disable_warnings("timing"[,module_instance,...]);
If you specify a module instance, this system task disables timing
violations for the specified instance and all instances
hierarchically under this instance.
If you omit module instances, this system task disables timing
violations throughout the design.
Code example:
$disable_warnings(seqdev1);
$enable_warnings
Re-enables the display of timing violations after the execution of
the $disable_warnings system task. This system task does
not enable timing violations during simulation when you used the
+no_tchk_msg compile-time option to disable them. Syntax:
$enable_warnings[(module_instance,...)];
An alternative syntax is: