R

Chapter 4: MicroBlaze Instruction Set Architecture

put

put to fsl interface

 

put

rA, FSLx

put data to FSL x (blocking)

nput

rA, FSLx

put data to FSL x (non-blocking)

cput

rA, FSLx

put control to FSL x (blocking)

ncput

rA, FSLx

put control to FSL x (non-blocking)

0 1 1 0 1 1

0 0 0 0 0

rA

1 n c 0 0 0 0 0 0 0 0 0 0

FSLx

0

6

11

16

29

31

Description

MicroBlaze will write the value from register rA to the FSLx interface.

The put instruction has four variants.

The blocking versions (when ‘n’ is ‘0’) will stall microblaze until there is space available in the FSL 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.

The put and nput instructions will set the control bit to the FSL interface to ‘0’ and the cput and ncput instruction will set the control bit to ‘1’.

Pseudocode

(FSLx) (rA) if (n = 1) then

MSR[Carry] (FSLx Full bit) (FSLx Control bit) C

Registers Altered

MSR[Carry]

Latency

2 cycles. For blocking accesses, MicroBlaze will first stall until space is available on the FSL interface.

126

www.xilinx.com

MicroBlaze Processor Reference Guide

 

1-800-255-7778

UG081 (v6.0) June 1, 2006

Page 126
Image 126
Xilinx EDK 8.2i manual Put to fsl interface, Nput, Cput, Ncput