The fundamental resets for the CPM
PCIe®
controllers and associated GTs are perst0n and perst1n. These resets
should be provided as an input to the FPGA for both endpoint and root port modes using the
pins identified in GT Selection and Pin Planning for CPM4 and GT Selection and Pin Planning
for CPM5 sections.
- PERST# input to the IP is routed from one of the allowed PS/PMC MIO pins through a dedicated logic into the CPM.
- Selection of the PS/PMC MIO pins is made in CIPS/PS Wizard, but it is not made in the CPM sub-core, rather it is made in the PS/PMC sub-core.
- Users of the configurable example designs (CEDs) are advised that CEDs by default have PERST# assignment(s) but it is a best practice to visit the IP configuration GUI for CIPS/PS Wizard to ensure the pin assignment matches the PERST# connectivity in the board schematic.
There is a power-on-reset for CPM driven by the platform management controller (PMC). When both PS and the power-on reset from PMC are released, CPM PCIE controllers and the associated GTs come out of reset. After the reset is released, the core attempts to link the train and resumes normal operation.
There is a pcie(n)_user_reset given from the
CPM PCIE controller to the user design present in the fabric logic.
Whenever CPM PCIE controller goes through a reset,
or there is a link down, the
CPM PCIE
controller issues a pcie(n)_user_reset to the user design in the programmable logic (PL) region. After
the PCIe link is up, pcie(n)_user_reset is
released for the user design to come out of reset.
To reset the DMA block, deassert the dma_soft_resetn pin. This pin is active-Low, and by default it
should be tied to High. This does not reset the entire CPM PCIE controller but it resets only
the DMA (XDMA/QDMA/AXI Bridge) block.