retagged by
733 views
0 votes
0 votes

I am getting answer as 9 , the given answer is 8.

retagged by

1 Answer

0 votes
0 votes
  1 2 3 4 5 6 7 8
I1 IF ID OF EX WB      
I2   IF ID OF EX WB    
I3     IF ID OF EX WB  
I4       IF ID OF EX WB

in this question instruction I1 perform the addition operation and result store in ALU in clock cycle 3 and next instruction I2 use the result which is store by instruction I1 using operand forwarding !

hence the total clock cycle is 8.

edited by

Related questions

1 votes
1 votes
1 answer
1
1 votes
1 votes
0 answers
2
kidussss asked Sep 1, 2022
300 views
1. In memory hierarchy the fattest memory type is cache memory next to register. So describe mapping process(transformation data from memory to cache memory)