retagged by
273 views
1 votes
1 votes
Consider two pipelines A and B. Pipeline A has $8$ stages with uniform stage delay of $2$ns. Pipeline B has $5$ stages with uniform stage delays of $3$ns. Time saved (in ns) by pipeline A compared to pipeline B to execute $100$ instructions is _____.
retagged by

1 Answer

Best answer
1 votes
1 votes
in pipeline A, first instruction executes in 16ns (8stage*2ns). after that each 1 instruction get completed in 2ns.

so total delay is 1*16 + 99*2 = 214ns

in pipeline B, first instruction executes in 15ns =(3+3+3+3+3). after that each one instruction get completed in 3ns. (as delay of pipeline is maximum delay of any stage)

so total delay is 1*15 + 99*3 =  297 + 15 = 312ns

so time saved is 312 - 214 = 98 ns
selected by
Answer:

Related questions

0 votes
0 votes
2 answers
2
1 votes
1 votes
1 answer
4