Jump to content

MicroBlaze

From Wikipedia, the free encyclopedia
(Redirected from Fast Simplex Link)
MicroBlaze
DesignerXilinx
Bits32-bit/64-bit (32 → 64)
Version11.0
DesignRISC
EncodingFixed
EndiannessLittle (Big)
OpenNo
Registers
32 × 32 bits

The MicroBlaze is a soft microprocessor core designed for Xilinx field-programmable gate arrays (FPGA). As a soft-core processor, MicroBlaze is implemented entirely in the general-purpose memory and logic fabric of Xilinx FPGAs.

MicroBlaze was introduced in 2002.[1]

Overview

[edit]

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 AXI interconnect, is a system-memory mapped transaction bus with master–slave capability. Older versions of the MicroBlaze used the CoreConnect PLB bus. The majority of vendor-supplied and third-party IP interface to AXI directly (or through an AXI interconnect). For access to local-memory (FPGA RAM), MicroBlaze uses a dedicated LMB bus, which provides fast on-chip storage. User-defined coprocessors are supported through dedicated AXI4-Stream connections. 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, 5-stage, or 8-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 more than 700 MHz (on Virtex UltraScale+ FPGA family). Also, key processor instructions which are rarely used but more expensive to implement in hardware can be selectively added/removed (e.g. 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 hard CPU core (such as the ARM Cortex-A9 in the Zynq).

MicroBlaze V is based on the RISC-V architecture.

[edit]

Fast Simplex Link (FSL) is a 32-bit wide interface on MicroBlaze. The FSL channels are uni-directional, point-to-point data streaming interfaces.[2] A MicroBlaze processor supports up to eight FSL channels.[3] This interface allows MicroBlaze processors to communicate with peripherals or other processors.[4] The FSL can be used for extending the processor execution unit with custom hardware accelerators thanks to a low latency dedicated interface to the processor pipeline. In addition, the same FSL channel can be used to transmit or receive either control or data words. The interface is FIFO, and a separate bit indicates whether the transmitted, or received, word is control or data information.[5] FSL has low latency compared to CoreConnect's On-chip Peripheral Bus.[6]

Vivado

[edit]

Xilinx's Vivado Design Suite is the development environment for building current MicroBlaze (or ARM - see Zynq) embedded processor systems in Xilinx FPGAs. Older versions used Xilinx's EDK (Embedded Development Kit) development package.

Designers use the Vivado IP Integrator to configure and build the hardware specification of their embedded system (processor core, memory-controller, I/O peripherals, etc.) The IP Integrator converts the designer's block design into a synthesizeable RTL description (Verilog or VHDL), and automates the implementation of the embedded system (from RTL to the bitstream-file.) For the MicroBlaze core, Vivado generates an encrypted (non human-readable) netlist.

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's tools provides the possibility of running software in simulation, or using a suitable FPGA-board to download and execute on the actual system.

Purchasers of Vivado 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.

Alternative compilers and development tools have been made available from Altium but an EDK installation and license is still required.

Open source

[edit]

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[7]

Support was added to LLVM in April 2010,[8] but subsequently removed in July 2013[9] due to a lack of maintainer.

Clones

[edit]
  • 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

[edit]

See also

[edit]

References

[edit]
  1. ^ Xilinx (August 21, 2002). "MicroBlaze RISC 32-Bit Soft Processor datasheet" (PDF).
  2. ^ Sputh, Bernhard H. C.; Faust, Oliver; Allen, Alastair R. (2006). Portable CSP Based Design for Embedded Multi-Core Systems. Communicating Process Architectures. Amsterdam: IOS Press. p. 127. ISBN 9781586036713.
  3. ^ Schaumont, Patrick R. (November 27, 2012). A Practical Introduction to Hardware/Software Codesign. Springer Science & Business Media. p. 330. ISBN 978-1-4614-3737-6. Retrieved October 2, 2025.
  4. ^ Kretz, Moritz; Kugel, Andreas (2012). "Linux on FPGA platforms: control software to connect custom peripherals". ACM SIGBED Review. 9 (2): 12–16. doi:10.1145/2318836.2318838. ISSN 1551-3688. Retrieved October 2, 2025.
  5. ^ Lazanyi, J. (2005). Instruction set extension using Microblaze processor. International Conference on Field Programmable Logic and Applications. IEEE. pp. 729–730. doi:10.1109/FPL.2005.1515829. ISBN 978-0-7803-9362-2.
  6. ^ Wu, Liming; Liu, Junxiu; Luo, Yuling (2009). The Implementation and Evaluation of Hardware/Software Co-Design Method for Fast Image Processing via FPGA. International Conference on Computational Intelligence and Software Engineering. p. 1–4. doi:10.1109/CISE.2009.5365959.
  7. ^ "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.
  8. ^ "LLVM 2.7 Release Notes". releases.llvm.org. Retrieved 2019-04-07.
  9. ^ Christopher, Eric (2013-07-24). "[LLVMdev] Deprecating and removing the MBlaze backend". Retrieved 2019-04-07.
[edit]