Multicycle RISC-V Processor
Digital Electronics & Computer Engineering (E85)
A multicycle RISC-V processor designed in SystemVerilog over two labs, first the controller and then the datapath, and debugged in simulation until it ran a test program correctly.

The last two labs of E85 tie the course together: digital design, hardware description languages, assembly and microarchitecture. A multicycle processor breaks each instruction into steps (fetch, decode, execute, memory, write-back) and reuses one ALU and one memory across those steps, with a state machine sequencing the datapath.
I built the controller first and tested it against provided vectors, then wrote the datapath, connected the two, and traced a machine-language program through the simulation cycle by cycle. Pick a lab below for the details.
Labs

Multicycle Controller
The control unit for a multicycle RISC-V processor in hierarchical SystemVerilog, a main state machine plus ALU and instruction decoders, passing all 40 test vectors.
Read more
Datapath & Full Processor
The datapath for the multicycle RISC-V processor, connected to the Lab 10 controller and a shared instruction/data memory, then verified by tracing a test program cycle by cycle.
Read more