LatticeMico32
Open-source 32-bit RISC soft core for FPGAs
LatticeMico32 is a 32-bit reduced instruction set computer (RISC) processor core designed by Lattice Semiconductor in 2006. It is a soft core, meaning its design is provided as source code for implementation on field-programmable gate arrays (FPGAs) or other hardware.
- Released by Lattice Semiconductor in 2006
- Uses a 6-stage pipeline and Harvard architecture
- Licensed as royalty-free open-source IP
- Compatible with Xilinx, Altera, and Lattice FPGAs
- Supports user-defined instructions and custom caches
What it is
LatticeMico32 is a 32-bit microprocessor core based on reduced instruction set computer (RISC) principles. Created by Lattice Semiconductor in 2006, it is classified as a soft core. This means the design is distributed as source code rather than a physical chip. Engineers can synthesize this code onto field-programmable gate arrays (FPGAs) to create a custom processor. The core uses a Harvard architecture, which keeps instruction and data pathways separate for efficiency. It supports a fixed 32-bit instruction encoding and includes thirty-two general purpose registers. The design is open and royalty-free, allowing use on various hardware platforms beyond Lattice devices.
How it came about
Lattice Semiconductor introduced the LatticeMico32 in 2006. The company designed it specifically for integration into their field-programmable gate arrays. A key decision was to release the core under a free intellectual property license. This approach removed restrictions that typically bind soft cores to a single vendor's hardware. This openness allowed the core to be adopted in projects outside the Lattice ecosystem, including emulation environments and other FPGA brands.
Inside the chip
The processor employs a six-stage pipeline to execute instructions efficiently. It follows a load-store architecture, where data must be moved to registers before processing. All instructions are fixed at 32 bits in length, simplifying the decoding logic. The core features thirty-two general purpose registers, with register zero conventionally holding a zero value. It supports up to thirty-two external interrupts for handling asynchronous events. Memory access occurs through dual Wishbone interfaces, separating read-only instruction fetches from read-write data operations. Users can configure optional caches and define custom instructions to extend functionality.
How it was made
As a soft core, LatticeMico32 is not manufactured as a standalone silicon die. Instead, it is implemented within programmable logic devices. The design targets field-programmable gate arrays from Lattice Semiconductor, but it is also compatible with devices from Xilinx and Altera. No specific fabrication process node applies because the physical realization depends on the host FPGA or ASIC technology chosen by the user.
Where it went
This core serves embedded systems requiring a customizable processor within an FPGA. It is used in the Milkymist system on a chip, demonstrating its capability in complex embedded applications. AMD utilizes LatticeMico32 in its PowerTune technology for power management tasks. The core supports various real-time operating systems, including μClinux, RTEMS, and μCos-II. Developers use the GNU Compiler Collection and Eclipse integrated development environment to write software for the processor. Its flexibility makes it suitable for industrial control, instrumentation, and specialized computing tasks where standard processors are insufficient.
Versions and family
The core is highly configurable rather than having distinct commercial variants. Users can adjust cache sizes, choose between direct-mapped or set-associative caching, and enable pipelined memories. The instruction set can be extended with user-defined operations. While primarily associated with Lattice FPGAs, its open license permits deployment on Xilinx and Altera hardware. The Milkymist project represents a notable system-on-chip implementation built around this core. Software emulators written in JavaScript and other languages also exist, allowing the architecture to run on general-purpose computers for testing.
Why it matters
LatticeMico32 contributed to the adoption of open-source processor cores in the FPGA community. By offering a royalty-free license and full source code access, it lowered barriers for developers needing custom processing logic. Its compatibility with multiple FPGA vendors encouraged broader experimentation and reuse. The inclusion of support in standard tools like GCC and GDB facilitated easier software development. This model influenced later open-core initiatives by proving that commercial semiconductor companies could successfully distribute processor designs without restricting them to proprietary hardware ecosystems.
Questions people ask about LatticeMico32
What is a soft core processor?
A soft core is a processor design provided as source code or hardware description language files. It is not a physical chip but a blueprint that engineers can implement on programmable hardware like FPGAs or integrate into custom ASICs.
Can I use LatticeMico32 on non-Lattice hardware?
Yes. The core is licensed under a free intellectual property agreement. It can be legally synthesized on FPGAs from Xilinx and Altera, implemented in ASICs, or run in software emulators such as QEMU.
What operating systems does it support?
The core supports several real-time operating systems including μClinux, RTEMS, μCos-II, and μITRON. Development tools include the GNU Compiler Collection and Eclipse for writing and debugging C or C++ code.
Good reading and sources
The facts on this page come from the Wikipedia article "LatticeMico32", written by its contributors and used under the CC BY-SA 4.0 licence, and from its Wikidata record (CC0). EveryChip rewrote the text in its own words, with AI assistance, and compares every page with the article to make sure no passage is copied. It may be reused under the same CC BY-SA 4.0 licence with a link back.
It may contain mistakes, and figures change over time. Nothing here is investment or buying advice. If something is wrong, tell us. Last refreshed 2026-11-14.