The Xilinx® LogiCORE™ IP AXI Root Port/
Endpoint (RP/EP) Bridge for PCI Express® core
is an interface between the AXI4 and PCI
Express. Definitions and references are
provided in this document for all of the
functional modules, registers, and interfaces
that are implemented in the AXI Bridge for PCI
Express core. Definitions are also provided for
the hardware implementation and software
interfaces to the AXI Bridge for PCI Express core
in supported FPGA devices.
Features
•Zynq®-7000, Kintex®-7, Virtex®-7, and
Artix®-7 FPGA Integrated Blocks for PCI
Express
•Tracks and manages Transaction Layer Packets
(TLPs) completion processing
•Detects and indicates error conditions with
interrupts
•Optimal AXI4 pipeline support for enhanced
performance
•Compliant with Advanced RISC Machine
(ARM®) Advanced Microcontroller Bus
Architecture 4 (AMBA®) AXI4 specification
•Supports up to three PCIe 32-bit or 64-bit
PCIe Base Address Registers (BARs) as
Endpoint
•Supports a single PCIe 32-bit or 64-bit BAR as
Root Port
LogiCORE IP Facts Table
Core Specifics
Supported
Device
(1)
Family
Supported
User Interfaces
ResourcesSee Tab l e 2 - 2
Zynq-7000, 7 Series
AXI4
Provided with Core
Design FilesVHDL and Verilog
Example
Design
Tes t B en c hVerilog
Constraints
File
Simulation
Model
Supported
S/W Driver
(2)
Tested Design Flows
Design Entry
Simulation
SynthesisVivado Synthesis
Xilinx Design Tools: Release Notes Guide
For supported simulators, see the
Standalone and Linux
(3)
Vivado® Design Suite
Vivado IP integrator
Verilog
XDC
Not Provided
Support
Provided by Xilinx @ www.xilinx.com/support
Notes:
1. For a complete list of supported devices, see the Vivado IP
catalog. See also Table 2-1, page 11.
2. Standalone driver details can be found in the SDK directory
(<install_directory>/doc/usenglish/xilinx_drivers.htm). Linux
OS and driver support information is available from
wiki.xilinx.com
3. For the supported versions of the tools, see the
Xilinx Design Tools: Release Notes Guide
4. Except for XC7VX485T, Virtex 7 devices are not supported.
.
.
(1)
AXI Bridge for PCI Express v2.4www.xilinx.com4
PG055 June 4, 2014Product Specification
Overview
2EGISTER"LOCK
-ASTER"RIDGE
!8)0#)E"RIDGE
3LAVE"RIDGE
!8)3
%NHANCED0#)E
3&,H5[
3&,H7[
,QWHJUDWHG
%ORFN
IRU3&,H
$;,/LWH
,)
$;,
6ODYH
,)
$;,
0DVWHU
,)
$;,
0HPRU\
0DSSHG
%XV
$;,00
6B$;,
$;,006B$;,B&7/
$;,00
0B$;,
!8)--3"RIDGE
SendFeedback
The AXI Bridge for PCI Express® core is designed for the Vivado® IP integrator in the
Vivado Design Suite. The AXI Bridge for PCI Express core provides an interface between an
AXI4 customer user interface and PCI Express using the Xilinx Integrated Block for PCI
Express. The AXI Bridge for PCI Express core provides the translation level between the AXI4
embedded system to the PCI Express system. The AXI Bridge for PCI Express core translates
the AXI4 memory read or writes to PCIe Transaction Layer Packets (TLP) packets and
translates PCIe memory read and write request TLP packets to AXI4 interface commands.
The architecture of the AXI Bridge for PCI Express is shown in Figure 1-1.
X-Ref Target - Figure 1-1
Chapter 1
AXI Bridge for PCI Express v2.4www.xilinx.com5
PG055 June 4, 2014
Figure 1-1: High-Level AXI Bridge for PCI Express Architecture
Chapter 1: Overview
SendFeedback
Feature Summary
The AXI Bridge for PCI Express core is an interface between the AXI4 and PCI Express. It
contains the memory mapped AXI4 to AXI4-Stream Bridge and the AXI4-Stream Enhanced
Interface Block for PCIe. The memory-mapped AXI4 to AXI4-Stream Bridge contains a
register block and two functional half bridges, referred to as the Slave Bridge and Master
Bridge. The Slave Bridge connects to the AXI4 Interconnect as a slave device to handle any
issued AXI4 master read or write requests. The Master Bridge connects to the AXI4
Interconnect as a master to process the PCIe generated read or write TLPs. The core uses a
set of interrupts to detect and flag error conditions.
The AXI Bridge for PCI Express core supports both Root Port and Endpoint configurations.
•When configured as an Endpoint, the AXI Bridge for PCI Express core supports up to
three 32-bit or 64-bit PCIe Base Address Registers (BARs).
•When configured as a Root Port, the core supports a single 32-bit or 64-bit PCIe BAR.
The AXI Bridge for PCI Express core is compliant with the PCI Express Base Specification v2.0
[Ref 5] and with the AMBA® AXI4 specification [Ref 4].
Unsupported Features
The following features are not supported in the AXI Bridge for PCI Express core.
•Tandem PROM and Tandem PCIe
•Advanced Error Reporting (AER)
Limitations
Reference Clock for PCIe Frequency Value
The refclk input used by the serial transceiver for PCIe must be 100 MHz, 125 MHz, and
MHz for 7 series and Zynq®-7000 device configurations. The C_REF_CLK_FREQ
250
parameter is used to set this value, as defined in
Tab le 2-4, page 15.
AXI Bridge for PCI Express v2.4www.xilinx.com6
PG055 June 4, 2014
Chapter 1: Overview
SendFeedback
Licensing and Ordering Information
This Xilinx® LogiCORE™ IP module is provided at no additional cost with the Xilinx Vivado
Design Suite under the terms of the
Information about this and other Xilinx LogiCORE IP modules is available at the Xilinx
Intellectual Property page. For information on pricing and availability of other Xilinx
LogiCORE IP modules and tools, contact your local Xilinx sales representative.
For more information, visit the AXI Bridge for PCI Express product page.
Xilinx End User License.
AXI Bridge for PCI Express v2.4www.xilinx.com7
PG055 June 4, 2014
Product Specification
5HJLVWHU%ORFN
0DVWHU%ULGJH
$;,3&,H%ULGJH
6ODYH%ULGJH
$;,6
(QKDQFHG3&,H
$;,65HT0HP:U
$;,6&RPS0HP5G
%ORFN,)
3&,H5[
3&,H7[
3&,H+DUG
%ORFN
$;,/LWH
,)
$;,
6ODYH
,)
$;,
0DVWHU
,)
$;,
0HPRU\
0DSSHG
%XV
$;,3&,H
7UDQVODWLRQ
9HFWRUV
7/3+HDGHU*HQHUDWLRQ
$GGUHVV7UDQVODWLRQ
5DQJH&KHFNIRU
VHJPHQWDWLRQ
(UURU+DQGOLQJ
7/3+HDGHU([WUDFWLRQ
$GGUHVV7UDQVODWLRQ
0DVWHU&PG*HQHUDWLRQ
(UURU+DQGOLQJ
$;,00
$;,00
$;,00
$;,/LWH,3,&
6ODYH,QWUSW6WUEV
$;,006%ULGJH
$;,6&RPS0HP:U
$;,6&RPS&SOG
0DVWHU,QWUSW6WUEV
$;,65HT0HP5G
$;,65HT&SOG
SendFeedback
Figure 2-1 shows the architecture of the AXI Bridge for PCI Express® core.
X-Ref Target - Figure 2-1
Chapter 2
AXI Bridge for PCI Express v2.4www.xilinx.com8
PG055 June 4, 2014
Figure 2-1: AXI Bridge for PCI Express Architecture
The Register block contains registers used in the AXI Bridge for PCI Express core for
dynamically mapping the AXI4 memory mapped (MM) address range provided using the
AXIBAR parameters to an address for PCIe range.
The Slave Bridge provides termination of memory-mapped AXI4 transactions from an AXI
master device (such as a processor). The Slave Bridge provides a way to translate addresses
that are mapped within the AXI4 memory mapped address domain to the domain addresses
for PCIe. When a remote AXI master initiates a write transaction to the Slave Bridge, the
write address and qualifiers are captured and write data is queued in a first in first out
(FIFO). These are then converted into one or more MemWr TLPs, depending on the
Chapter 2: Product Specification
SendFeedback
configured Max Payload Size setting, which are passed to the Integrated Block for PCI
Express.
A second remote AXI master initiated write request write address and qualifiers can then be
captured and the associated write data queued, pending the completion of the previous
write TLP transfer to the core. The resulting AXI Slave Bridge write pipeline is two-deep.
When a remote AXI master initiates a read transaction to the Slave Bridge, the read address
and qualifiers are captured and a MemRd request TLP is passed to the core and a
completion timeout timer is started. Completions received through the core are correlated
with pending read requests and read data is returned to the AXI master. The Slave bridge is
capable of handling up to eight memory mapped AXI4 read requests with pending
completions.
The Master Bridge processes both PCIe MemWr and MemRd request TLPs received from the
integrated block for PCI Express and provides a means to translate addresses that are
mapped within the address for PCIe domain to the memory mapped AXI4 address domain.
Each PCIe MemWr request TLP header is used to create an address and qualifiers for the
memory mapped AXI4 bus and the associated write data is passed to the addressed
memor y mapped AXI4 Slave. The Master Bridge can support up to four active PCIe MemWr
request TLPs.
Each PCIe MemRd request TLP header is used to create an address and qualifiers for the
memory-mapped AXI4 bus. Read data is collected from the addressed memory mapped
AXI4 Slave and used to generate completion TLPs which are then passed to the integrated
block for PCI Express. The Master bridge can handle up to four read requests with pending
completions for improved AXI4 pipelining performance.
The instantiated AXI4-Stream Enhanced PCIe block contains submodules including the
Requester/Completer interfaces to the AXI bridge and the Register block. The Register
block contains the status, control, interrupt registers, and the AXI4-Lite interface.
Standards
The AXI Bridge for PCIe core is compliant with the ARM® AMBA® AXI4 Protocol
Specification
[Ref 4] and the PCI Express Base Specification v2.0 [Ref 5].
AXI Bridge for PCI Express v2.4www.xilinx.com9
PG055 June 4, 2014
Performance
AXI4-Lite
MicroBlaze
Controller
AXI INTC
AXI GPIO
AXI UARTLite
AXI4
Memory
Controller
MDM
MicroBlaze
Domain
AXI4
Block RAM
Controller
D_LMB
I_LMB
(IC)
AXI Block Ram
(DC)
AXI PCIe
Memory
(DP)
LEDs
RS232
AXI CDMA
MemoryMap
Interconnect
(AXI4)
Control
Interface
Subset
Interconnect
(AXI4-Lite)
SendFeedback
Figure 2-2 shows a configuration diagram for a target FPGA.
X-Ref Target - Figure 2-2
Chapter 2: Product Specification
AXI Bridge for PCI Express v2.4www.xilinx.com10
PG055 June 4, 2014
Figure 2-2: FPGA System Configuration Diagram
The target FPGA is filled with logic to drive the lookup table (LUT) and block RAM utilization
to approximately 70% and the I/O utilization to approximately 80%.
Maximum Frequencies
The maximum frequency for the AXI clock is 125 MHz for 7 series FPGAs.
Line Rate Support for PCIe Gen1/Gen2
The link speed, number of lanes supported, and support of line rate for PCIe are defined in
Tab le 2-1. Achieving line rate for PCIe is dependent on the device family, the AXI clock
frequency, the AXI data width, the number of lanes, and Gen1 (2.5 GT/s) or Gen2 (5.0 GT/s)
SendFeedback
link speed.
Table 2-1: Line Rate for PCIe Support for Gen1/Gen2
Chapter 2: Product Specification
C_FAMILYC_X_AXI_DATA_WIDTH
64
7 series,
Zynq®-7000
128
Notes:
1. x8 Gen2 configuration is not supported. Artix-7 does not support x8 Gen1.
PCIe Link
Speed
Gen 1
Gen 2x1, 2
Gen 1,
Gen 2
C_NO_OF_LANES
x1, 2, 4, 8
x162.5 MHz62.5 MHz62.5 MHz
x2, 4
(1)
Resource Utilization
Tab le 2-2 illustrates a subset of IP core conf igurations and the device utilization estimates.
Variation in tools and optimization settings can result in variance of these reported
numbers.
Tab le 2-2 shows the resource utilization for the AXI Bridge for PCIe core for different
configurations on the Virtex-7 XC7V2000T device. These numbers were generated in the
Vivado® Design Suite. Resource Utilization numbers for other devices can be generated by
implementing the provided example design and checking for the resources used by only
the core in the resource utilization report.
AXI_ACLK
_OUT
125 MHz125 MHz125 MHz
125 MHz250 MHz125 MHz
Userclk1Userclk2
AXI Bridge for PCI Express v2.4www.xilinx.com11
PG055 June 4, 2014
Table 2-2: Resource Utilization Summary
SendFeedback
ConfigurationSlice RegistersSlice LUTs
Chapter 2: Product Specification
Endpoint x1 Gen1
Endpoint x2 Gen1
Endpoint x4 Gen1
Endpoint x8 Gen1
Endpoint x1 Gen2
Endpoint x2 Gen2
Endpoint x4 Gen2
Root Port x1 Gen1
Root Port x2 Gen1
Root Port x4 Gen1
Root Port x8 Gen1
Root Port x1 Gen2
Root Port x2 Gen2
Root Port x4 Gen2
Port Descriptions
867813054
896313300
955813666
1191217355
862014041
889714362
1062916477
1070315909
1083615537
1143115924
1380520128
1067416734
1106217137
1256319325
The interface signals for the AXI Bridge for PCI Express are described in Tab le 2-3.
Table 2-3: Top-Level Interface Signals
Signal NameI/O Description
Global Signals
refclkIPCIe Reference Clock
axi_aresetnIGlobal reset signal for AXI Interfaces
axi_aclk_outOPCIe derived clock output for axi_aclk
axi_ctl_aclk_outOPCIe derived clock output for axi_ctl_aclk
mmcm_lockOaxi_aclk_out from the axi_enhanced_pcie block is stable
interrupt_outOInterrupt signal
AXI Slave Interface
s_axi_awid[c_s_axi_id_width-1:0]ISlave write address ID
m_axi_rdata[c_m_axi_data_width-1:0]IMaster read data
m_axi_rresp[1:0]IMaster read response
m_axi_rlastIMaster read last
m_axi_rvalidIMaster read valid
m_axi_rreadyOMaster read ready
AXI4-Lite Control Interface
s_axi_ctl_awaddr[31:0]ISlave write address
s_axi_ctl_awvalidISlave write address valid
s_axi_ctl_awreadyOSlave write address ready
s_axi_ctl_wdata[31:0]ISlave write data
s_ax_ctl_wstrb[3:0]ISlave write strobe
s_axi_ctl_wvalidISlave write valid
s_axi_ctl_wreadyOSlave write ready
s_axi_ctl_bresp[1:0]OSlave write response
s_axi_ctl_bvalidOSlave write response valid
s_axi_ctl_breadyISlave response ready
AXI Bridge for PCI Express v2.4www.xilinx.com14
PG055 June 4, 2014
s_axi_ctl_araddr[31:0]I Slave read address
s_axi_ctl_arvalidISlave read address valid
s_axi_ctl_arreadyOSlave read address ready
s_axi_ctl_rdata[31:0]OSlave read data
s_axi_ctl_rresp[1:0]OSlave read response
Chapter 2: Product Specification
SendFeedback
Table 2-3: Top-Level Interface Signals (Cont’d)
Signal NameI/O Description
s_axi_ctl_rvalidOSlave read valid
s_axi_ctl_rreadyISlave read ready
MSI Signals
Legacy interrupt input (see c_interrupt_pin) when
intx_msi_requestI
intx_msi_grantO
msi_enableOIndicates when MSI is enabled.
msi_enable = 0.
Initiates a MSI write request when msi_enable = 1.
Intx_msi_request is asserted for one clock period.
Indicates legacy interrupt/MSI grant signal. The
intx_msi_grant signal is asserted for one clock period
when the interrupt is accepted by the PCIe core.
msi_vector_num [4:0]I
msi_vector_width [2:0]O
Indicates MSI vector to send when writing a MSI write
request.
Indicates the size of the MSI field (the number of MSI
vectors allocated to the device).
PCIe Interface
pci_exp_rxp[c_no_of_lanes-1: 0]IPCIe RX serial interface
pci_exp_rxn[c_no_of_lanes-1: 0]IPCIe RX serial interface
pci_exp_txp[c_no_of_lanes-1: 0]OPCIe TX serial interface
pci_exp_txn[c_no_of_lanes-1:0]OPCIe TX serial interface
Bridge Parameters
Because many features in the AXI Bridge for PCI Express core design can be parameterized,
you are able to uniquely tailor the implementation of the core using only the resources
required for the desired functionality. This approach also achieves the best possible
performance with the lowest resource usage.
The parameters defined for the AXI Bridge for PCI Express are shown in Tab le 2-4.
Table 2-4: To p- L ev el P a ra m et e rs
GenericParameter NameDescriptionAllowable ValuesDefault Value VHDL Type
AXI Bridge for PCI Express v2.4www.xilinx.com15
PG055 June 4, 2014
C_PCIE_BLK_LOCN
Bridge Parameters
PCIe integrated
block location
within FPGA
0: X0Y0
1: X0Y1
2: X0Y2
3: X1Y0
4: X1Y1
0String
Chapter 2: Product Specification
SendFeedback
Table 2-4: Top -L e ve l Pa r am e te r s (Cont’d)
GenericParameter NameDescriptionAllowable ValuesDefault Value VHDL Type
NONE
KC705_REVA
C_XLNX_REF_BOARDTarget FPGA Board
KC705_REVB
KC705_REVC
VC707
NONEString
G1C_FAMILYTarget FPGA Family
Configures the AXI
G2C_INCLUDE_RC
G3C_COMP_TIMEOUT
G4
G5
C_INCLUDE_
BAROFFSET_REG
C_SUPPORTS_
NARROW_BURST
bridge for PCIe to be
a Root Port or an
Endpoint
Selects the Slave
Bridge completion
timeout counter
value
Include the registers
for high-order bits
to be substituted in
translation in Slave
Bridge
Instantiates internal
logic to support
narrow burst
transfers. Only
enable when AXI
master bridge
generates narrow
burst traffic.
kintex7, virtex7, artix7,
zynq
0: Endpoint
1: Root Port (applies only
series, and
for 7
Zynq-7000 devices)
0: 50 µs
1: 50 ms
0: Exclude
1: Include
0: Not supported
1: Supported
String
0Integer
0Integer
0Integer
0Integer
AXI Bridge for PCI Express v2.4www.xilinx.com16
PG055 June 4, 2014
G6C_AXIBAR_NUM
G7C_AXIBAR_0
G8
G9C_AXIBAR_AS_0
C_AXIBAR_
HIGHADDR_0
Number of AXI
address apertures
that can be accessed
2. The width of this should match the address size (C_AXIBAR_AS) for this BAR.
3. The range specified must comprise a complete, contiguous power of two range, such that the range = 2
significant bits of the Base Address are zero. The address value is a 32-bit AXI address.
4. The difference between C_AXIBAR_n and C_AXIBAR_HIGHADDR_n must be less than or equal to 0x7FFF_FFFF and greater
than or equal to 0x0000_1FFF.
5. It is recommended that you do not edit these default values on the AXI bridge for PCIe IP unless you need to reduce the
resource utilization. Doing so impacts the AXI bridge performance.
1, 2, 4: Number of actively
issued AXI ARADDR values
on the AXI Interconnect to
the target slave device(s).
4Integer
n
and the n least
Parameter Dependencies
Tab le 2-5 lists the parameter dependencies.
Table 2-5: Parameter Dependencies
GenericParameterAffectsDependsDescription
G1C_FAMILY
G2C_INCLUDE_RCG1Meaningful only if G1 = Kintex-7.
G3C_COMP_TIMEOUT
AXI Bridge for PCI Express v2.4www.xilinx.com22
PG055 June 4, 2014
Bridge Parameters
G2, G41,
G49, G55
Chapter 2: Product Specification
SendFeedback
Table 2-5: Parameter Dependencies (Cont’d)
GenericParameterAffectsDependsDescription
G10,
G14,
G4C_INCLUDE_BAROFFSET_REG
G5
G6C_AXIBAR_NUM
G7C_AXIBAR_0G8G6, G8
G8C_AXIBAR_HIGHADDR_0G7G6, G7
G9C_AXIBAR_AS_0G6
G10C_AXIBAR2PCIEBAR_0G4, G6Meaningful when G4 = 1.
C_SUPPORTS_NARROW_
BURST
G18,
G22,
G26, G30
G4, G7 -
G30
G6
If G4 = 0, then G10, G14, G18, G22,
G26 and G30 have no meaning. The
number of registers included is set
by G6.
If G6 = 1, then G7 - G10 are enabled.
If G6 = 2, then G7 - G14 are enabled.
If G6 = 3, then G7 - G18 are enabled.
If G6 = 4, then G7 - G22 are enabled.
If G6 = 5, then G7 - G26 are enabled.
If G6 = 6, then G7 - G30 are enabled.
G7 and G8 define the range in AXI
memory space that is responded to
by this device (AXIBAR)
G7 and G8 define the range in AXI
memory space that is responded to
by this device (AXIBAR)
G11 and G12 define the range in
G11C_AXIBAR_1G12G12
G12C_AXIBAR_HIGHADDR_1G11G6, G11
G13C_AXIBAR_AS_1G6
G14C_AXIBAR2PCIEBAR_1G4, G6Meaningful when G4 = 1.
G15C_AXIBAR_2G16G16
G16C_AXIBAR_HIGHADDR_2G15G6, G15
G17C_AXIBAR_AS_2G6
G18C_AXIBAR2PCIEBAR_2G4, G6Meaningful when G4 = 1.
G19C_AXIBAR_3G20G20
G20C_AXIBAR_HIGHADDR_3G19G6, G19
AXI-memory space that is responded
to by this device (AXIBAR)
G11 and G12 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G15 and G16 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G15 and G16 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G19 and G20 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G19 and G20 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
AXI Bridge for PCI Express v2.4www.xilinx.com23
PG055 June 4, 2014
Chapter 2: Product Specification
SendFeedback
Table 2-5: Parameter Dependencies (Cont’d)
GenericParameterAffectsDependsDescription
G21C_AXIBAR_AS_3G6
G22C_AXIBAR2PCIEBAR_3G4, G6Meaningful when G4 = 1.
G23 and G24 define the range in
G23C_AXIBAR_4G24G24
G24C_AXIBAR_HIGHADDR_4G23G6, G23
G25C_AXIBAR_AS_4G6
G26C_AXIBAR2PCIEBAR_4G4, G6Meaningful if G4 = 1.
G27C_AXIBAR_5G28G28
G28C_AXIBAR_HIGHADDR_5G27G6, G27
AXI-memory space that is responded
to by this device (AXIBAR)
G23 and G24 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G27 and G28 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G27 and G28 define the range in
AXI-memory space that is responded
to by this device (AXIBAR)
G29C_AXIBAR_AS_5G6
G30C_AXIBAR2PCIEBAR_5G4, G6Meaningful if G4 = 1.
If G31 = 1, then G32, G33 are
enabled.
G31C_PCIEBAR_NUMG33-G38
G32C_PCIEBAR_AS
G33C_PCIEBAR_LEN_0G34G31
G34C_PCIEBAR2AXIBAR_0G31, G33
G35C_PCIEBAR_LEN_1G36G31
G36C_PCIEBAR2AXIBAR_1G31, G35
G37C_PCIEBAR_LEN_2G38G31
G38C_PCIEBAR2AXIBAR_2G31, G37
If G31 = 2, then G32 - G36 are
enabled.
If G31 = 3, then G32 - G38 are
enabled
Only the high-order bits above the
length defined by G33 are
meaningful.
Only the high-order bits above the
length defined by G35 are
meaningful.
Only the high-order bits above the
length defined by G37 are
meaningful.
AXI Bridge for PCI Express v2.4www.xilinx.com24
PG055 June 4, 2014
Chapter 2: Product Specification
Parameter SettingResult
G1 = Kintex-7 &
G50 = G53 = 64
G41 = 1, 2, or 4 (Gen1),
or G41 = 1 or 2 (Gen2)
G1 = Kintex-7 &
G50 = G53 = 128
G41 = 1, 2, 4, or 8
(Gen1) or 1, 2, or 4
(Gen2)
SendFeedback
Table 2-5: Parameter Dependencies (Cont’d)
GenericParameterAffectsDependsDescription
Core for PCIe Configuration Parameters
G41C_NO_OF_LANES
G42C_DEVICE_ID
G43C_VENDOR_ID
G44C_CLASS_CODE
G45C_REV_ID
G46C_SUBSYSTEM_ID
G47C_SUBSYSTEM_VENDOR_ID
G48
G49C_REF_CLK_FREQG1
C_PCIE_CAP_SLOT_
IMPLEMENTED
G1, G50,
G53
G2If G2 = 0, G48 is not meaningful
Memory-Mapped AXI4 Bus Parameters
G50C_M_AXI_DATA_WIDTHG53
G51C_M_AXI_ADDR_WIDTHG54G54G51 must be equal to G54
G52C_S_AXI_ID_WIDTH
G1, G41,
G53
G50 must be equal to G53
G53C_S_AXI_DATA_WIDTHG50
G54C_S_AXI_ADDR_WIDTHG51G51G54 must be equal to G51
G55C_MAX_LINK_SPEEDG1
G56C_INTERRUPT_PIN
Tab le 2-6 summarizes the relationship between the IP design parameters, C_FAMILY and
C_PCIE_USE_MODE. The C_PCIE_USE_MODE is used to specify the 7 series (and derivative
FPGA technology) serial transceiver wrappers to use based on the silicon version. Initial
Engineering Silicon (IES) as well as General Engineering Silicon (GES) must be specified.
AXI Bridge for PCI Express v2.4www.xilinx.com25
PG055 June 4, 2014
G1, G41,
G50
G53 must be equal to G50
Table 2-6: Silicon Version Specification
SendFeedback
C_FAMILYC_PCIE_USE_MODE
Chapter 2: Product Specification
Kintex-7
Virtex-7
Artix-7
ZynqNot applicable. (set internally = 3.0)
1.1 = for Kintex-7 325T IES (initial silicon)
3.0 = for GES (general silicon)
1.1 = for Virtex-7 485T IES (initial silicon)
3.0 = for GES and Production (general silicon and Production silicon)
1.0 = for IES (initial silicon) as well as GES and Production (General silicon and Production
silicon) to use latest serial transceiver wrappers (only allowable value)
Memory Map
The memory map shown in Ta ble 2-7 shows the address mapping for the AXI Bridge for PCI
Express core. These registers are described in more detail in the following section. All
registers are accessed through the AXI4-Lite Control Interface and are offset from
C_BASEADDR. During a reset, all registers return to default values.
AXI Base Address Translation Configuration
Registers
PCIe Configuration Space Header
The PCIe Configuration Space Header is a memory aperture for accessing the core for PCIe
configuration space. For 7 series devices, this area is read-only when configured as an
Endpoint. Writes are permitted for some registers when a 7 series device is configured as a
Root Port. Special access modes can be enabled using the PHY Status/Control register. All
reserved or undefined memory-mapped addresses must return zero and writes have no
effect.
VSEC Capability Register (Offset 0x128)
The VSEC Capability register (described in Tabl e 2-8) allows the memory space of the core
to appear as though it is a part of the underlying core configuration space. The VSEC is
inserted immediately following the last enhanced capability structure in the underlying
block. VSEC is defined in §7.18 of the PCI Express Base Specification, v1.1 (§7.19 of v2.0)
[Ref 5].
AXI bridge defined
memory-mapped
space.
Table 2-8: VSEC Capability Register
BitsName
15:0VSEC Capability IDRO0x000B
19:16Capability VersionRO0x1Version of this capability structure. Hardcoded to 0x1.
31:20
Next Capability
Offset
Core
Access
RO0x200Offset to next capability. Hardcoded to 0x0200.
Reset ValueDescription
PCI-SIG® defined ID identifying this Enhanced
Capability as a Vendor-Specific capability. Hardcoded to
0x000B.
AXI Bridge for PCI Express v2.4www.xilinx.com27
PG055 June 4, 2014
VSEC Header Register (Offset 0x12C)
SendFeedback
The VSEC Header register (described in Tab le 2-9) provides a unique (within a given vendor)
identifier for the layout and contents of the VSEC structure, as well as its revision and
length.
Table 2-9: VSEC Header Register
Chapter 2: Product Specification
BitsName
15:0VSEC IDRO0x0001
19:16VSEC REVRO0Version of this capability structure. Hardcoded to 0h.
31:20VSEC LengthRO0x038
Core
Access
Reset ValueDescription
ID value uniquely identifying the nature and format of
this VSEC structure.
Length of the entire VSEC Capability structure, in bytes,
including the VSEC Capability register. Hardcoded to
0x038 (56 decimal).
Bridge Info Register (Offset 0x130)
The Bridge Info register (described in Ta bl e 2-10) provides general configuration
information about the AXI4-Stream Bridge. Information in this register is static and does
not change during operation.
Table 2-10: Bridge Info Register
BitsName
0Gen 2 C apa bl eRO0
1Root Port PresentRO0
Core
Access
Reset
Val u e
Description
If set, indicates the link is Gen2 capable. Underlying integrated
block and Link partner support PCIe Gen2 speed.
Indicates the underlying integrated block is a Root Port when
this bit is set.
If set, Root Port registers are present in this interface.
2
15:3ReservedRO0Reserved
18:16ECAM SizeRO0
31:19Reser vedRO0Reserved
AXI Bridge for PCI Express v2.4www.xilinx.com28
PG055 June 4, 2014
Up Config
Capable
RO
Indicates the underlying integrated block is upconfig capable
when this bit is set.
Size of Enhanced Configuration Access Mechanism (ECAM) Bus
Number field, in number of bits. If ECAM window is present,
value is between 1 and 8. If not present, value is 0. Total address
bits dedicated to ECAM window is 20+(ECAM Size).
The size of the ECAM is determined by the parameter settings
of C_BASEADDR and C_HIGHADDR.
Bridge Status and Control Register (Offset 0x134)
SendFeedback
The Bridge Status and Control register (described in Tab le 2-11) provides information about
the current state of the AXI4-Stream Bridge. It also provides control over how reads and
writes to the Core Configuration Access aperture are handled.
Table 2-11: Bridge Status and Control Register
Chapter 2: Product Specification
BitsName
0ECAM BusyRO0
7:1ReservedRO0Reser ved
8
15:9ReservedRO0Reser ved
16RW1C as RWRW0
17RO as RWRW0
31:18Reser vedRO0Reserved
Global
Disable
Core
Access
RW0
Reset
Value
Indicates an ECAM access is in progress (waiting for
completion).
When set, disables interrupt line from being asserted. Does not
prevent bits in Interrupt Decode register from being set.
When set, allows writing to core registers which are normally
RW1C.
When set, allows writing to certain registers which are normally
RO.
(Only supported for Kintex-7 FPGA cores.)
Interrupt Decode Register (Offset 0x138)
The Interrupt Decode register (described in Tab le 2-12) provides a single location where the
host processor interrupt service routine can determine what is causing the interrupt to be
asserted and how to clear the interrupt. Writing a 1'b1 to any bit of the Interrupt Decode
register clears that bit except for the Correctable, Non-Fatal, and Fatal bits.
Description
AXI Bridge for PCI Express v2.4www.xilinx.com29
PG055 June 4, 2014
Follow this sequence to clear the Correctable, Non-Fatal, and Fatal bits:
1. Clear the Root Port Error FIFO (0x154) by performing first a read, followed by write-back
of the same register.
2. Write to the Interrupt Decode Register (0x138) with ‘1’ to the appropriate error bit to
clear it.
IMPORTANT: An asserted bit in the Interrupt Decode register does not cause the interrupt line to assert
unless the corresponding bit in the Interrupt Mask register is also set.
Table 2-12: Interrupt Decode Register
SendFeedback
Chapter 2: Product Specification
BitsName
0Link DownRW1C0
1ECRC ErrorRW1C0
2Streaming ErrorRW1C0
3Hot ResetRW1C0Indicates a Hot Reset was detected.
4Reser vedRO0Reserved
7:5
8Cfg TimeoutRW1C0
9CorrectableRW1C0
10Non-FatalRW1C0
Cfg Completion
Status
Core
Access
RW1C0Indicates config completion status.
Reset
Value
Description
Indicates that Link-Up on the PCI Express link was lost. Not
asserted unless link-up had previously been seen.
Indicates Received packet failed ECRC check.
(Only applicable to Kintex-7 FPGA cores.)
Indicates a gap was encountered in a streamed packet on the TX
interface (RW, RR, or CC).
Indicates timeout on an ECAM access.
(Only applicable to Root Port cores.)
Indicates a correctable error message was received.
Requester ID of error message should be read from the Root Port
FIFO.
(Only applicable to Root Port cores.)
Indicates a non-fatal error message was received.
Requester ID of error message should be read from the Root Port
FIFO.
(Only applicable to Root Port cores.)
Indicates a fatal error message was received.
11FatalRW1C0
15:12Reser vedRO0Reser ved
16
17
19:18Reser vedRO0Reser ved
20
21
22
23Slave Error PoisonRW1C0Indicates the EP bit was set in a completion TLP.
INTx Interrupt
Received
MSI Interrupt
Received
Slave
Unsupported
Request
Slave Unexpected
Completion
Slave Completion
Timeout
RW1C0
RW1C0
RW1C0
RW1C0
RW1C0
Requester ID of error message should be read from the Root Port
FIFO.
(Only applicable to Root Port cores.)
Indicates an INTx interrupt was received.
Interrupt details should be read from the Root Port FIFO.
(Only applicable to Root Port cores.)
Indicates an MSI(x) interrupt was received.
Interrupt details should be read from the Root Port FIFO.
(Only applicable to Root Port cores.)
Indicates that a completion TLP was received with a status of
0b001 - Unsupported Request.
Indicates that a completion TLP was received that was
unexpected.
Indicates that the expected completion TLP(s) for a read request
for PCIe was not returned within the time period selected by the
C_COMP_TIMEOUT parameter.
AXI Bridge for PCI Express v2.4www.xilinx.com30
PG055 June 4, 2014
Loading...
+ 77 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.