Figure 16-25: Simple Aligned Program
Each
DMALD
requires four entries and each
DMAST
removes four entries.
0
4
a
a
a
a
b
b
b
b
Data from
DMALD
a
a
a
a
a
a
a
a
0
7
Data for
DMAST
DMALD
DMAST
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
This example has a static requirement of zero MFIFO buffer entries and a dynamic requirement of four
MFIFO buffer 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 ; shown as a in the figure below
DMALD ; shown as b in the figure below
DMALD ; shown as c in the figure below
DMALD ; shown as d in the figure below
DMAST ; shown as e in the figure below
DMALPEND
DMAEND
Figure 16-26: Aligned Asymmetric Program with Multiple Loads
Each
DMALD
requires one entry and each
DMAST
removes four entries.
Data from
4x DMALD
a
a
a
a
a
a
a
a
0
7
DMALD
DMAST
b
b
b
b
b
b
b
b
c
c
c
c
c
c
c
c
d
d
d
d
d
d
d
d
0
4
a
b
c
d
e
a
b
c
d
a
b
c
d
e
e
Data for
DMAST
This example has a static requirement of zero MFIFO buffer entries and a dynamic requirement of four
MFIFO buffer entries.
DMA Controller
Altera Corporation
cv_54016
Aligned Asymmetric Program with Multiple Loads
16-46
2013.12.30