Altera cyclone V Technical Reference page 1194

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

Advertisement

cv_5v4
2016.10.28
Assembler syntax
DMALPEND[S|B]
where:
If S is present and the loop starts with
[S]
tion is conditional on the state of the
request_type
• The DMAC executes the
request_type
• The DMAC performs a
If B is present and the loop starts with
[B]
tion is conditional on the state of the
request_type
• The DMAC performs a
request_type
• The DMAC executes the
If you do not specify the S or B operand, the assembler sets
executes the
Note: You must not specify the S or B operand when a loop starts with
issues a warning message and sets
DMAC uses the state of the
Note: The DMAC sets the value of the:
request_type
request_last
the peripheral request interface.
To correctly assign the additional bits in the
for:
backwards_jump[7:0]
assembler calculates the value for
in the loop from the address of the
sets it to:
nf
• 0 if
DMALPFE
• 1 if
DMALP
sets it to:
lc
• 0 if the loop counter 0 registers contains the loop counter value
• 1 if the loop counter 1 registers contains the loop counter value
• 1 if
DMALPFE
Operation
You can only use this instruction in a DMA channel thread. If you specify the S or B operand, execution of
the instruction is conditional on the state of the
DMA Controller
Send Feedback
request_type
= Single
DMALPEND
= Burst
DMANOP
request_type
= Single
DMANOP
= Burst
DMALPEND
.
DMALPEND
request_last
flag when it executes a
flag to 1 when the corresponding peripheral issues the last request command through
Sets the relative location of the first instruction in the program loop. The
backwards_jump[7:0]
DMALPEND
started the program loop
started the program loop.
started the program loop.
, then the assembler sets
DMALP
flag:
and therefore exits the loop.
, then the assembler sets
DMALP
flag:
and therefore exits the loop.
to 0 and
bs
to 0,
to 0, and
bs
x
nf
flag to control when it exits the loop.
instruction.
DMAWFP
instruction, the assembler determines the values
DMALPEND
by subtracting the address of the first instruction
.
request_type
DMALPEND[S | B]
to 0 and
to 1. The instruc‐
bs
x
to 1 and
to 1. The instruc‐
bs
x
to 0, and the DMAC always
x
. If you do, the assembler
DMALPFE
to 1. In the same way as for
flag matching that of the instruction.
16-43
, the
DMALPFE
Altera Corporation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents