User guide

C-17
Compile-Time Options
Options for Debugging
-line
Enables source-level debugging tasks such as stepping through
the code, displaying the order in which VCS executed lines in your
code, and the last statement executed before simulation stopped.
Typically you enter this option with a +cli option.
For example: vcs +cli+1 -line
+cli+[module_identifier=]level_number
Enables command line interface (CLI) interactive debugging
commands. Using this option creates the Direct Access Interface
Directory, by default named simv.daidir, in the directory where
VCS creates the executable file. See “The Direct Access Interface
Directory” on page 3-7.
The level number enables more and more commands. The level
number can be any number between 1 and 4:
+cli+1 or +cli
Enables commands that display the value of nets and registers
and deposit values on registers
+cli+2
Same as above, plus enables callbacks on signals, that is
commands that do something when there is a value change.
For example:
break signal_name
+cli+3
Same as above, plus enables force and release of nets. For
example:
force net=0
This level number does not enable forcing values on registers.