This project implements a RISC-V emulator that targets the RV32IMA instruction set. The emulator fully supports the user (U) and supervisor (S) modes of the RV32 privileged architecture. The goal of this project is to demonstrate Linux boot with a simple Busybox initramfs image.
- Supervisor (S) and user (U) modes
- Interrupts (timer, external, software)
- SBI calls for console I/O
- Exception handling
This project uses CMake:
$ cmake -B build .
$ make
Type ./rv32-emulator
for a simple Linux demonstration.