Skip to content

Educational RISC-V 32I simulator with focus not on performance but on understanding the architecture and hardware.

Notifications You must be signed in to change notification settings

revilo196/EduRV32ISimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EduRV32ISimulator

Educational RISC-V 32I simulator with focus not on performance but on understanding the architecture and hardware.

Running:

  • Loading/Run a rv32i elf executable (with some special compile options)
  • SerialPort simulation simple char output
  • all rv32i instructions
  • machine mode only

In Progress:

  • exceptions and interrupts
  • CSR registers
  • Hardware timer & interrupt
  • Hardware timer pending reset (currently target software reset)
  • many RO / RW CSR constrains

Planning

  • supervisor and user modes
  • A and M extension instructions
  • better (graphical) device options

Goal

My goal is to develop a good to understand and expandable simulation. That can run a simple embedded like OS. And maybe even dynamically load rv32i executables into this running and simulated hardware and OS.

Dependencies

About

Educational RISC-V 32I simulator with focus not on performance but on understanding the architecture and hardware.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published