edited by
666 views

2 Answers

2 votes
2 votes

answer should be 10 clock cycles

  1 2 3 4 5 6 7 8 9 10
I1 F D/OF EX WB            
I2   F X X D/OF EX WB      
I3     F X X X X D/OF EX

WB

so 10 cycles are required

0 votes
0 votes

As no operand forwarding is used and we have data dependency in these instructions

we are using values of R1 in second and third instructions, which are yet to be computed by Instruction 1.

If there were operand forwarding then Instruction decode of instruction 2 can happen when write back of instruction 1 was happening

IF ID EX WB            
  IF     ID EX WB      
    IF         ID EX WB

 

Related questions

2 votes
2 votes
1 answer
3