next up previous contents
Next: Simulation Script Up: Scripts Previous: Scripts

Compilation Script

Since, the number of design files is reduced to one, the compilation script for this simulation is much shorter even though the time required to compile these files may be longer. Thus, until the appropriate C compiler is available on HPs, you can compile all necessary files in interpreted mode as follows:
vhdlan -i simprim_Vcomponents.vhd \
          simprim_Vpackage.vhd \
          simprim_VITAL.vhd \
          time_sim.vhd \
          packages.vhd \
          TB_SYSTEM.vhd
After all files are compiled into the working directory you have to invoke the simulator with the following command line:
vhdldbx -t ps -sdf_top SYSTEM_TESTBENCH/UUT -sdf time_sim.sdf CFG_TB &
The optional flags defined by the command line ensure the correct time-base and define the *.sdf file that contains timing information. This definition is crucial to performing correct post place-and-route simulation. The command line will invoke the debugger/simulator, at which point you can use it in the same way as described in Chapter 2.

Cryptography and Information Security Laboratory
1998-09-17