A 5-stage pipeline has stage delays of 150, 120, 160, 140 and 130 ps, and each pipeline register adds 10 ps. How long does it take to execute 1000 instructions with no stalls?

Correct answer D. 170.68 ns

Explanation

The clock period is set by the slowest stage plus the register overhead: 160 + 10 = 170 ps. The pipeline needs 5 + 1000 - 1 = 1004 cycles, so 1004 x 170 ps = 170,680 ps = 170.68 ns. 160.64 ns forgets the latch delay, and 700 ns is the non-pipelined time if each instruction took the 700 ps sum of stage delays; that figure is actually 1000 x 700 ps = 700 ns. Unbalanced stages waste time in the faster stages.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.