How darklife/darkriscv works
DarkRISCV is an open-source RISC-V FPGA softcore and surrounding SoC. Its principal workflow is executing firmware on the CPU, with the SoC fabric connecting the core to memory and I/O; board-specific configurations adapt the design to FPGA platforms. The README documents the main architecture and optional features, but RTL excerpts were not provided, so implementation-level connections beyond those documented are omitted or marked unverified.
Main entry points: darksocv.v SoC top · darkriscv.v RISC-V core · darkio.v I/O interface · darkbridge.v DarkBridge
Components 14
Processor core
- RISC-V core
rtl/darkriscv.v - Multiply-accumulate
rtl/darkmac.v
SoC fabric
- SoC top
rtl/darksocv.v - DarkBridge
rtl/darkbridge.v - Caches
rtl/darkcache.v - Clocking
rtl/darkpll.v
Memory and I/O
- On-chip RAM
rtl/darkram.v - SDRAM controller
rtl/lib/sdram/mt48lc16m16a2_ctrl.v - I/O interface
rtl/darkio.v - UART
rtl/darkuart.v - SPI
rtl/darkspi.v
Firmware and boards
- Firmware
src - FPGA board targets
boards
Other components
- Firmware user
Connections 13
- Firmware user → Firmware: provides
README.md - Firmware → RISC-V core: executes on
README.md - RISC-V core → SoC top: integrates with
README.md - SoC top → DarkBridge: uses
- SoC top → Caches: includes optionally
README.md - DarkBridge → Caches: provides optionally
README.md - SoC top → On-chip RAM: shares memory
README.md - SoC top → SDRAM controller: supports optionally
README.md - SoC top → I/O interface: connects I/O
- I/O interface → UART: routes to
- I/O interface → SPI: routes to
- RISC-V core → Multiply-accumulate: uses optionally
README.md - FPGA board targets → SoC top: targets
README.md