Question: Assume that the following code is executed on a five stage pipeline data path: add $5, $2, $1 lw $3, 4($5) lw $2, 0($2) or
Assume that the following code is executed on a five stage pipeline data path: add $5, $2, $1 lw $3, 4($5) lw $2, 0($2) or $3, $5, $3 sw $3, 0($5) and $7, $7, $2 Assume that we have the forwarding unit in the design, but we don't have the hazard detection unit. What happens when this code is being executed? Explain your answer.

ID/EX.MemRead IDVEX EXMEM MEMWE EX ALU Instruction LI Data IFAD IFMD.Reciste R IFAD IDVEX Figure 1. Pipelined MIPS with forwarding and hazard detection unit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
