Question
Consider an instruction pipeline with four stages (S1, S2, S3 and S4) each with combinational circuit only. The pipeline registers are required between each stage and at the end of the last stage. Delays for the stages and for the pipeline registers are as given in the figure.
What is the approximate speed up of the pipeline in steady state under ideal conditions when compared to the corresponding non-pipeline implementation?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2011 answer key
Solution
Calculate non-pipelined total latency versus pipelined clock cycle period to determine speedup.
- For the non-pipelined implementation, an instruction traverses all combinational stages in a single unclocked path. Total non-pipelined delay is:
- For the pipelined implementation, the clock period is governed by the slowest stage delay plus the register delay:
- Under ideal conditions in steady state, one instruction completes every clock cycle (). The speedup is:
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2011 Computer Science and Information Technology (CS)
- Question
- 41 of 65, printed as CS Q.41
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.