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

No packages published