User guide
4-8
Simulating Your Design
Restarting at the CLI Prompt
The $restart system task allows you to restart the simulation at
the CLI prompt. Enter it with the name of the check file created by
the $save system task. For example:
C1 > $restart("checkfile1");
Specifying a Very Long Time Before Stopping
Simulation
You can use the +vcs+stop+time runtime option to specify the
simulation time when VCS halts simulation. This works if the time
value you specify is less that 2
32
or 4,294,967,296. You can also use
the +vcs+finish+time runtime option to specify when VCS not
just halts but ends simulation. This is also with the proviso that the
time value be less than 2
32
.
For time values greater than 2
32
you must follow a special procedure
that uses two arguments to the +vcs+stop or +vcs+finish
runtime options. This procedure is as follows:
1. Subtract 2 X 2
32
from the large time value.
So, for example if you want a time value of 10,000,000,000 (10
billion):
10,000,000,000-(2*4,294,967,296)=(1,410,065,408)