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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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

2026-09-22