A minimal 32-bit RISC-V (MiniRV) single-cycle CPU implemented in Logisim.
Completed as part of the 一生一芯 (ysyx) program through self-study of computer architecture.
This project implements a complete single-cycle RISC-V processor from scratch, including:
- Control unit for branch, memory, and arithmetic instructions
- Support for the core MiniRV instruction set
- Clear modular circuit design in Logisim
- Instruction Fetch (PC + Instruction Memory)
- Register File
- Control Unit (opcode decoding)
- Data Memory (load/store)
- Single-cycle clocking scheme
- Arithmetic: add, addi, lui
- Memory: lw, sw, lbu, sb
- Jump: jalr
- Open
minirv_single_cycle.circin Logisim - Load
/logisim-bin/*.hexinto RAM and ROM - Run simulation (auto-clock or step mode)
- Verify register/memory results
