Skip to main content

GATE CSE 2025CO & Architecture › Instruction Pipelining & PerformanceVerified

GATE CSE 2025 PYQ: A 5 5 5 -stage instruction pipeline has stage delays of 180 , 250 , 150 , 170 180,250,150,170 180 , 250 ,…

A 5-stage instruction pipeline has stage delays of 180,250,150,170, and 250, respectively, in nanoseconds. The delay of an inter-stage latch is 10 nanoseconds. Assume that there are no pipeline stalls due to branches and other hazards. The time taken to process 1000 instructions in microseconds is __________. (rounded off to two decimal places)

    Answer

    261.04 microseconds

    Approach

    For an ideal pipeline with no stalls, the clock period is determined by the slowest stage delay plus the inter-stage latch delay. The total execution time for n instructions in a k-stage pipeline is then (k + n - 1) times the clock period.

    The slowest pipeline stage is 250 ns, and adding the 10 ns latch delay gives a 260 ns clock cycle. Processing 1000 instructions in a 5-stage pipeline takes 1004 cycles, yielding 261040 ns, which is 261.04 microseconds.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.