考虑具有四个阶段(S1,S2,S3和S4)的指令流水线,每个阶段仅具有组合电路。在每个阶段之间以及最后阶段结束时都需要流水线寄存器。该阶段和流水线寄存器的延迟如图所示:
与相应的非管道实现相比,理想条件下稳态下管道的近似加速速度是多少?
(A) 4.0
(B) 2.5
(C) 1.1
(D) 3.0答案: (B)
解释:
Pipeline registers overhead is not counted in normal
time execution
So the total count will be
5+6+11+8= 30 [without pipeline]
Now, for pipeline, each stage will be of 11 n-sec (+ 1 n-sec for overhead).
and, in steady state output is produced after every pipeline cycle. Here,
in this case 11 n-sec. After adding 1n-sec overhead, We will get 12 n-sec
of constant output producing cycle.
dividing 30/12 we get 2.5
这个问题的测验