User guide
Simulator Simulation File Use
Aldec Riviera Pro /simulation/ aldec/rivierapro_
setup.tcl
Source directly with your
simulator
.
Synopsys VCS /simulation/synopsys/vcs/vcs_
setup.sh
Add your testbench file name to
this file to pass the testbench file
to VCS using the –file option.
If you specify a testbench file for
NativeLink and do not choose to
simulate, NativeLink generates a
script that runs VCS.
Synopsys VCS MX /simulation/synopsys/vcsmx/
vcsmx_setup.sh
Run this script at the command
line using quartus_sh–t
<script>. Any testbench you
specify with NativeLink is
included in this script.
Cadence Incisive (NCSim) /simulation/cadence/ncsim_
setup.sh
Run this script at the command
line using quartus_sh –t
<script>. Any testbench you
specify with NativeLink is
included in this script.
Qsys Simulation Scripts
If you use Qsys to create your design, you have the following two options to create scripts:
Generate Scripts in Qsys
Qsys system generation creates the interconnect between components. It also generates files for synthesis
and simulation, including the .spd files necessary for the ip-make-simscript utility. Complete the
following steps to generate a simulation module for a Qsys system.
1. On the Generate menu, click Generate.
The Generation dialog box appears.
2. Under Create simulation model, select your HDL.
Note that Qsys appends simulation to your project directory to create a subdirectory for simulation
files.
3. Click Generate. Qsys generates simulation files and scripts for the Aldec Riviera Pro, Cadence NCSim,
and Mentor Graphics ModelSim simulation tools.
4. You can run the scripts to compile the required device libraries and system design files in the correct
order. Then, elaborate or load the top-level design for simulation.
Use the ip-make-simscript Utility
This utility generates simulation command scripts for multiple IP cores or Qsys systems. To use this
command, you must specify Simulation Package Descriptor (.spd) files for each IP core or Qsys system.
UG-01143
2015.05.11
Qsys Simulation Scripts
2-331
Implementing Protocols in Arria 10 Transceivers
Altera Corporation
Send Feedback