Skip to content

anvay936/5-Stage-RISC-Processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

5-Stage Pipelined RISC Processor in Verilog

This project implements a basic 5-stage pipelined RISC processor that supports the following instructions:

  • ADD
  • SUBI
  • LW (Load Word)
  • OR
  • NOR

📌 Features

  • 5-stage pipeline: IF, ID, EX, MEM, WB
  • Data forwarding unit
  • Hazard detection unit
  • Verilog HDL implementation
  • Testbench for simulation

📂 File Structure

  • top.v – Top module
  • control.v, datapath.v, hazard_unit.v – Functional units

✅ Tools Used

  • Verilog HDL
  • Vivado for simulation

🧠 Learning Outcomes

  • CPU design pipeline stages
  • Instruction decoding and execution
  • Managing data hazards with forwarding and stalls

About

A pipelined RISC processor implemented in Verilog with hazard detection and data forwarding units.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors