Skip to content

sokoide/rv32i-cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RV32I emulator in CSharp

About

How to run

dotnet run --project demo-exe -- --demo
dotnet run --project demo-exe -- -s ./data/sample-binary-001.txt -e 0x0c -l trace
# or
make

# .net 8 test
make demo8
# .net 6 test
make demo6

How to test

make test

Quick Benchmark on M1 Mac mini

  • rv32i-go built by go1.22.3: 1.7s
  • rv32i-cs on .net 8.0.6: 0.9s
  • rv32i-cs on .net 6.0.31: 1.3s

Note

About

Risc-V RV32I CPU emulator in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published