EasyManuals Logo

Xilinx MicroBlaze Reference Guide

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
Page #253 background imageLoading...
Page #253 background image
MicroBlaze Processor Reference Guide 254
UG984 (v2018.2) June 21, 2018 www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
mfs
Move From Special Purpose Register
mfs
rD, rS
mfse
rD, rS
1 0 0 1 0 1 rD 0 E 0 0 0 1 0 rS
0 6 11 16 18
31
Description
Copies the contents of the special purpose register rS into register rD. The special purpose registers
TLBLO and TLBHI are used to copy the contents of the Unified TLB entry indexed by TLBX.
If the E bit is set, the extended part of the special register is moved. The EAR, PVR[8] and PVR[9}
registers have extended parts when extended addressing is enabled (C_ADDR_SIZE > 32), and the
TLBLO, PVR[6] and PVR[7] registers have extended parts when Physical Address Extension (PAE) is
enabled.
Pseudocode
if E = 1 then
switch (rS):
case 0x0003 : (rD) EAR[0:C_ADDR_SIZE-32-1]
case 0x1003 : (rD)
TLBLO[0:C_ADDR_SIZE-32-1]
case 0x2006 : (rD) PVR6[0:C_ADDR_SIZE-32-1]
case 0x2007 : (rD) PVR7[0:C_ADDR_SIZE-32-1]
case 0x2008 : (rD)
PVR8[0:C_ADDR_SIZE-32-1]
case 0x2009 : (rD) PVR9[0:C_ADDR_SIZE-32-1]
default : (rD) Undefined
else
switch (rS):
case 0x0000 : (rD)
PC
case 0x0001 : (rD)
MSR
case 0x0003 : (rD) EAR[C_ADDR_SIZE-32:C_ADDR_SIZE-1]
case 0x0005 : (rD) ESR
case 0x0007 : (rD)
FSR
case 0x000B : (rD) BTR
case 0x000D : (rD) EDR
case 0x0800 : (rD)
SLR
case 0x0802 : (rD) SHR
case 0x1000 : (rD) PID
case 0x1001 : (rD)
ZPR
case 0x1002 : (rD) TLBX
case 0x1003 : (rD) TLBLO[C_ADDR_SIZE-32:C_ADDR_SIZE-1]
case 0x1004 : (rD)
TLBHI
case 0x200x : (rD) PVRx[C_ADDR_SIZE-32:C_ADDR_SIZE-1] (where x = 0 to 12)
default : (rD) Undefined
Registers Altered
•rD
Send Feedback

Table of Contents

Other manuals for Xilinx MicroBlaze

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xilinx MicroBlaze and is the answer not in the manual?

Xilinx MicroBlaze Specifications

General IconGeneral
Architecture32-bit RISC
CacheConfigurable Instruction and Data Cache
CategorySoft Processor Core
Data Width32-bit
Memory Management Unit (MMU)Optional
Floating Point Unit (FPU)Optional
Interrupt ControllerConfigurable
Memory ManagementOptional MMU
ConfigurabilityHighly Configurable
Pipeline Stages3-stage
FPGA IntegrationXilinx FPGAs
Bus InterfacePLB
Debug InterfaceJTAG
Typical Clock SpeedVaries depending on FPGA and configuration (e.g., 100-400+ MHz)
ImplementationSoft core (synthesized logic)
Maximum PerformanceVaries with FPGA and configuration
Debug SupportIntegrated Debug Module

Related product manuals