Answer: 2.30:2.40
To find the speed-up obtained by the pipelined design over the non-pipelined design, we compare the average execution time per instruction for both configurations.
1. Non-Pipelined System
- Clock Frequency (fnp): 1.6 GHz
- Clock Cycle Time (Tnp): 1.6 GHz1=1.61 ns
- Average Cycles Per Instruction (CPInp): 5
- Average Execution Time per Instruction (ETnp):
ETnp=CPInp×Tnp=5×1.61 ns=3.125 ns
2. Pipelined System
- Clock Frequency (fp): 1.2 GHz
- Clock Cycle Time (Tp): 1.2 GHz1=1.21 ns
- Average Cycles Per Instruction (CPIp):
Under ideal conditions, the pipeline achieves 1 instruction per clock cycle (Ideal CPI=1). Since 30% of the instructions encounter a stall of 2 cycles:
CPIp=Ideal CPI+Average Stall Cycles=1+(0.30×2)=1.6
- Average Execution Time per Instruction (ETp):
ETp=CPIp×Tp=1.6×1.21 ns=1.21.6 ns=34 ns≈1.333 ns
3. Speed-up Calculation
The speed-up (S) is given by the ratio of the execution times:
S=ETpETnp=343.125=3.125×0.75=2.34375
Rounding off to two decimal places, the speed-up obtained is 2.34 (which lies within the accepted range of 2.30 to 2.40).