Question: 1) For the following code draw multicycle pipeline diagram, identify hazards, show if there is pipeline stall or forwarding. $t010, $t3 1016, $t5 =
1) For the following code draw multicycle pipeline diagram, identify hazards, show if there is pipeline stall or forwarding. $t010, $t3 1016, $t5 = -2 Address 1012 1016 1020 1024 Lw $t5, 4(St3) Addi $t3, $t5, 13 Sub $t0, $zero, $t3 Sw $t0, 16($t3) Or St3, $t0, St5 And $15, $t3, $t3 a) FIRST DRAW MULTICYCLE PIPELINE DIAGRAM. IDENTIFY DEPENDENCIES. INDICATE IF A REGISTER IS FORWARDED or CAUSES STALL. Example Instruction ex St5,$t1,$t2 Cc 1 IF Cc Cc Cc 2 3 4 ID m EX M 5 Value 15 47 -5 3 WB Cc Cc 6 7 8 Pipeline Stages Cc Cc Cc Cc 9 10 11 12 Write the name of register causing Stall Fwd Rs $t2* Fwd Rt
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
Based on the provided code here is the multicycle pipeline diagram IF ID EX MEM WB 1012 lw F D W 1016 addi F D W 1020 sub F D W 1024 sw F D 1028 or F ... View full answer
Get step-by-step solutions from verified subject matter experts
