MicroBlaze Processor Reference Guide
233
UG081 (v14.7)
Instructions
putd
Put to stream interface dynamic
Description
MicroBlaze will write the value from register rA to the link interface defined by the four least
significant bits in rB. If the available number of links set by
C_FSL_LINKS
is less than or equal to
the four least significant bits in rB, link 0 is used.
The putd instruction has 16 variants.
The blocking versions (when ‘n’ is ‘0’) will stall MicroBlaze until there is space available in the
interface. The non-blocking versions will not stall MicroBlaze and will set carry to ‘0’ if space was
available and to ‘1’ if no space was available.
All data putd instructions (when ‘c’ is ‘0’) will set the control bit to the interface to ‘0’ and all
control putd instructions (when ‘c’ is ‘1’) will set the control bit to ‘1’.
The test versions (when ‘t’ bit is ‘1’) will be handled as the normal case, except that the write signal
to the link is not asserted (thus no source register is required).
Atomic versions (when ‘a’ bit is ‘1’) are not interruptible. This means that a sequence of atomic
instructions can be grouped together without an interrupt breaking the program flow. However, note
that exceptions may still occur.
When MicroBlaze is configured to use an MMU (
C_USE_MMU
>= 1) and not explicitly allowed by
setting
C_MMU_PRIVILEGED_INSTR
to 1 these instructions are privileged. This means that if
these instructions are attempted in User Mode (MSR[UM] = 1) a Privileged Instruction exception
occurs.
na
putd
rA, rB
put data to link rB[28:31]
n
= non-blocking
a
= atomic
t
na
putd
rB
put data to link rB[28:31] test-only
n
= non-blocking
a
= atomic
n
c
a
putd
rA, rB
put control to link rB[28:31]
n
= non-blocking
a
= atomic
t
n
c
a
putd
rB
put control to link rB[28:31] test-only
n
= non-blocking
a
= atomic
0 1 0 0 1 1 0 0 0 0 0
rA
rB
1 n c t a 0 0 0 0 0 0
0
6
11
16
21
31
Содержание MicroBlaze
Страница 1: ...MicroBlaze Processor Reference Guide Embedded Development Kit EDK 14 7 UG081 v14 7...
Страница 4: ...MicroBlaze Processor Reference Guide www xilinx com UG081 v14 7...
Страница 8: ...8 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Chapter 1 Introduction Send Feedback...
Страница 262: ...262 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Send Feedback...