Skip to content

Integer pipeline simulator includes a forwarding unit, a hazard detection unit with the static branch prediction technique predict not taken. 8-stage pipeline with a 2-stage fetch unit and 3-stage memory unit. branch is computed in the EX stage and forwarding from memory is done through MEM2 stage.

Notifications You must be signed in to change notification settings

srpoyrek/pipeline_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pipeline-Simulator RV32I

logic used: check if stalls print stall else print the stage and the instruction. Only Load causes 2 stalls, if forwarding than no stalls. so check for load instruction causing stall, no need to do anything for forwarding or bypassing. get the target address in the ID stage and Compute branch taken in EX stage, so empty the instructions in the ID/IF registers if branch and fetch the new instructions in next cycle (predict not taken branch prediction technique)

About

Integer pipeline simulator includes a forwarding unit, a hazard detection unit with the static branch prediction technique predict not taken. 8-stage pipeline with a 2-stage fetch unit and 3-stage memory unit. branch is computed in the EX stage and forwarding from memory is done through MEM2 stage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages