Comparing the time T1 taken for a single instruction on a pipelined CPU with time T2 taken on a non-pipelined but identical CPU, we can say that
View worked solution
Answer: B
To compare the time taken for a single instruction on a pipelined CPU () versus a non-pipelined CPU (), let us analyze how instruction execution time is determined in both cases.
1. Non-Pipelined CPU ()
In a non-pipelined CPU, an instruction is executed sequentially through all its stages. The total time taken () is the sum of the delays of each individual stage:
where is the delay of stage , and is the number of stages.
2. Pipelined CPU ()
In a pipelined CPU, the clock cycle time () is determined by the slowest stage delay plus the overhead of the pipeline registers ():
Since a single instruction must pass through all stages to complete, the total time taken for one instruction to go from start to finish (latency) is:
Comparison
Because the clock period of the pipeline is bounded by the slowest stage, any stage that is faster than the slowest stage must still wait for the full duration . Additionally, the pipeline registers introduce setup and propagation delays ().
Mathematically, since for all :
Therefore, we have:
Thus, a single instruction takes more time (or at least equal time) to complete in a pipelined CPU compared to an identical non-pipelined CPU. Pipelining improves throughput (the rate of instruction completion), not the latency of an individual instruction.
Free practice · Your answers on this page are not saved.
