CPM5 Mailbox Ports - 3.0 English

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

Document ID
PG347
Release Date
2022-06-15
Version
3.0 English
Note: Mailbox ports are always connected to Mailbox IP. If Mailbox IP is not used, leave the port unconnected (floating). See the following figure for connection reference.
Figure 1. CPM5 Mailbox Connection

The following connections are related to the above example design. To connect the Mailbox IP, follow these steps:

  1. Add PCIe QDMA Mailbox IP. To do so:
    1. Configure the IP for the number of PFs (should be same as number of PFs selected in QDMA configuration).
    2. Configure the IP for the number of VFs in each PF (should be same as number of VFs selected in QDMA configuration).
    Note: It is important to match number PFs and VFs to the numbers configured in the QMDA IP. If not, the design will not work.
  2. Re-configure the NoC IP to add one extra AXI Master port. To do so,
    1. Assign one more AXI clock.
    2. In the Outputs tab, assign M02_AXI to aclk2.
    3. In the Connectivity tab, select the M02_AXI PL option for both S00_AXI and SS01_AXI ps_pcie.
  3. Add AXI SmartConnect IP.
    1. Configure the IP to have one master, one slave, one clock, and one reset.

Follow the CPM5 Mailbox Connection figure above to make the necessary connections.

  1. Connect M02_AXI interface to Smartconnect1, from Smartconnect1, connect M00_AXI to Mailbox IP.
  2. Connect dma0_usr_irq from CIPS IP to the Mailbox IP output.
  3. Connect dma0_usr_flr from CIPS IP to the Mailbox IP output.
  4. Make usr_flr and usr_irq interface in the Mailbox IP as external pins.
Table 1. Mailbox Ports
Port Name I/O Description
dma0_mgmt I

These DMA management ports should be connect to Mailbox IP.