Simulator
Working Directory
Instructions
VCS
<example_design>/pcie_example_
design_tb/pcie_example_design_tb/
sim/synopsys/vcs
1. To run the DMA design example that demonstrates
both downstream and upstream traffic, open
<example_design>/pcie_example_design_tb/pcie_
example_design_tb/sim/pcie_example_design_tb.v
and
change the value of
apps_type_hwtcl
to 6.
2. Create a shell script,
my_setup.sh
. This script allows
you to add additional commands and override the
defaults included in
vcs_setup.sh
.
3. Include the following command in
my_setup.sh
:
source vcs_setup.sh USER_DEFINED_SIM_
OPTIONS=""
4. Type the following commands:
a.
chmod +x *.sh
b.
./my_setup.sh
5. A successful simulation ends with the following
message, "Simulation stopped due to successful
completion!"
Cadence
<example_design>/pcie_example_
design_tb/pcie_example_design_tb/
sim/cadence
1. To run the DMA design example that demonstrates
both downstream and upstream traffic, open
<example_design>/pcie_example_design_tb/pcie_
example_design_tb/sim/pcie_example_design_tb.v
and
change the value of
apps_type_hwtcl
to 6.
2. Create a shell script,
my_setup.sh
. This script allows
you to add additional commands and override the
defaults included in
ncsim_setup.sh
.
3. Include the following command in
my_setup.sh
:
source ncsim_setup.sh USER_DEFINED_SIM_
OPTIONS=""
4.
chmod +x *.sh
5.
./my_setup.sh
6. A successful simulation ends with the following
message, "Simulation stopped due to successful
completion!"
UG-01145_avmm_dma
2015.11.02
Compiling and Simulating the Design
2-7
Arria 10 PCI Express Quick Start Guide
Altera Corporation
Send Feedback