|
Due date: On or before Tuesday, February 17, 2026 Absolutely no copying others’ works |
Name: Professor Hu |
| Clock rate | CPI Class A | CPI Class B | CPI Class C | |
|---|---|---|---|---|
| P1 | 2.5 GHz | 2 | 2 | 3 |
| P2 | 3.0 GHz | 2 | 3 | 3 |
number of instructionsA = 105 instructions × 40% = 4×104 instructions number of instructionsB = 105 instructions × 30% = 3×104 instructions number of instructionsC = 105 instructions × 30% = 3×104 instructions time = number of instructions × CPI ÷ clock rateP1:
timeA = (4×104 instructions) × (2 cycles/instruction) ÷ (2.5×109 cycles/second) = 3.2×10-5 seconds timeB = (3×104 instructions) × (2 cycles/instruction) ÷ (2.5×109 cycles/second) = 2.4×10-5 seconds timeC = (3×104 instructions) × (3 cycles/instruction) ÷ (2.5×109 cycles/second) = 3.6×10-5 seconds total timeP1 = 3.2×10-5 + 2.4×10-5 + 3.6×10-5 = 9.2×10-5 secondsP2:
timeA = (4×104 instructions) × (2 cycles/instruction) ÷ (3.0×109 cycles/second) = 2.67×10-5 seconds timeB = (3×104 instructions) × (3 cycles/instruction) ÷ (3.0×109 cycles/second) = 3.0×10-5 seconds timeC = (3×104 instructions) × (3 cycles/instruction) ÷ (3.0×109 cycles/second) = 3.0×10-5 seconds total timeP2 = 2.67×10-5 + 3.0×10-5 + 3.0×10-5 = 8.67×10-5 seconds
global CPI = execution time × clock rate ÷ number of instructions, where the execution time can be found from the solution of the previous question. CPI = time × clock rate ÷ number of instructions
CPIP1
= (9.2×10-5 seconds) × (2.5×109 cycles/second) ÷ (105 instructions)
= 2.3 cycles/instruction
CPIP2
= (8.67×10-4 seconds) × (3.0×109 cycles/second) ÷ (105 instructions)
= 2.6 cycles/instruction
clock cyclesP1 = (4×104 instructions × 2 cycles/instruction) + (3×104 instructions × 2 cycles/instruction) + (3×104 instructions × 3 cycles/instruction) = 2.3×105 cycles clock cyclesP2 = (4×104 instructions × 2 cycles/instruction) + (3×104 instructions × 3 cycles/instruction) + (3×104 instructions × 3 cycles/instruction) = 2.6×105 cycles
Dynamic power ∝ ½ × Capacitive load × Voltage2 × Frequency switched Capacitive load ≅ 2 × Dynamic power ÷ ( Voltage2 × Frequency switched ) ≅ 2 × 60 ÷ ( 22 × 3 × 109 ) = 1.0 × 10-8
| Wafer diameter | Dies per wafer | Defects per unit area | Cost per wafer | # of critical steps |
|---|---|---|---|---|
| 20 cm | 80 | 0.04 defects/cm2 | 40 | 2 |
Wafer area = 3.14159 × 102 cm2 = 314.159 cm2 Die area = 314.159 cm2 / 80 = 3.93 cm2 Yield = 1 / ( 1 + Defects per area × Die area )n = 1 / ( 1 + 0.04 defects/cm2 × 3.93 cm2 )2 = 0.75
Cost per die = Cost per wafer / ( Dies per wafer × Yield ) = 40 / ( 80 × 0.75 ) = 0.67
Wafer area = 3.14159 × 102 cm2 = 314.159 cm2 Die area = 314.159 cm2 / ( 80 × 1.05 ) = 3.74 cm2 Yield = 1 / ( 1 + Defects per area × Die area )n = 1 / [ 1 + ( 0.04 × 1.10 defects/cm2 ) × 3.74 cm2 ]2 = 0.74