BAR Addressing - 3.3 English

Versal ACAP CPM DMA and Bridge Mode for PCI Express Product Guide (PG347)

Document ID
PG347
Release Date
2022-11-02
Version
3.3 English

Aperture_Base_Address_n represents Aperture Base Address of nth BAR in GUI

Aperture_High_Address_n represents Aperture High Address of nth BAR in GUI

AXI to PCIe Translation_n represents AXI to PCIe_translation of nth BAR in GUI

Aperture_Base_Address n and Aperture_High_Address_n are used to calculate the size of the AXI BAR n and during address translation to PCIe address.

  • Aperture_Base_Address_n provides the low address where AXI BAR n starts and will be regarded as address offset 0x0 when the address is translated.
  • Aperture_High_Address_n is the high address of the last valid byte address of AXI BAR n. (For more details on how the address gets translated, see Address Translation.)

The difference between Aperture_Base_Address_n and Aperture_High_Address_n is your AXI BAR n size. These values must be set accordingly such that the AXI BAR n size is a power of two and must have at least 4K.

When a packet is sent to the core (outgoing PCIe packets), the packet must have an address that is in the range of Aperture_Base_Address_n and Aperture_High_Address_n. Any packet that is received by the core that has an address outside of this range will be responded to with a SLVERR. When the IP integrator is used, these parameters are derived from the Address Editor tab within the IP integrator. The Address Editor sets the AXI Interconnect as well as the core so the address range matches, and the packet is routed to the core only when the packet has an address within the valid range.

AXI Address width is limited to 48 bits.