📜  门|门CS 2011 |第 65 题

📅  最后修改于: 2021-09-26 04:09:47             🧑  作者: Mango

考虑一个具有四个阶段(S1、S2、S3 和 S4)的指令流水线,每个阶段都只有组合电路。每个阶段之间和最后一个阶段结束时都需要流水线寄存器。各阶段和流水线寄存器的延迟如图所示:

GATECS2011Q41

与相应的非管道实现相比,理想条件下管道在稳态下的近似加速是多少?
(一) 4.0
(乙) 2.5
(三) 1.1
(四) 3.0答案:(乙)
解释:

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 

这个问题的测验