Figure 16-6: DMAADNH Encoding
0
7 6
5 4 3 2 1
0
15
8
imm[7:0]
23
16
imm[15:8]
0
0
0
1 1
1 ra
Assembler syntax
DMAADNH <address_register>
,
<16
-
bit immediate>
where:
<address_register>
Selects the address register to use. It must be either:
SAR SARn
register and sets
ra
to 0
DAR DARn
register and sets
ra
to 1
<16
-
bit immediate>
The immediate value to be added to the
<address_register>
.
You should specify the 16-bit immediate as the number that is to be represented in the instruction
encoding. For example,
DMAADNH DAR
, 0xFFF0 causes the value 0xFFFFFFF0 to be added to the
current value of the Destination Address register, effectively subtracting 16 from the
DAR
.
Note:
Operation
You can only use this instruction in a DMA channel thread.
DMAEND
End signals to the DMAC that the DMA sequence is complete. After all DMA transfers are complete for the
DMA channel, the DMAC moves the channel to the Stopped state. It also flushes data from the MFIFO
buffer and invalidates all cache entries for the thread.
Figure 16-7: DMAEND Instruction Encoding
0
7 6 5 4 3 2 1
0
0
0
0
0
0
0
0
Assembler syntax
DMAEND
Operation
You can use the instruction with the DMA manager thread and the DMA channel thread.
DMAFLUSHP
Flush Peripheral clears the state in the DMAC that describes the contents of the peripheral and sends a
message to the peripheral to resend its level status.
Altera Corporation
DMA Controller
16-29
DMAEND
cv_54016
2013.12.30