EasyManua.ls Logo

Xilinx MicroBlaze - Page 238

Xilinx MicroBlaze
316 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MicroBlaze Processor Reference Guide 239
UG984 (v2018.2) June 21, 2018 www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
Pseudocode
if MSR[UM] = 1 then
ESR[EC] 00111
else
x
rB[28:31]
if x >= C_FSL_LINKS then
x
0
(rD) Sx_AXIS_TDATA
if (n = 1) then
MSR[Carry]
Sx_AXIS_TVALID
if Sx_AXIS_TLAST c and Sx_AXIS_TVALID then
MSR[FSL] 1
if (e = 1) then
ESR[EC]
00000
ESR[ESS] rB[28:31]
EDR
Sx_AXIS_TDATA
Registers Altered
rD, unless an exception is generated, in which case the register is unchanged
MSR[FSL]
MSR[Carry]
ESR[EC], in case a stream exception or a privileged instruction exception is generated
ESR[ESS], in case a stream exception is generated
EDR, in case a stream exception is generated
Latency
1 cycle with C_AREA_OPTIMIZED=0 or 2
2 cycles with
C_AREA_OPTIMIZED=1
The blocking versions of this instruction will stall the pipeline of MicroBlaze until the instruction can
be completed. Interrupts are served unless the instruction is atomic, which ensures that the
instruction cannot be interrupted.
Notes
The blocking versions of this instruction should not be placed in a delay slot, since this prevents
interrupts from being served.
For non-blocking versions, an rsubc instruction can be used to decrement an index variable.
The ‘e’ bit does not have any effect unless C_FSL_EXCEPTION is set to 1.
These instructions are only available when the MicroBlaze parameter C_FSL_LINKS is greater than 0
and the parameter C_USE_EXTENDED_FSL_INSTR is set to 1.
It is not recommended to allow these instructions in user mode, unless absolutely necessary for
performance reasons, since that removes all hardware protection preventing incorrect use of a link.
Send Feedback

Table of Contents

Other manuals for Xilinx MicroBlaze

Related product manuals