Simulation flow, Simulation flow –15 – Altera PCI Compiler User Manual
Page 345

Altera Corporation
User Guide Version 11.1
8–15
October 2011
PCI Compiler
Testbench
Simulation Flow
This section describes the simulation flow using Altera PCI testbench.
shows the block diagram of a typical verification environment
using the PCI testbench.
Figure 8–3. Typical Verification Environment Using the PCI Testbench
The simulation flow using Altera PCI testbench comprises the following 
steps.
1.
Use SOPC Builder to create your system.
f
For more information on creating your system using SOPC 
Builder, refer to 
.
SOPC Builder creates the pci_sim directory in your project directory 
and copies all the PCI testbench files from 
<path>/pci_compiler/testbench/sopc/<language>/<core> into 
<project directory>/pci_sim.
1
The testbench files must be edited to add the PCI transactions 
that will be performed on the system. If you regenerate your 
system, SOPC Builder will not overwrite the testbench files in 
the pci_sim directory. If you want the default testbench files, 
first delete the pci_sim directory and then regenerate your 
system.
2.
Set the initialization parameters, which are defined in the master 
transactor model source code. These parameters control the address 
space reserved by the target transactor model and other PCI agents 
on the PCI bus.
Altera Device
PCI Bus
Altera PCI Testbench
PCI
Testbench
System Generated
Using SOPC Builder
