User guide
D-3
Compiler Directives and System Tasks
Compiler Directives for Setting Defaults
`default_nettype
Sets default net type for implicit nets. See IEEE Std 1364-2001
page 350. Syntax:
‘default_nettype wire | tri | tri0 | wand | triand
| tri1 | wor | trior | trireg |none
`resetall
Resets all compiler directives. See IEEE 1364-2001 page 357.
Syntax:
‘resetall
Compiler Directives for Macros
`define
Defines a text macro. See IEEE Std 1364-2001 page 351. Syntax:
‘define text_macro_name macro_text
`else
Used with `ifdef. Specifies an alternative group of source code
lines that VCS compiles if the text macro specified with an ‘ifdef
compiler directive is not defined. See IEEE Std 1364-2001 page
353. Syntax:
‘else second_group_of_lines
‘elseif
Used with `ifdef. Specifies an alternative group of source code
lines that VCS compiles if the text macro specified with an ‘ifdef
compiler directive is not defined but the text macro specified with
this compiler directive is defined. See IEEE Std 1364-2001 page
353.Syntax:
‘elseif text_macro_name second_group_of_lines