Altera Cyclone V Device Handbook page 834

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

16-38
DMASEV
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>
Note:
Typically, you use DMAWFE to stall a thread and then another thread executes DMASEV, using
the appropriate event number, to unstall the waiting thread.
• Signals an interrupt using irq <event_num>.
Figure 16-18: DMASEV Instruction Encoding
Assembler syntax
DMASEV <event_num>
where:
<event_num> 5-bit immediate, value 0-31
Note:
The DMAC aborts the thread if you select an event number that is not available.
Operation
You can use the instruction with the DMA manager thread and the DMA channel thread.
Related Information
Using Events and Interrupts
Using an Event to Restart DMA Channels
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
Assembler syntax
DMAST[S|B]
Altera Corporation
15
11
10
9
8
7 6
5 4 3 2 1
event_num[4:0]
0
0
0
0
0
1
on page 16-14
on page 16-14
7
6 5 4 3 2 1
0
0
0
0
1
0
bs
0
1
0
1
0
0
0
x
cv_54016
2013.12.30
DMA Controller
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents