32-bit Pipelined RISC-V CPU

A RISC-V (RV32I) processor designed gate-by-gate in Logisim Evolution, with a pipelined datapath, forwarding, and hazard handling.

RISC-V
Logisim Evolution
Venus
Assembly

Overview

For a computer architecture course project, I built a working 32-bit CPU at the digital logic level — every component from the ALU up to the control unit designed as circuits in Logisim Evolution. The processor executes a substantial subset of the RISC-V RV32I integer instruction set on a two-stage pipeline and passes an automated test suite of assembly programs.

Architecture / Approach

Results / What I learned

The finished CPU runs real RISC-V assembly programs — including unit tests for every component and integration tests covering immediates, memory operations, branches, and jumps — and passes the full automated suite. Building the datapath wire-by-wire made concepts like forwarding, pipeline flushes, and instruction decoding concrete in a way that reading about them never could.

The circuit files are not published because this was graded university coursework; this page describes the design and results instead.