Note: Mailbox ports are always connected to Mailbox IP. If
Mailbox IP is not used, leave the port unconnected (floating). For connection reference
look at the picture below.
Port Name | I/O | Description |
---|---|---|
dma0_mgmt | I |
These DMA management ports should be connect to Mailbox IP. |
Figure 1. CPM4 Mailbox Connection
To connect the Mailbox IP connection, follow these steps.
- Add PCIe QDMA Mailbox IP. To do so,
- Configure the IP for number of PFs (should be same as number of PF selected in QDMA configuration).
- Configure the IP for number of VFs in each PF(should be same as number of VF 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. - Re-configure NoC IP to add one extra AXI
Master port. To do so,
- Assign one more AXI clock.
- In Outputs tab, assign M00_AXI to aclk2.
- In Connectivity tab, select the MM00_AXI pl option for both S00_AXI and SS01_AXIps_pcie.
- Add AXI SmartConnect IP.
- Configure the IP to have one Master, one Slave, one clock, and one reset.
Follow the diagram to make all necessary connection.
- Connect
dma0_usr_irq
from CIPS IP to output of Mailbox IP. - Connect
dma0_usr_flr
from CIPS IP to output of Mailbox IP. - Make
usr_flr
andusr_irq
interface in Mailbox IP as external pins.