User guide

C-21
Compile-Time Options
+race=all
Analyzes the source code during compilation to look for coding
styles that cause race conditions. See “The Static Race Detection
Tool” on page 11-13.
+racecd
Specifies that during simulation VCS generate a report of the race
conditions in the design between the ‘race and ‘endrace
compiler directives and write this report in the race.out file. See
“The Dynamic Race Detection Tool” on page 11-2.
+race_maxvecsize=size
Specifies the largest vector signal for which the dynamic race
detection tool looks for race conditions.
Options for Starting Simulation Right After Compilation
-R
Runs the executable file immediately after VCS links it together.
-s
Specifies stopping simulation just as it begins and entering the
CLI interactive mode. Use this option on the vcs command line
along with the -R and +cli options. The -s option is also a
runtime option on the simv command line.
-i filename
Specifies a file containing CLI commands that VCS executes
when simulation starts. After the end of that file is reached, input
commands are taken from the standard input. This option works
only when you also include the -R and -s options. It is normally
entered with the +cli+number compile-time option. This option
is also accepted by the output simv executable; it is really a
runtime option but it is frequently entered on the vcs command
line.