
3–12
Chapter 3: Getting Started with the Avalon-MM Stratix V Hard IP for PCI Express
Specifying Address Assignments
Stratix V Hard IP for PCI Express
June 2012
Altera Corporation
User Guide
1. In the row for the Avalon-MM slave interface base address you want to specify,
click the
Base
column.
2. Type your preferred base address for the interface.
Assign the base addresses listed in
Table 3–13
.
Figure 3–2
illustrates the complete system.
For this example BAR1:0 is sized to 4 MBytes or 22 bits; PCI Express requests that this
BAR are able to access the Avalon addresses from 0x00200000– 0x00200FFF. BAR2 is
sized to 32 KBytes or 15 bits. The DMA control_port_slave is accessible at offsets
0x00004000 through 0x0000403F from the programmed BAR2 base address. The
pci_express
CRA
slave port is accessible at offsets 0x0000000–0x0003FFF from the
programmed BAR2 base address. Refer to Stratix
Table 3–13. Base Address Assignments for Avalon-MM Slave Interfaces
Interface Name
Exported Name
pcie_sv_hip_avmm_0
Txs
0x00000000
pcie_sv_hip_avmm_0
Cra
0x00000000
dma_0
control_port_slave
0x00004000
onchip_memory_0
s1
0x00200000
Figure 3–2. Complete PCI Express Example Design