Altera cyclone V Technical Reference page 1190

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

Advertisement

cv_5v4
2016.10.28
Note: If you provide a channel number that is not available for your configuration of the DMAC, the
DMA manager thread aborts.
-
<32
bit_immediate>
<channel_number>
[ns]
• If
is present, the DMA channel operates in the Non-secure state.
ns
• Otherwise, the execution of the instruction depends on the security state of the DMA manager:
DMA manager is in the Secure state—DMA channel operates in the Secure state.
DMA manager is in the Non-secure state—The DMAC aborts.
Operation
You can only use this instruction with the DMA manager thread.
DMAKILL
Kill instructs the DMAC to immediately terminate execution of a thread. Depending on the thread type,
the DMAC performs the following steps:
DMA Manager Thread
1. Invalidates all cache entries for the DMA manager.
2. Moves the DMA manager to the Stopped state.
DMA Channel Thread
1. Moves the DMA channel to the Killing state.
2. Waits for AXI transactions, with an ID equal to the DMA channel number, to complete.
3. Invalidates all cache entries for the DMA channel.
4. Remove all entries in the MFIFO buffer for the DMA channel.
5. Remove all entries in the read buffer queue and write buffer queue for the DMA channel.
6. Moves the DMA channel to the Stopped state.
Figure 16-13: DMAKILL Instruction Encoding
Assembler syntax
DMAKILL
Operation
You can use the instruction with the DMA manager thread and the DMA channel thread.
Note: You must not use the
tion, use the
DMA Controller
Send Feedback
The immediate value that is written to the
.
7 6 5 4 3 2 1 0
0
0
instruction in DMA channel programs. To issue a
DMAKILL
register.
DBGINST0
CPCn
0
0 0 0
0
1
DMAKILL
register for the selected
DMAKILL
Altera Corporation
16-39
instruc‐

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents