Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency.
- Four-stage pipeline with stage latencies .
- Four-stage pipeline with stage latencies .
- Five-stage pipeline with stage latencies .
- Five-stage pipeline with stage latencies .
Which processor has the highest peak clock frequency?
View worked solution
Answer: C
The clock cycle time () of a pipelined processor is determined by the latency of its slowest stage plus any pipeline register overhead. Since the pipeline registers have zero latency, the clock cycle time is simply the maximum stage latency of the pipeline:
The peak clock frequency () is the reciprocal of the clock cycle time:
To find the processor with the highest peak clock frequency, we must find the processor with the minimum clock cycle time ():
- Processor P1:
- Processor P2:
- Processor P3:
- Processor P4:
Comparing the peak frequencies, P3 has the shortest clock cycle time () and consequently the highest peak clock frequency ().
Free practice · Your answers on this page are not saved.
