Microblaze Processor Reference Guide Embedded Development Kit EDK 10.1I
Total Page:16
File Type:pdf, Size:1020Kb
MicroBlaze Processor Reference Guide Embedded Development Kit EDK 10.1i UG081 (v9.0) R © 2008 Xilinx, Inc. All Rights Reserved. XILINX, the Xilinx logo, and other designated brands included herein are trademarks of Xilinx, Inc. All other trademarks are the property of their respective owners. NOTICE OF DISCLAIMER: Xilinx is providing this design, code, or information “as is.” By providing the design, code, or information as one possible implementation of this feature, application, or standard, Xilinx makes no representation that this implementation is free from any claims of infringement. You are responsible for obtaining any rights you may require for your implementation. Xilinx expressly disclaims any warranty whatsoever with respect to the adequacy of the implementation, including but not limited to any warranties or representations that this implementation is free from claims of infringement and any implied warranties of merchantability or fitness for a particular purpose. MicroBlaze Processor Reference Guide UG081 (v9.0) The following table shows the revision history for this document. Date Version Revision 10/01/02 1.0 Xilinx EDK 3.1 release 03/11/03 2.0 Xilinx EDK 3.2 release 09/24/03 3.0 Xilinx EDK 6.1 release 02/20/04 3.1 Xilinx EDK 6.2 release 08/24/04 4.0 Xilinx EDK 6.3 release 09/21/04 4.1 Minor corrections for EDK 6.3 SP1 release 11/18/04 4.2 Minor corrections for EDK 6.3 SP2 release 01/20/05 5.0 Xilinx EDK 7.1 release 04/02/05 5.1 Minor corrections for EDK 7.1 SP1 release 05/09/05 5.2 Minor corrections for EDK 7.1 SP2 release 10/05/05 5.3 Minor corrections for EDK 8.1 release 02/21/06 5.4 Corrections for EDK 8.1 SP2 release 06/01/06 6.0 Xilinx EDK 8.2 release 07/24/06 6.1 Minor corrections for EDK 8.2 SP1 release 08/21/06 6.2 Minor corrections for EDK 8.2 SP2 release 08/29/06 6.3 Minor corrections for EDK 8.2 SP2 release 09/15/06 7.0 Xilinx EDK 9.1 release 02/22/07 7.1 Minor corrections for EDK 9.1 SP1 release 03/27/07 7.2 Minor corrections for EDK 9.1 SP2 release 06/25/07 8.0 Xilinx EDK 9.2 release 10/12/07 8.1 Minor corrections for EDK 9.2 SP2 release 01/17/08 9.0 Xilinx EDK 10.1 release MicroBlaze Processor Reference Guide www.xilinx.com UG081 (v9.0) 1-800-255-7778 Table of Contents Preface: About This Guide Guide Contents . 5 Conventions . 6 Typographical . 6 Online Document . 7 Chapter 1: MicroBlaze Architecture Overview . 10 Features . 10 Data Types and Endianness . 12 Instructions. 13 Registers . 21 General Purpose Registers . 21 Special Purpose Registers . 22 Pipeline Architecture . 44 Three Stage Pipeline . 44 Five Stage Pipeline . 44 Branches . 44 Memory Architecture. 46 Privileged Instructions. 47 Virtual-Memory Management. 48 Real Mode . 48 Virtual Mode . 49 Translation Look-Aside Buffer . 50 Access Protection . 55 UTLB Management . 56 Recording Page Access and Page Modification . 57 Reset, Interrupts, Exceptions, and Break . 58 Reset . 58 Hardware Exceptions . 59 Breaks . 61 Interrupt . 62 User Vector (Exception) . 62 Instruction Cache . 63 Overview . 63 General Instruction Cache Functionality . 63 Instruction Cache Operation . 64 Instruction Cache Software Support . 64 Data Cache . 65 Overview . 65 General Data Cache Functionality . 65 Data Cache Operation . 66 Data Cache Software Support . 66 Floating Point Unit (FPU). 67 Overview . 67 UG081 (v9.0) www.xilinx.com MicroBlaze Processor Reference Guide 1-800-255-7778 Format . 67 Rounding . 68 Operations . 68 Exceptions . 68 Fast Simplex Link (FSL) . 69 Hardware Acceleration using FSL . 69 Debug and Trace . 70 Debug Overview . 70 Trace Overview . 70 Chapter 2: MicroBlaze Signal Interface Description Overview . 71 Features . 71.