Question: Draw a pipeline diagram utilizing the typical 5 stage IF, ID, EX, MEM, WB MIPS designfor the MIPS code below. Also, shade either the left

Draw a pipeline diagram utilizing the typical 5 stage IF, ID, EX, MEM, WB MIPS designfor the MIPS code below. Also, shade either the left or right side of each stage if it is reading or writing at that specific clock cycle. Draw arrows from the stages where data is made available, directed to where it is needed. Furthermore, list any data hazards encountered in the code (if any).

sub $2, $2, $3

and $12, $2, $5

or $13, $6, $2

add $14, $2, $2

sw $15, 100($2)

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!