Digital IC · RTL · SoC · Verification

Multi-Cycle RISC-V CPU / SoC

An ongoing personal engineering project built within the YSYX training ecosystem. I implement the CPU and major project-specific hardware while separating upstream frameworks and third-party IP.

RISCV32 repositoryysyxSoC repository

Architecture

The CPU follows the RV32E ISA/ABI and uses IF, ID, EX, LSU, and WB functional stages. Valid-ready handshakes allow variable-latency memory transactions.

Role
Main hardware designer and implementer for the personal CPU/SoC project
Status
Ongoing development and learning
HDL / Software
Verilog, SystemVerilog, Chisel, C, C++, RISC-V assembly
Functional architecture of the multi-cycle RISC-V CPU
CPU functional architecture showing IFU, IDU, EXU, CSR, register file, LSU, and WBU. Stage labels describe control flow, not a pipelined implementation.

Difftest · Waveform

NEMU difftest and RTL debug

Reference-model comparison using NEMU, Verilator, FST/GTKWave, AM tests, riscv-tests, custom programs, and trace-based debugging. No coverage or pass-rate metric is claimed.

What I implemented or adapted

Debugging evidence

Attribution and limitations

NEMU, Abstract Machine, the official ysyxSoC interconnect, Rocket-Chip Diplomacy, base memory controllers, and the PS/2 receiver include upstream or third-party work. Claims are limited to traceable implementation, modification, adaptation, integration, and debugging; no hardware M extension, cache/MMU, FPGA validation, complete ISA coverage, performance, area, or frequency result is claimed.