gmod-lcpu/native/riscv
Lily Tsuru 43d0ac9630 init 2023-07-16 01:58:32 -04:00
..
include/riscv init 2023-07-16 01:58:32 -04:00
src init 2023-07-16 01:58:32 -04:00
CMakeLists.txt init 2023-07-16 01:58:32 -04:00
README.md init 2023-07-16 01:58:32 -04:00

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