mini-rv32ima is a tiny header-only RISC-V emulator written in straightforward C. Its core implementation is only a few hundred lines and emulates the RV32IMA instruction set together with selected CSR, CLINT, and MMIO behavior. The emulator intentionally omits an MMU and other specification features that are unnecessary for its minimal Linux target. Despite its size, it can boot a no-MMU Linux environment and run user applications. A compact demonstration wrapper provides UART, kernel loading, device-tree loading, command-line interaction, and basic system control. The design is dependency-free at its core, easily embeddable, and deliberately structured so developers can extend instructions, registers, and device behavior.

Features

  • Header-only RISC-V CPU emulator
  • RV32IMA and CSR instruction support
  • Linux no-MMU boot capability
  • CLINT and MMIO emulation
  • Small embeddable C implementation
  • Extensible instructions, registers, and device hooks

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow mini-rv32ima

mini-rv32ima Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mini-rv32ima!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Software Development Software

Registered

6 days ago