Note:
2.34
Step-by-Step Solution
Key idea: This is a pipelining speedup NAT with clock rate change, recognisable because it gives the clock frequencies and CPI/stall information for both non-pipelined and pipelined designs.
Step 1: Calculate the execution time per instruction for the non-pipelined design.
Clock frequency GHz.
Cycles per instruction .
Time per instruction time units.
Step 2: Calculate the execution time per instruction for the pipelined design.
Clock frequency GHz.
Base CPI = 1.
Stall penalty: 30% of instructions encounter a 2-cycle stall.
Average stall cycles per instruction = .
Actual CPI .
Time per instruction time units.
Step 3: Calculate the speedup.
Speedup = .
Rounded to two decimal places, this is 2.34.
Answer: 2.34