|32 x 32 bits|
The MicroBlaze is a soft microprocessor core designed for Xilinx FPGAs from Xilinx. As a soft-core processor, MicroBlaze is implemented entirely in the general-purpose memory and logic fabric of Xilinx FPGAs.
In terms of its instruction set architecture, MicroBlaze is similar to the RISC-based DLX architecture described in a popular computer architecture book by Patterson and Hennessy. With few exceptions, the MicroBlaze can issue a new instruction every cycle, maintaining single-cycle throughput under most circumstances.
The MicroBlaze has a versatile interconnect system to support a variety of embedded applications. MicroBlaze's primary I/O bus, the CoreConnect PLB bus, is a traditional system-memory mapped transaction bus with master/slave capability. A newer version of the MicroBlaze, supported in both Spartan-6 and Virtex-6 implementations, as well as the 7-Series, supports the AXI specification. The majority of vendor-supplied and third-party IP interface to PLB directly (or through an PLB to OPB bus bridge). For access to local-memory (FPGA BRAM), MicroBlaze uses a dedicated LMB bus, which reduces loading on the other buses. User-defined coprocessors are supported through a dedicated FIFO-style connection called FSL (Fast Simplex Link). The coprocessor(s) interface can accelerate computationally intensive algorithms by offloading parts or the entirety of the computation to a user-designed hardware module.
Many aspects of the MicroBlaze can be user configured: cache size, pipeline depth (3-stage or 5-stage), embedded peripherals, memory management unit, and bus-interfaces can be customized. The area-optimized version of MicroBlaze, which uses a 3-stage pipeline, sacrifices clock frequency for reduced logic area. The performance-optimized version expands the execution pipeline to 5 stages, allowing top speeds of 210 MHz (on Virtex-5 FPGA family). Also, key processor instructions which are rarely used but more expensive to implement in hardware can be selectively added/removed (i.e. multiply, divide, and floating point operations). This customization enables a developer to make the appropriate design trade-offs for a specific set of host hardware and application software requirements.
With the memory management unit, MicroBlaze is capable of hosting operating systems requiring hardware-based paging and protection, such as the Linux kernel. Otherwise it is limited to operating systems with a simplified protection and virtual memory model, e.g. FreeRTOS or Linux without MMU support. MicroBlaze's overall throughput is substantially less than a comparable hardened CPU core (such as the PowerPC440 in the Virtex-5).
Xilinx's EDK (Embedded Development Kit) is the development package for building MicroBlaze (and PowerPC) embedded processor systems in Xilinx FPGAs. Hosted in the Eclipse IDE, the project manager consists of two separate environments: XPS and SDK.
Designers use XPS (Xilinx Platform Studio) to configure and build the hardware specification of their embedded system (processor core, memory-controller, I/O peripherals, etc.) The XPS converts the designer's platform specification into a synthesizeable RTL description (Verilog or VHDL), and writes a set of scripts to automate the implementation of the embedded system (from RTL to the bitstream-file.) For the MicroBlaze core, the EDK normally generates an encrypted (non human-readable) netlist, but the processor description (written in VHDL) can be purchased from Xilinx.
The SDK handles the software that will execute on the embedded system. Powered by the GNU toolchain (GNU Compiler Collection, GNU Debugger), the SDK enables programmers to write, compile, and debug C/C++ applications for their embedded system. Xilinx includes a cycle-accurate instruction set simulator (ISS), giving programmers the choice of testing their software in simulation, or using a suitable FPGA-board to download and execute on the actual system.
Purchasers of EDK or ISE Design Suite Embedded Edition(IDS) are granted a perpetual license to use MicroBlaze in Xilinx FPGAs with no recurring royalties. The license does not grant the right to use MicroBlaze outside of Xilinx's devices, which must be negotiated directly with Xilinx.
Alternative compilers and development tools have been made available from Altium but an EDK installation and license is still required.
Xilinx is not show a summary of MicroBlaze version, But mb_ref_guide.pdf from Xilinx included special register named PVR0 (Processor Version Register 0), when EDK updated, the register added new version. from v2.00.0 to v3.00.a is cite by mb_ref_guide.pdf of EDK 7.1i, but PVR0 not exist in EDK 6.x documents.
|PVR0||Microblaze Version||EDK Version|
|not exist||v2.00.a||(not sure)|
|not exist||v2.10.a||(not sure)|
|not exist||v3.00.a||(not sure)|
|0x01||v5.00.a||8.x (not sure)|
|0x02||v5.00.b||8.x (not sure)|
|0x03||v5.00.c||8.x (not sure)|
|0x06||v6.00.b||9.1 SP1, SP2 (not sure)|
|0x05||v7.00.a||9.2 (not sure)|
|0x07||v7.00.b||9.2 SP2 (not sure)|
|0x09||v7.10.b||10.1 SPI1 (not sure)|
|0x0A||v7.10.c||10.1 SPI2 (not sure)|
|0x0B||v7.10.d||10.1 SPI3 (not sure)|
|0x0C||v7.20.a||11.1 (not sure)|
|0x0D||v7.20.b||11.2 (not sure)|
|0x0E||v7.20.c||11.3 (not sure)|
In June, 2009, MicroBlaze became the first soft-CPU architecture to be merged into the mainline Linux Kernel Source tree. This work was performed by Michal Simek and supported by PetaLogix and Xilinx.
As of September 2009, MicroBlaze GNU tools support is also being contributed to the Free Software Foundation's mainline repositories. Support for MicroBlaze is included in GCC releases starting with version 4.6
- aeMB, implemented in Verilog, LGPL license
- OpenFire subset, implemented in Verilog, MIT license
- MB-Lite, implemented in VHDL, LGPL license
- MB-Lite+, implemented in VHDL, LGPL license
- myBlaze, implemented in MyHDL, LGPL license
- SecretBlaze, implemented in VHDL, GPL license
Other soft processors
- "GCC 4.6 Release Series Changes, New Features, and Fixes". 2011-03-15. Retrieved 2011-03-15.
Support has been added for the Xilinx MicroBlaze softcore processor (microblaze-elf) embedded target.
- MicroBlaze on Xilinx website
- PetaLogix - MicroBlaze kernel maintainers and commercial services (PetaLinux)
- uCLinux - uClinux-dist for Microblaze, kernel 2.6.30
- MicroBlaze Embedded Linux support from LynuxWorks (BlueCat Linux)
- Linux and U-BOOT for Microblaze CPU - Michal Simek - maintainer
- MicroBlaze-Based Introduction To Computer Architecture and Assembly Language (UARK)
- MicroBlaze managed forum
- Running eCos RTOS on Microblaze
- Designing an embedded system using MicroBlaze (RTE)
- mb_ref_guide for EDK6.1
- mb_ref_guide for EDK6.2
- mb_ref_guide for EDK6.3
- mb_ref_guide for EDK7.1
- mb_ref_guide for EDK9.1i
- mb_ref_guide for EDK9.2i
- mb_ref_guide for EDK11.4
- mb_ref_guide for EDK12.1
- mb_ref_guide for EDK12.2
- mb_ref_guide for EDK12.3
- mb_ref_guide for EDK12.4
- mb_ref_guide for EDK13.1
- mb_ref_guide for EDK13.2
- mb_ref_guide for EDK13.3
- mb_ref_guide for EDK13.4
- mb_ref_guide for EDK14.1
- mb_ref_guide for EDK14.2
- mb_ref_guide for EDK14.3
- mb_ref_guide for EDK14.4
- mb_ref_guide for EDK14.5
- mb_ref_guide for EDK14.6
- mb_ref_guide for EDK14.7