User guide
D-5
Compiler Directives and System Tasks
‘ifndef
Specifies compiling the source code that follows if the specified
text macro is not defined. See IEEE Std 1364-2001 page 353.
Syntax:
‘ifndef text_macro_name group_of_lines
`undef
Undefines a macro definition. See IEEE Std 1364-2001 page 351.
Syntax:
‘undef text_macro_name
Compiler Directives for Detecting Race Conditions
‘race
Specifies the beginning of a region in your source code where you
want VCS to look for race conditions when you include the -
Xrace=0x1 compile time option. See “The Dynamic Race
Detection Tool” on page 11-2.
‘endrace
Specifies the end of a region in your source code where you want
VCS to look for race conditions.
Compiler Directives for Delays
`delay_mode_path
Ignores the delay specifications on all gates and switches in all
those modules under this compiler directive that contain specify
blocks. Uses only the module path delays and the delay
specifications on continuous assignments. Syntax:
‘delay_mode_path