Altera cyclone V Technical Reference page 1206

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

cv_5v4
2016.10.28
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 ; shown as a in the figure below
DMAST ; shown as b in the figure below
DMAST ; shown as c in the figure below
DMAST ; shown as d in the figure below
DMAST ; shown as e in the figure below
DMALPEND
DMAEND
Figure 16-30: Aligned Asymmetric Program with Multiple Stores
Each
DMALD
This example has a static requirement of zero MFIFO buffer entries and a dynamic requirement of four
MFIFO buffer entries.
Unaligned Transfers
Aligned Source Address to Unaligned Destination Address
In the following program, the source address is aligned with the AXI data bus width but the destination
address is unaligned. The destination address is not aligned to the destination burst size so the first
instruction removes less data than the first
word is required to clear the data from the MFIFO buffer.
DMAMOV CCR, SB4 SS64 DB4 DS64
DMAMOV SAR, 0x1000
DMAMOV DAR, 0x4004
DMALP 16
DMALD ; shown as a1, ... a, an in the figure below
DMAST ; shown as b in the figure below
DMALPEND
DMAMOV CCR, SB4 SS64 DB1 DS32
DMAST ; shown as c in the figure below
DMAEND
DMA Controller
Send Feedback
requires four entries and each
a
a
4
b
b
c
c
d
d
0
e
e
Aligned Asymmetric Program with Multiple Stores
removes one entry.
DMAST
Data from
DMALD
a
7
a a a a a a a a
b
a a a a a a a a
c
a a a a a a a a
d
a a a a a a a a
Data for
e
4x DMAST
instruction reads. Therefore, a final
DMALD
DMALD
0
DMAST
of a single
DMAST
Altera Corporation
16-55
DMAST

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents