Lily Tsuru
8eaf05a8ac
It now doesn't assume literally every device would map something to memory. This should also fix some API orthogonality issues (ergo the CPU being treated specially) |
||
---|---|---|
.. | ||
include/riscv | ||
src | ||
CMakeLists.txt | ||
README.md |
README.md
riscv
This is the RISC-V emulation core that LCPU uses in its native emulation module.
This is based off cnlohr/mini-rv32ima, but:
- Rewritten in C++20 (because I like sanity)
- Cleaned up somewhat
- Moved ALL device and MMIO code to seperate interfaces
- Re-implemented the timer device and the UART as said oop interface
- Lua devices use a wrapper which can contain lua callbacks
- Re-implemented the timer device and the UART as said oop interface