Skip to content

dtaillard/riscv32-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISC-V Emulator

demo.gif

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.

Features

  • Supervisor (S) and user (U) modes
  • Interrupts (timer, external, software)
  • SBI calls for console I/O
  • Exception handling

Building

This project uses CMake:

$ cmake -B build .
$ make

Demo

Type ./rv32-emulator for a simple Linux demonstration.

About

RV32 emulator that boots Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published