Use this guide to enable and connect PCIe Link Debug in a Vivado IP integrator design. This section only describes the additional connections that should be added to enable PCIe Link Debug in a design. It does not discuss how to properly connect the PCIe enabled IPs to create a working design. Block automation can be used, or the connectivity and connections described below should be added to an existing design and IP configuration.
- Enable this option in the core customization wizard, and select the options
in the customization GUI, as shown below. The CPM PCIe cores are customized
through the CIPS IP and for PL PCIe cores are customized through the Versal ACAP
Integrated Block for PCIe IP.
This adds the PCIe debug core to the PCIe IP and exposes the debug AXI4-Stream interfaces and ports. The debug AXI4-Stream and interface ports should be connected to a Debug Hub IP within the Versal design to enable debug for the design. The PCIe example design provides one implementation of how the Debug Hub IP can be connected in Versal designs. This is also detailed in the description below.
- Add the Debug Hub IP to the design and use the following configuration
options to enable the Debug Hub AXI Memory Mapped interface along with one set
of AXI4-Stream interfaces. Additional AXI4-Stream interfaces can be enabled and
connected in your design as desired.
- Add the CIPS IP to the design or configure the existing CIPS IP and include
the following configuration options. These options will enable an AXI Master,
clock, and reset that can be connected to the Debug Hub IP. To do so:
selection enable a 100 MHz or similar output clock.
- Select Number of PL Resets, and the M_AXI_LPD
, and enable at least one PL reset in
- Add and configure the Processor System Reset IP.
- Connect the IPs as shown in the following figures. This may need to be
customized to fit with existing design connectivity.
After the debug connections have been added to an Vivado IP integrator design, as shown above, PCIe Link debug is enabled in the generated .pdi image. The connections shown above should be added to a full design and are not sufficient to create a working design alone. The PCIe IP ports and the remainder of the design must be created and configured as per the desired operation of the PCIe-enabled IP.