
Chapter 3: Getting Started with the Avalon-MM Stratix V Hard IP for PCI Express
3–11
Specifying Clocks and Address Assignments
June 2012
Altera Corporation
Stratix V Hard IP for PCI Express
User Guide
Specifying Clocks and Address Assignments
A single clock source,
coreclkout_hip
, connects to all of the clock inputs in this
system.
1. To remove the default clock, on the
System Contents
tab, click
clk_0
and then click
the
X
button.
2. Complete the following steps to connect
coreclkout
to the
onchip_memory
and
dma_0
clock inputs:
a. Click in the
Clock
column next to the clock input. A list including the single
clock,
pcie_
s
v_hip_avmm_0_coreclkout
, appears.
b. Click
pcie_sv_hip_avmm_0_coreclkout
to connect the this clock to the clock
input signal.
3. To specify the interrupt number for DMA interrupt sender,
irq
, type a
0
in the
IRQ
column next to the
irq
port.
4. On the File menu, click
Save.
Specifying Exported Interfaces
Many interface signals in this design are connected to other modules outside the
design. Follow these steps to export an interface:
1. Click in the
Export
column.
2. Accept the default name that appears in the
Export
column.
lists the interfaces that are exported.
Specifying Address Assignments
Qsys requires that you resolve the base addresses of all Avalon-MM slave interfaces in
the Qsys system. You can either use the auto-assign feature, or specify the base
addresses manually. To use the auto-assign feature, on the
System
menu, click
Assign
Base Addresses
. In the design example, you assign the base addresses manually.
The Avalon-MM Stratix V Hard IP for PCI Express stores the base addresses in BARs.
The maximum supported size for a BAR is 4 GByte, or 32 bits.
Follow these steps to assign a base address to an Avalon-MM slave interface
manually:
Table 3–12. Exported Interfaces
Interface Name
Exported Name
refclk
pcie_sv_hip_avmm_0_refclk
npor
pcie_sv_hip_avmm_0_npor
hip_ctrl
pcie_sv_hip_avmm_0_hip_ctrl
reconfig_busy
pcie_sv_hip_avmm_0_reconfig_busy
hip_serial
pcie_sv_hip_avmm_0_hip_serial
hip_pipe
pcie_sv_hip_avmm_0_hip_pipe
mgmt_clk_clk
alt_xcvr_reconfig_0_mgmt_clk_clk