GateAI
Instruction Pipelining

GATE CSE 2011 · Q41

MCQ2 marksMedium

Time

Consider an instruction pipeline with four stages (S1, S2, S3 and S4) each with combinational circuit only. The pipeline registers are required between each stage and at the end of the last stage. Delays for the stages and for the pipeline registers are as given in the figure. What is the approximate speed up of the pipeline in steady state under ideal conditions when compared to the corresponding non-pipeline implementation?

GATE CSE 2011 Q41 diagram

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) 2.5

Instruction Pipelining
  1. Execution time in the non-pipelined processor (Tnon-pipeT_{\text{non-pipe}}): In a non-pipelined system, there are no pipeline registers, and the total execution time is the sum of the delays of all combinational stages:

    Tnon-pipe=5 ns+6 ns+11 ns+8 ns=30 nsT_{\text{non-pipe}} = 5\text{ ns} + 6\text{ ns} + 11\text{ ns} + 8\text{ ns} = 30\text{ ns}
  2. Clock cycle time in the pipelined processor (TpipeT_{\text{pipe}}): The clock cycle time is determined by the stage with the maximum delay (bottleneck stage) plus the pipeline register delay:

    Tpipe=max⁡(5,6,11,8) ns+1 ns=11 ns+1 ns=12 nsT_{\text{pipe}} = \max(5, 6, 11, 8)\text{ ns} + 1\text{ ns} = 11\text{ ns} + 1\text{ ns} = 12\text{ ns}
  3. Speedup (SS) in steady state: Under ideal steady-state conditions, the pipeline completes one instruction per clock cycle (CPI = 1):

    Speedup S=Tnon-pipeTpipe=30 ns12 ns=2.5\text{Speedup } S = \frac{T_{\text{non-pipe}}}{T_{\text{pipe}}} = \frac{30\text{ ns}}{12\text{ ns}} = 2.5

Thus, the speed up is 2.5, which matches option (B).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Instruction Pipelining previous year question is Q41 of the GATE CSE 2011 paper. Find more GATE CSE PYQs on Instruction Pipelining in Computer Organization and Architecture, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Instruction Pipelining PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Instruction Pipelining in GATE CSE

Instruction Pipelining has 25 GATE CSE PYQs across 20 papers from 2011 to 2026. 3 of them are 2-mark MCQs like this one, and it is the only one in GATE CSE 2011.

How GATE tests Instruction Pipelining

More from GATE CSE 2011

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2011 · Q41 · MCQ

Consider an instruction pipeline with four stages (S1, S2, S3 and S4) each with combinational circuit only. The pipeline registers are required between each stage and at the end of the last stage. Delays for the stages and for the pipeline registers are as given in the figure. What is the approximate speed up of the pipeline in steady state under ideal conditions when compared to the corresponding non-pipeline implementation?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.