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.

Assume that the following code is executed on a five stage pipeline

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!