mrav-cpu

A set of tools and libraries for building a tiny CPU core for microcontroller-style systems, from generating the hardware design to running simulations and producing software. The project notes it is not yet ready for general use.

Share on XLicense: MIT

Overview

Mrav is a set of tools and libraries for building a tiny CPU core for microcontroller-style systems. The monorepo covers generating the RTL code, running software simulations and producing software for the CPU, all automated with the Bazel build system. The author says it is a proof of concept, that the instruction set may still change, and that it is not ready for production.

Key features

  • Generates RTL code for the CPU core
  • Runs software simulations
  • Builds the assembler and assembles Mrav software
  • Bazel drives the whole flow, from RTL to tests
  • Can be tried in the browser first

Best for

Readers who want to study a minimal custom CPU and its toolchain. The author advises against production use and suggests lightweight RISC-V cores for that.

Upstream
popovicu/mrav-cpu
Fork on GitHub
Guo-astro/mrav-cpu
Upstream stars
95
Category
Hardware, OS and embedded
License
MIT
Forked
2025-11-22
Sync status
In syncLast synced 2026-09-29