You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vhaudiquet
923e9d39a0
|
1 year ago | |
---|---|---|
hardware | 1 year ago | |
src | 1 year ago | |
tests | 1 year ago | |
.clang-format | 1 year ago | |
.gitignore | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago |
README.md
vriscv - a risc-v simulator
Unit tests
Unit tests can be compiled and run using :
make tests
Resources used
RISC-V Specifications:
- https://five-embeddev.com/riscv-isa-manual/latest/instr-table.html (instruction table)
- https://five-embeddev.com/riscv-isa-manual/latest/priv-instr-table.html (privileged instructions)
Device Tree Source :
Juraj's Blog, mostly:
- https://jborza.com/post/2021-04-04-riscv-supervisor-mode/
- https://jborza.com/emulation/2021/04/22/ecalls-and-syscalls.html
RISC-V SBI Specifications:
Buildroot fork for nommu linux: