User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 277
UG585 (v1.11) September 27, 2016
Chapter 9: DMA Controller
Table 9-11: DMAC Aligned Memory-to-Memory Transfers
Description Code MFIFO Usage
Simple Aligned Program
In this program the source address and
destination address are aligned with the
AXI data bus width.
DMAMOV CCR, SB4 SS64
DB4 DS64
DMAMOV SAR, 0x1000
DMAMOV DAR, 0x4000
DMALP 16
DMALD
DMAST
DMALPEND
DMAEND
Each DMALD requires four entries and
each DMAST removes four entries.
This example has a static requirement
of zero MFIFO entries and a dynamic
requirement of four MFIFO entries.
Aligned asymmetric program with
multiple loads
The following program performs four
loads for each store and the source
address and destination address are
aligned with the AXI data bus width.
DMAMOV CCR, SB1 SS64
DB4 DS64
DMAMOV SAR, 0x1000
DMAMOV DAR, 0x4000
DMALP 16
DMALD
DMALD
DMALD
DMALD
DMAST
DMALPEND
Each DMALD requires one entry and
each DMAST removes four entries.
This example has a static requirement
of zero MFIFO entries and a dynamic
requirement of four MFIFO entries.
Aligned asymmetric program with
multiple stores
The following program performs four
stores for each load and the source
address and destination address are
aligned with the AXI data bus width.
DMAMOV CCR, SB4 SS64
DB1 DS64
DMAMOV SAR, 0x1000
DMAMOV DAR, 0x4000
DMALP 16
DMALD
DMAST
DMAST
DMAST
DMAST
DMALPEND
DMAEND
Each DMALD requires four entries and
each DMAST removes one entry.
This example has a static requirement
of zero MFIFO entries and a dynamic
requirement of four MFIFO entries.