cnlohr/mini-rv32ima
A tiny C header-only risc-v emulator. observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 58
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1406
- days_rel: n/a
- days_push: 255
- n_releases_24m: 0
Adoption not part of the score
2163 stars · 169 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny, single-file, header-only RISC-V RV32IMA emulator written in ~400 lines of dependency-free C, capable of booting Linux (RV32-NOMMU). It includes a small demo CLI wrapper with UART, SYSCON, DTB, and kernel image loading.
Use cases
- emulate risc-v rv32 in c
- boot linux on a minimal risc-v emulator
- embed a risc-v cpu emulator in my application
- learn how to write a cpu emulator
- run risc-v binaries without qemu
- port a risc-v emulator to embedded or weird platforms
When to choose
- you need a tiny, embeddable, dependency-free RISC-V emulator in C
- you want to experiment with RV32-NOMMU Linux
- you want readable, hackable emulator source to learn from
When to avoid
- you need full RV32 spec compliance, MMU, or multiprocessor support
- you need maximum emulation performance (QEMU is faster)
- you need RV64 or userspace-complete supervisor emulation
Facets
library · maturity active
interpreter embedded developer-tools gaming-tools operating-systems developer-tools hardware cross-platform windows cli risc-v emulator header-only stb-style nommu single-file embeddable linux macos
1 source
- readme: https://github.com/cnlohr/mini-rv32ima · fetched 2026-08-28 · 6b80d843b21a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cnlohr/mini-rv32ima | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="cnlohr/mini-rv32ima")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem