DMASEV
Send Event instructs the DMAC to modify an event-interrupt resource. Depending on how you program
the interrupt enable register, this either:
• Generates event <event_num>
Typically, you use
DMAWFE
to stall a thread and then another thread executes
DMASEV
, using
the appropriate event number, to unstall the waiting thread.
Note:
• Signals an interrupt using
irq <event_num>
.
Figure 16-18: DMASEV Instruction Encoding
0
7 6
5 4 3 2 1
0
15
8
event_num[4:0]
10
11
0
9
0
0
0
0
0
1
1
1
0
Assembler syntax
DMASEV <event_num>
where:
<event_num>
5-bit immediate, value 0-31
The DMAC aborts the thread if you select an event number that is not available.
Note:
Operation
You can use the instruction with the DMA manager thread and the DMA channel thread.
Related Information
•
on page 16-14
•
Using an Event to Restart DMA Channels
on page 16-14
DMAST[S | B]
Store instructs the DMAC to transfer data from the FIFO buffer to the location that the destination address
registers specifies, using AXI transactions that the DA register and channel control registers specify. If the
dst_inc
bit in the channel control registers is set to incrementing, the DMAC updates the destination
address registers after it executes
DMAST[S|B]
.
Figure 16-19: DMAST[S|B] Instruction Encoding
x
7
6 5 4 3 2 1
0
bs
0
0
0
0
0
1
Assembler syntax
DMAST[S|B]
DMA Controller
Altera Corporation
cv_54016
DMASEV
16-38
2013.12.30