User guide
D-2
Compiler Directives and System Tasks
Compiler Directives
Compiler directives are commands in the source code that specify
how VCS compiles the source code that follows them, both in the
source files that contain these compiler directives and in the
remaining source files that VCS subsequently compiles.
Compiler directives are not effective down the design hierarchy. A
compiler directive written above a module definition affects how VCS
compiles that module definition, but does not necessarily affect how
VCS compiles module definitions instantiated in that module
definition. If VCS has already compiled these lower-level module
definitions, it does not recompile them. If VCS has not yet compiled
these module definitions, the compiler directive does affect how VCS
compiles them.
Note:
Compile-time options override compiler directives.
Compiler Directives for Cell Definition
`celldefine
Specifies that the modules under this compiler directive be tagged
as “cell” for delay annotation. See IEEE Std 1364-2001 page 350.
Syntax:
‘celldefine
`endcelldefine
Disables `celldefine. See IEEE Std 1364-2001 page 350.
Syntax:
‘endcelldefine