Given an unpipelined processor with a 10 ns cycle time and pipeline latches with
ID: 3870086 • Letter: G
Question
Given an unpipelined processor with a 10 ns cycle time and pipeline latches with 0.5 ns latency, what are the cycle times of pipelined versions of the processor with 2, 4, 8, and 16 stages if the datapath logic is evenly divided among the pipeline stages? Also, what is the latency of each of the pipelined versions of the processor? The latency of a pipeline is the amount of time that single instruction takes to pass through the pipeline, which is the product of the number of pipeline stages and the clock cycle time.
Explanation / Answer
Cycle Time unpipelined = 10 ns
pipeline stages = 2,4,7 and 16
pipeline latch latency = 0.5 ns
cycle times:
Therefore, Cycle time for 2 stage pipeline = (10 ns / 2) + 0.5 = 5.5 ns.
For 4 stage pipeline = (10 ns / 4) + 0.5 = 3 ns
For 7 stage pipeline = (10 ns / 7) + 0.5 = 1.92857 ns
For 7 stage pipeline = (10 ns / 16) + 0.5 = 1.125 ns
Latency
Latency = Cycle time x No. of pipeline stages.
Therefore,Latency for 2 stage pipeline = 5.5 x 2 = 11 ns
For 4 stage pipeline = 3 x 4 = 12 ns
For 7 stage pipeline = 1.92857 x 7 = 13.49999 ns
For 16 stage pipeline = 1.125 x 16 = 18 ns
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.