• retagged by
1,614 views
0 0 votes
An instruction pipelined processor has five stages namely, instruction fetch (F), instruction decode
(D), Instruction execution (E), memory Access for operand (M) and write Back (W) with stage
latencies of 1 ns, 2ns, 2 ns, 1 ns, 1 ns respectively. To gain interms of frequency, the designer
decided to split the decoder stage into two stages D1 and D2 each of latency 1 ns and execute stage
into 3 stages E1, E2 and E3 stages each of latency 2ns/3.
A program has '100' instructions, all instructions use all stage services. The amount of time saved
(in ns) using new design over old design is __________.

I am getting 99 but the answer provided is 96. Can you please verify.

1 Answer

0 0 votes

Old design:

K = 5, tp= max (1, 2 ,2, 1, 1)=2 ns ,n = 100

Execution time = (k+n-1)x tp  = (5 + 100-1) × 2 = 208 ns

 

New design:

K = 8, tp= max (1, 1, 1, 2/3, 2/3 2/3, 1,1 ) =1 ns

Execution time = (k+n-1)x tp  = (8 + 100-1) × 1 = 107 ns

Amount of time saved = (208 – 106) = 101 ns

Hence final answer should be 101 ns.

 

 

Position:
Show:

Related questions

78 78 votes
11 answers 11 answers
33.6k
33.6k views
go_editor asked Sep 28, 2014
33,555 views
Consider a $6$-stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is exec...
197 197 votes
9 answers 9 answers
77.7k
77.7k views
Kathleen asked Sep 22, 2014
77,702 views
A $5$ stage pipelined CPU has the following sequence of stages:IF – instruction fetch from instruction memoryRD – Instruction decode and register readEX – Execute: ALU op...
74 74 votes
4 answers 4 answers
35.5k
35.5k views
Kathleen asked Sep 12, 2014
35,516 views
Which of the following are NOT true in a pipelined processor?Bypassing can handle all RAW hazardsRegister renaming can eliminate all register carried WAR hazardsControl h...
6 6 votes
2 answers 2 answers
3.0k
3.0k views