Question: Q) In this problem a sequence of instructions are executed in as-stage pipelined data path. The processor has forwarding and hazard detection units. The instruction
Q) In this problem a sequence of instructions are executed in as-stage pipelined data path.
The processor has forwarding and hazard detection units. The instruction sequence is shown below table 1. Please answer the following questions:
a) Identify data depedencies
b) Show the first five cycles of the instruction sequence execution
CLOCK
| Instrutcion Sequence | 1 | 2 | 3 | 4 | 5 |
| LW R2 , 0(R1) | |||||
| AND R1,R2,R1 | |||||
| LW R3, 0(R2) | |||||
| LW R1, 0(R1) | |||||
| SW R1, 0(R2) |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
