Question
9. Consider the three instructions: sw $3, 4($8) lw $3, 4($8) slt $2, $3, $0 a) (3) If these instructions are executed on our pipelined
9. Consider the three instructions:
sw $3, 4($8)
lw $3, 4($8)
slt $2, $3, $0
a) (3) If these instructions are executed on our pipelined data path with a data hazard unit but with no data forwarding unit, for how many clock cycles will the lw instruction be stalled in the decode stage?
b) (3) If these instructions are executed on our pipelined data path with a data hazard unit but with no data forwarding unit, how many clock cycles will the slt instruction have to be stalled in the decode stage?
c) (3) If these instructions are executed on our pipelined data path containing both a data hazard unit and a data forwarding unit, how many clock cycles will the slt instruction have to be stalled in the decode stage?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started