View worked solution
Answer: 2.15:2.18
To find the speedup achieved by the pipelined processor over the non-pipelined processor, we compare the average execution time per instruction for both cases.
1. Non-Pipelined Processor
- Frequency ():
- Clock cycle time ():
- Cycles per instruction ():
Average execution time per instruction ():
2. Pipelined Processor
- Frequency ():
- Clock cycle time ():
- Ideal CPI:
Instruction Mix and Stalls:
- Memory Instructions ( of total):
of these cause stall cycles each.
- Branch Instructions ( of total, since ):
of these cause stall cycles each.
- ALU Instructions ( of total):
These cause stalls.
Average CPI of the Pipelined Processor ():
Average execution time per instruction ():
3. Speedup Calculation
Rounding off to two decimal places, the speedup is 2.16.
Free practice · Your answers on this page are not saved.
