Skip to content

VTMT0905/MIPs-Pipeline-Optimized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIPs-Pipeline-Optimized

Update — Data Forwarding

Added data forwarding to the Execute stage to reduce the number of NOPs needed between dependent instructions.

Results

Version NOPs Needed Cycles to Finish
Without forwarding 15 NOPs ~20 cycles
With forwarding 2 NOPs ~14 cycles

Files Changed

  • execute.v — forwarding unit added
  • idExLatch.v — added rs field pass-through
  • decode.v — added rs output port
  • mips_pipeline.v — wired forwarding signals

Output

FINAL REGISTERS: r1=12 r2=2 r3=3
PASS: r1 is 12 as expected.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors