|
|
 |
Perform a Timing Simulation with the VSS Software
To perform a timing simulation of a Quartus II-generated VHDL
Output File (.vo) and the corresponding Standard
Delay Format Output File (.sdo) with the Synopsys VSS software:
If you have not already done so, perform 1.
Set Up the VSS Working Environment.
-
To generate the VHDL
Output File (.vho):
Specify
EDA tool settings in the Quartus II software.
Compile
the design with the Quartus II software.
|

|
The EDA Netlist Writer generates the VHDL Output
File and the SDF Output File and places them in the /<project
directory>/simulation/vss directory. More
Details |
-
Add the following lines to your .synopsys_vss.setup file
to include the mapping information for the work library, and to direct
the VSS software to use the timing
simulation libraries during simulation:
WORK > <work
library>
<device family> > <work library>
<work library> > <physical path to
work library>
Create a work library in the project directory
by typing the following command at a command prompt: More
Details
mkdir
<work library> 
To compile the VHDL Output File, test bench file
(if you are using one) and Altera prerouting simulation libraries, type
the following commands at a command prompt:
-
vhdlan /usr/quartus/eda/sim_lib/<device
family>_atoms.vhd 
vhdlan /usr/quartus/eda/sim_lib/<device family>_components.vhd 
vhdlan <test bench file> 
vhdlan <design name>.vho 
|

|
For VHDL 87-compliant designs for APEX 20KE
devices, type the following command to compile the VHDL-87 compliant simulation
model library instead:
vhdlan
-vhdl87 /usr/quartus/eda/sim_lib/apex20ke_atoms_87.vhd 
|
-
To back-annotate timing information through the SDF Output File, type
the following command at the command prompt (where <VHDL configuration
name> represents the configuration name in the test bench file):
scsim -sdf_top <test
bench file> -sdf <design name>.sdo
<VHDL configuration name> 
|

|
The VSS software requires each architecture or entity
pair in a VHDL Output File or test bench file to have a configuration.
The Configuration Declaration is necessary for simulation, but not for
synthesis. |
-
If your design contains device power up signals, initialize the
device power up signal by typing the following commands at the command
prompt:
assign '0' /<test
bench entity>/<design entity>/<device
power up> 
run <time> 
assign '1' /<test bench entity>/<design
entity>/<device power up> 
|

|
The variable <device power up> is the
name of the device power up signal and <time> is a time value
for the minimum time required for the device to initialize. |
To simulate the design, type the following command
at a command prompt:
scsim
<work library>.<VHDL configuration name> 
|

|
Refer to the VSS User's Guide for more
details on VHDL simulation. |
|
|
|