Skip to content

mrorigo/criscv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cRISC-V

This is an excercise in C to implement a RISC-V RV32I (and possibly extensions) emulator in plain C. It is aimed at being correct, (very) fast, and easy to understand.

NOTE: Currently under heavy development, expect everything to change.

Features

Current

  • Full 5-stage pipeline
  • RV32I Base Instruction Set fully implemented
  • Shared bus with mmio support
  • RAM support
  • ELF loading
  • Basic trap handling

Missing

  • CSR support There is no support at all for CSR

Future

  • M Standard Extension for Integer Multiplication and Division This is kind of a basic feature, so I think this will be implemented

About

RISC-V RV32I emulator in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published