This example design allocates 4K of block RAM attached to the CPU via M_AXI_GP0. The same block RAM is also accessible by the CDMA. The CPU initializes the block RAM. The CDMA in simple mode is transferring data from the block RAM to the OCM via ACP port. The transfer is cache coherent and when the transfer is complete, the CPU sees the updated OCM without invalidating or flushing the cache.
| Implementation Details | |||
|---|---|---|---|
| Design Type | PS and PL | ||
| SW Type | Standalone | ||
| CPUs | Single CPU @ 667MHz | ||
| PS Features | MMU, OCM | ||
| PL Cores | BRAM, CDMA | ||
| Boards/Tools | ZC702 | ||
| Xilinx Tools Version | EDK 14.1 | ||
| Other details | FCLK @ 50MHz | ||
| Address Map | |||
| Files Provided | |||
| cdma_acp_design.zip | Archived XPS project. | ||
| hello_axi_cdma.c | Snippet of code. | ||
Block Diagram | |||
Step-by-Step Instructions
Important Notes
/* S=b1 TEX=b100 AP=b11, Domain=b0, C=b1, B=b1 */
Xil_SetTlbAttributes(0xFFF00000,0x10C06);
Expected Results
On the Terminal, at the end of the test, the destination memory should match the source memory.
The CPU can see the data transferred by the CDMA without any particular software implemented.
| Answer Number | Answer Title | Version Found | Version Resolved |
|---|---|---|---|
| 51779 | Zynq-7000 AP SoC Example Designs | N/A | N/A |