URGENT SOLUTION PLEASE!! LW $s1, 10($s2) ADD $s3, $s1, $t4 SUB $s4, $s1, $t4 OR $s5, $s3, $s1 LW $s0, 40($s2) AND $s1, $
Posted: Mon May 02, 2022 12:47 pm
URGENT SOLUTION PLEASE!!
LW $s1, 10($s2)
ADD $s3, $s1, $t4
SUB $s4, $s1, $t4
OR $s5, $s3, $s1
LW $s0, 40($s2)
AND $s1, $s5, $s4
SLL $s3, $s0, $4
SW $s1, 50($s2)
Assuming a 5 stage multi-cycle processor design, provide the
following:
1) Identify the data dependencies and data hazards involved in this
code.
2) A pipeline diagram of the set of instructions with no
forwarding
3) A pipeline diagram of the set of instructions assuming
forwarding
LW $s1, 10($s2)
ADD $s3, $s1, $t4
SUB $s4, $s1, $t4
OR $s5, $s3, $s1
LW $s0, 40($s2)
AND $s1, $s5, $s4
SLL $s3, $s0, $4
SW $s1, 50($s2)
Assuming a 5 stage multi-cycle processor design, provide the
following:
1) Identify the data dependencies and data hazards involved in this
code.
2) A pipeline diagram of the set of instructions with no
forwarding
3) A pipeline diagram of the set of instructions assuming
forwarding