in CO and Architecture retagged by
99 views
0 votes
0 votes

Consider the 4-stages(S1, S2, S3, S4) pipeline where different instructions are spending different cycles at different stages given below.

S1S2S3S4
I11312
I21131
I32112
I41112

(a) How many cycles are required to complete the instructions?

(b) Following loop is executed in the pipeline 

for(i = 1; i <= n; i++)

{

   I1;

   I2;

   I3;

   I4;

}

The output of the instruction "I2" will be available after _____ cycles for I2.
  

in CO and Architecture retagged by
99 views

Please log in or register to answer this question.

Related questions