考虑以下处理器(ns 代表纳秒)。假设流水线寄存器的延迟为零。
P1: Four-stage pipeline with stage
latencies 1 ns, 2 ns, 2 ns, 1 ns.
P2: Four-stage pipeline with stage
latencies 1 ns, 1.5 ns, 1.5 ns, 1.5 ns.
P3: Five-stage pipeline with stage
latencies 0.5 ns, 1 ns, 1 ns, 0.6 ns, 1 ns.
P4: Five-stage pipeline with stage
latencies 0.5 ns, 0.5 ns, 1 ns, 1 ns, 1.1 ns.
哪个处理器的峰值时钟频率最高?
(一) P1
(B) P2
(C) P3
(四) P4答案: (C)
解释:
Peak clock frequency = 1 / Maximum latency
Maximum of latencies is minimum in P3
i.e.
P1 : f= 1/2 = 0.5 GHz
P2: f=1/1.5 = 0.67 GHz
P4: f=1/1.1 GHz
P3 : f=1/1 GHz =1
Thus P3 is be the right answer
该解释由Abhishek Kumar 提供。
这个问题的测验