8000 GitHub - jerry-jho/pyriscv: A RISCV Emulator written in Python · GitHub
[go: up one dir, main page]

Skip to content
jerry-jhoPublic

About

A RISCV Emulator written in Python

Resources

Stars

46 stars

Watchers

3 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyriscv

A RISCV Emulator written in Python

Requires: python3.4+

No other libraries!!

run

cd app
$riscv-gcc -g -march=rv32i -mabi=ilp32  app.S -nostdlib -Tlink.ld -o app.elf
$riscv-objdump -S -d app.elf > app.lst
$riscv-objcopy -F verilog app.elf app.mem
python3 ../src/pyriscv.py app.mem

All data write to x0 will print to console

About

A RISCV Emulator written in Python

Resources

Stars

46 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages

0