How mriscoc/risc-v_serv works
SERV is a compact bit-serial RISC-V CPU, with Servant as its reference FPGA SoC. The user-facing path is loading firmware into Servant and observing its execution output, such as UART text. The tree also shows CPU datapath/control modules, FPGA board integrations, and Zephyr support. The README documents the CPU–SoC relationship and firmware workflow; sampled source covers Zephyr drivers, not RTL internals, so internal call relationships are not asserted.
Main entry points: servant.v Servant SoC · serv_top.v SERV Core · servant Board Integrations
Components 20
SERV CPU
- SERV Core
rtl/serv_top.v - Instruction Decode
rtl/serv_decode.v - Execution Control
rtl/serv_ctrl.v - ALU
rtl/serv_alu.v - Register File
rtl/serv_rf_top.v - CSR Unit
rtl/serv_csr.v - Memory Interface
rtl/serv_mem_if.v - Debug Unit
rtl/serv_debug.v
Servant SoC
- Servant SoC
servant/servant.v - SoC RAM
servant/servant_ram.v - SoC Timer
servant/servant_timer.v - GPIO
servant/servant_gpio.v
FPGA Platforms
- Board Integrations
servant
Zephyr Support
- Zephyr Timer Driver
zephyr/drivers/timer/serv_timer.c - Bitbang UART Driver
zephyr/drivers/serial/uart_bitbang.c - Interrupt Support
zephyr/soc/riscv/servant/irq.c - CPU Idle Support
zephyr/soc/riscv/servant/cpu_idle.c
Other components
- User
- Firmware
- UART Output
Connections 5
- User → Firmware: selects
README.md - Firmware → Servant SoC: loads into
README.md - Servant SoC → SERV Core: integrates
README.md - Servant SoC → UART Output: produces
README.md - Servant SoC → Board Integrations: ported to
README.md