00976cb7cded164972db8a4f4d91349f048dc31e
trve
taitep's RISC-V Emulator. The goal is to support at least RV64GC and be able to run Linux, potentially more. No plans for RV32I or RV32/64E.
Current Use
Currently, the emulator is nowhere near complete, its not even at rv64i, but it does work for a subset of it.
The emulator will load a raw binary image from the file ./img into RAM,
which starts at 0x80000000 and is currently 1MiB,
and start execution at the start of the image/ram.
There is also a debug out page starting at 0x00000000-0x00001000.
Anything written to it will be logged out in hex.
Currently there is no input, altho i might get around to making an early UART kinda soon.
Description
Languages
Rust
99.7%
Shell
0.3%