User guide
v
Resolving ‘include Compiler Directives . . . . . . . . . . . . . . 3-48
Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
Configuration Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
Hierarchical Configurations . . . . . . . . . . . . . . . . . . . . . . . 3-51
The -top Compile-Time Option . . . . . . . . . . . . . . . . . . . . . 3-52
Limitations of Configurations . . . . . . . . . . . . . . . . . . . . . . 3-53
4. Simulating Your Design
Running and Controlling a Simulation . . . . . . . . . . . . . . . . . . . . . 4-2
Invoking a Simulation at the Command Line . . . . . . . . . . . . . 4-2
Invoking a Simulation From DVE. . . . . . . . . . . . . . . . . . . . . . 4-2
Save and Restart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Save and Restart Example . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Save and Restart File I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Save and Restart With Runtime Options . . . . . . . . . . . . . . . . 4-6
Restarting at the CLI Prompt . . . . . . . . . . . . . . . . . . . . . . 4-8
Specifying a Very Long Time Before Stopping Simulation. . . . . . 4-8
Passing Values From the Runtime Command Line. . . . . . . . . . . 4-10
How VCS Prevents Time 0 Race Conditions . . . . . . . . . . . . . . . 4-11
Improving Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Profiling the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
CPU Time Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Memory Usage Views . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24