Question: Fill the pipeline chart for the following MIPS code. Whenever a stage gets stalled, fill that stage with an S. It is allowed to write

 Fill the pipeline chart for the following MIPS code. Whenever a

Fill the pipeline chart for the following MIPS code. Whenever a stage gets stalled, fill that stage with an S. It is allowed to write and read a register at the same cycle. If data forwarding is allowed, show the forwarding. add $5, $2, $1 lw $3, 4($5) lw $2,0($2) or $3, $5, $3 sw $3,0($5) a) Assume that data forwarding is not allowed. add $5, $2, $1 IF ID EX MEM WB lw $3, 4($5) lw $2, 0($2) or $3, $5, $3 sw $3,0($5) b) Assume that data forwarding is allowed. add $5, $2, $1 IF ID EX MEM WB lw $3, 4($5) lw $2,0($2) or $3, $5, $3 sw $3, 0($5)

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!