Consider a pipeline processor with 4 stages S1 to S4. We want to execute the…

GATE · 2004 · IT

Consider a pipeline processor with 4 stages S1 to S4. We want to execute the following loop:

For (i = 1; i <= 1000; i++) {I1, I2, I3, I4}

The time taken (in ns) by instructions I1 to I4 for stages S1 to S4 are given below:

S1 S2 S3 S4

I1 1 2 1 2

I2 2 1 2 1

I3 1 1 2 1

I4 2 1 2 1

The output of I1 for i = 2 will be available after

  1. A.

    11 ns

  2. B.

    12 ns

  3. C.

    13 ns

  4. D.

    28 ns

Attempted by 16 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…