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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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