Phase 2 of 6
Building Pipelined Processor Designs
Usually 4–8 months
Designing and debugging a 5-stage pipelined core with hazard detection, forwarding, branch prediction, and caches, while studying Hennessy & Patterson. Produces a core that boots small programs in simulation or on an FPGA.
What you do
You now turn that single-cycle core into a five-stage pipeline. While working through Hennessy and Patterson’s “Computer Architecture: A Quantitative Approach,” you implement pipeline registers between stages, then add hazard detection and forwarding logic. You learn to think in terms of cycles in flight, structural hazards, and data dependencies, and you see how small timing decisions ripple through performance.
Once the basic pipeline is stable, you add simple branch prediction and instruction and data caches. You choose a toolchain, build small RISC-V programs, and run them on your core either in simulation or on an FPGA board using vendor tools. You document bugs, design choices, and performance measurements in your repo, and you make sure someone else can clone it, synthesize it, and reproduce your results.
You're done when
A GitHub repo of a pipelined RISC-V core with caches running benchmarks on FPGA or in simulation.
Resources
- VideoOnur Mutlu Lectures: Computer Architecture courses (YouTube) youtube.com
- CourseSAFARI Research Group (ETH Zürich) YouTube channels and course materials safari.ethz.ch
- ToolVerilator (open-source Verilog simulator) veripool.org
- BookComputer Architecture: A Quantitative Approach, 6th Edition (Hennessy & Patterson) inspectioncopy.elsevier.com
Before and after
Track this phase, post your proof, and meet people in the same phase.
Join this road, free →