Question: 1 . Consider a pipeline with forwarding, hazard detection, and 1 delay slot for branches. The pipeline is the typical 5 - stage IF ,

1. Consider a pipeline with forwarding, hazard detection, and 1 delay slot for branches. The pipeline is the typical 5-stage IF, ID, EX, MEM, WB MIPS design. For the code below, complete the pipeline table below (instructions on the left, cycles on top) for the code. Insert the characters IF, ID, EX, MEM, WB for each instruction in the boxes. Label all data stalls (Draw an X in the box). Label all data forwards that the forwarding unit detects (arrow between the stages handing off the data and the stages receiving the data).[ I0: ADD R4= R1+ R0;; I1: SUB R9= R3- R4;; I2: ADD R4= R5+ R6;; I3: LW R2= MEM [R3+100];; I4: LW R2= MEM [ R2+0];; I5: SW MEM [R4+100]= R2;; I6: AND R2= R2 & R1;; I7: BEQ R9== R1, Target;; I8: AND R9= R9 & R1; ]

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 Programming Questions!