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
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, $
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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, $
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!