Skip to content

Ammar-10xe/RISCV-32I-5-Stage-Pipelined-Processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

5 stage pipeline implementation of RISC-V 32I Processor.

In this repository I have implemented 5 stage Pipelined processor which is actually the conversion of my previous single cycle implementation of processor into pipeline. Link to Previous single cycle implementation is given as: RV32I Single Cycle Processor

In case of pipelined implementation what we do is that we divide our instruction into multiple stages and in case of 5 stage pipelined implementation we will offcourse divide the instruction into 5 different stages. Five different stages are given as:

Instruction Fetch
Instruction Decode
Instruction Execution
Memory Read/Write
Write Back

This pipelined implementation of processor supports six basic instructions:

R-Type
I-Type
S-Type
B-Type
J-Type
U-Type

Just to mention here that in case of pipelined Implementation we face a problem know as hazards. And in this implementation I have also taken care of that and hazard unit is implemented to handle all types of hazards (Data and Control Hazards).

Datapath

The Datapath that has been followed is shown below

Pipeline

About

RISC-V-32I-5-stage-Pipelined-Processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published