Skip to content
GATEiit

GATE CSE 2025 Session 2 Q56: Time for 1000 instructions on a 5-stage pipeline with latches

Question

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)

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 260.2 to 261.2 (official GATE 2025 final answer key)

Concept used: Clock period = slowest stage + latch delay; nn instructions on kk stages take (k+n−1)(k + n - 1) cycles.

First step: Cycle time is 250+10=260250 + 10 = 260 ns, and 1000 instructions need 5+9995 + 999 cycles.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key