Better HN
topnewbestaskshowjobs
Log inSign up

d0iasm

2 karma · joined Nov 23, 2019 (7y ago) · 3 submissions

Twitter: @d0iasm
Submissions

comment 6y ago · link · parent

The main difference between them is the number of instructions are supported. Rvemu supports RV64GC, while rvemu-for-book will support RV64I and instructions that xv6 uses (e.g. mul).

Also rvemu will support a device tree but rvemu-for-book won't.

comment 6y ago · link · parent

Thanks for your interest! I'm an author of this book. This book is very beginning as you mentioned and I'm still working on it.

I already succeeded to run xv6 in my RISC-V emulator and wrote a blog post "Made a RISC-V Emulator Running Xv6": https://d0iasm.github.io/blog/risc-v/2020/04/03/xv6-on-my-ri...

I have 2 different RISC-V emulators and its goals are different:

rvemu (https://github.com/d0iasm/rvemu): Can run xv6. It's trying to support Linux and make it faster in the future.

rvemu-for-book (https://github.com/d0iasm/rvemu-for-book): Reference implementation for the book. Simpler than original one.

3.

Emulate 32-Bit and 64-Bit RISC-V in the Browser with Asami’s Open Source Rvemu(riscv.org ↗)

4 points · by d0iasm · 6y ago · discuss