November 2012
Altera Corporation
Arria V GZ Hard IP for PCI Express
User Guide
2. Getting Started with the Arria V GZ
Hard IP for PCI Express
This section provides step-by-step instructions to help you quickly customize,
simulate, and compile the Arria V GZ Hard IP for PCI Express using either the
MegaWizard Plug-In Manager or Qsys design flow. When you install the Quartus II
software you also install the IP Library. This installation includes design examples for
Hard IP for PCI Express in
<install_dir>
/ip/altera/altera_pcie/
altera_pcie_hip_ast_ed/example_design/
<device>
directory.
1
If you have an existing Arria V GZ 12.0 or older design, you must regenerate it in 12.1
before compiling with the 12.1 version of the Quartus II software.
After you install the Quartus II software for 12.1, you can copy the design examples
from the
<install_dir>
/ip/altera/altera_pcie/altera_pcie_hip_ast_ed/
example_design/
<device>
directory. This walkthrough uses the Gen1 ×4 Endpoint.
Figure 2–1
illustrates the top-level modules of the testbench in which the DUT, a Gen1
×8 Endpoint, connects to a chaining DMA engine, labeled APPS in
Figure 2–1
, and a
Root Port model. The Transceiver Reconfiguration Controller dynamically
reconfigures analog settings to optimize signal quality of the serial interface. The
pcie_reconfig_driver drives the Transceiver Reconfiguration Controller. The
simulation can use the parallel PHY Interface for PCI Express (PIPE) or serial
interface.
Figure 2–1. Testbench for an Endpoint
L
APPS (Chaining DMA Engine)
al
t
pcied_sv_hw
t
cl.v
Ha
r
d IP fo
r
PCI Exp
r
ess Tes
t
bench fo
r
Endpoin
t
s
Avalon-ST TX
Avalon-ST RX
reset
status
Avalon-ST TX
Avalon-ST RX
reset
status
DUT
al
t
pcie_sv_hip_as
t
_hw
t
cl.v
al
t
_xcv
r
_
r
econfig_0
(T
r
ansceive
r
Reconfigu
r
a
t
ion Con
tr
olle
r
)
al
t
_xcv
r
_
r
econfig*.sv
pcie_
r
econfig_d
r
ive
r
al
t
pcie_
r
econfig_d
r
ive
r
.sv
Roo
t
Po
rt
Model
al
t
pcie_
t
bed_sv_hw
t
cl.v
PIPE o
r
Se
r
ial
In
t
e
r
face
Dynamic
T
r
ansceive
r
Reconfigu
r
a
t
ion
Roo
t
Po
rt
BFM
al
t
pcie
t
b_bfm_
r
pva
r
_64b_x8_pipen1b
Roo
t
Po
rt
D
r
ive
r
and Moni
t
o
r
al
t
pcie
t
b_bfm_vc_in
t
f
Avalon-MM Mgmt Master
Avalon-MM Mgmt Slave
November 2012
UG-01097-1.4