SlideShare a Scribd company logo
1 of 23
Power
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 2
Outline
 Power and Energy
 Dynamic Power
 Static Power
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 3
Power and Energy
 Power is drawn from a voltage source attached to
the VDD pin(s) of a chip.
 Instantaneous Power:
 Energy:
 Average Power:
( ) ( ) ( )
P t I t V t

0
( )
T
E P t dt
 
avg
0
1
( )
T
E
P P t dt
T T
  
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 4
Power in Circuit Elements
   
VDD DD DD
P t I t V

 
 
 
2
2
R
R R
V t
P t I t R
R
 
     
 
0 0
2
1
2
0
C
C
V
C
dV
E I t V t dt C V t dt
dt
C V t dV CV
 
 
 
 

CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 5
Charging a Capacitor
 When the gate output rises
– Energy stored in capacitor is
– But energy drawn from the supply is
– Half the energy from VDD is dissipated in the pMOS
transistor as heat, other half stored in capacitor
 When the gate output falls
– Energy in capacitor is dumped to GND
– Dissipated as heat in the nMOS transistor
2
1
2
C L DD
E C V

 
0 0
2
0
DD
VDD DD L DD
V
L DD L DD
dV
E I t V dt C V dt
dt
C V dV C V
 
 
 
 

CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 6
Switching Waveforms
 Example: VDD = 1.0 V, CL = 150 fF, f = 1 GHz
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 7
Switching Power
 
switching
0
0
sw
2
sw
1
( )
( )
T
DD DD
T
DD
DD
DD
DD
DD
P i t V dt
T
V
i t dt
T
V
Tf CV
T
CV f






C
fsw
iDD
(t)
VDD
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 8
Activity Factor
 Suppose the system clock frequency = f
 Let fsw = af, where a = activity factor
– If the signal is a clock, a = 1
– If the signal switches once per cycle, a = ½
 Dynamic power:
2
switching DD
P CV f
a

CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 9
Short Circuit Current
 When transistors switch, both nMOS and pMOS
networks may be momentarily ON at once
 Leads to a blip of “short circuit” current.
 < 10% of dynamic power if rise/fall times are
comparable for input and output
 We will generally ignore this component
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 10
Power Dissipation Sources
 Ptotal = Pdynamic + Pstatic
 Dynamic power: Pdynamic = Pswitching + Pshortcircuit
– Switching load capacitances
– Short-circuit current
 Static power: Pstatic = (Isub + Igate + Ijunct + Icontention)VDD
– Subthreshold leakage
– Gate leakage
– Junction leakage
– Contention current
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 11
Dynamic Power Example
 1 billion transistor chip
– 50M logic transistors
• Average width: 12 l
• Activity factor = 0.1
– 950M memory transistors
• Average width: 4 l
• Activity factor = 0.02
– 1.0 V 65 nm process
– C = 1 fF/mm (gate) + 0.8 fF/mm (diffusion)
 Estimate dynamic power consumption @ 1 GHz.
Neglect wire capacitance and short-circuit current.
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 12
Solution
    
    
   
6
logic
6
mem
2
dynamic logic mem
50 10 12 0.025 / 1.8 / 27 nF
950 10 4 0.025 / 1.8 / 171 nF
0.1 0.02 1.0 1.0 GHz 6.1 W
C m fF m
C m fF m
P C C
l m l m
l m l m
  
  
 
  
 
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 13
Dynamic Power Reduction

 Try to minimize:
– Activity factor
– Capacitance
– Supply voltage
– Frequency
2
switching DD
P CV f
a

CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 14
Activity Factor Estimation
 Let Pi = Prob(node i = 1)
– Pi = 1-Pi
 ai = Pi * Pi
 Completely random data has P = 0.5 and a = 0.25
 Data is often not completely random
– e.g. upper bits of 64-bit words representing bank
account balances are usually 0
 Data propagating through ANDs and ORs has lower
activity factor
– Depends on design, but typically a ≈ 0.1
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 15
Switching Probability
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 16
Example
 A 4-input AND is built out of two levels of gates
 Estimate the activity factor at each node if the inputs
have P = 0.5
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
Example
7: Power 17
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 18
Clock Gating
 The best way to reduce the activity is to turn off the
clock to registers in unused blocks
– Saves clock activity (a = 1)
– Eliminates all switching activity in the block
– Requires determining if block will be used
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 19
Capacitance
 Gate capacitance
– Fewer stages of logic
– Small gate sizes
 Wire capacitance
– Good floorplanning to keep communicating
blocks close to each other
– Drive long wires with inverters or buffers rather
than complex gates
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 20
Voltage / Frequency
 Run each block at the lowest possible voltage and
frequency that meets performance requirements
 Voltage Domains
– Provide separate supplies to different blocks
– Level converters required when crossing
from low to high VDD domains
 Dynamic Voltage Scaling
– Adjust VDD and f according to
workload
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 21
Static Power Example
 Revisit power estimation for 1 billion transistor chip
 Estimate static power consumption
– Subthreshold leakage
• Normal Vt: 100 nA/mm
• High Vt: 10 nA/mm
• High Vt used in all memories and in 95% of
logic gates
– Gate leakage 5 nA/mm
– Junction leakage negligible
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 22
Solution
    
        
 
t
t
t t
t t
6 6
normal-V
6 6 6
high-V
normal-V high-V
normal-V high-V
50 10 12 0.025 m / 0.05 0.75 10 m
50 10 12 0.95 950 10 4 0.025 m / 109.25 10 m
100 nA/ m+ 10 nA/ m / 2 584 mA
5 nA/ m / 2
sub
gate
W
W
I W W
I W W
l m l m
l l m l m
m m
m
   
 
     
 
 
   
 
 
   
 
  
275 mA
P 584 mA 275 mA 1.0 V 859 mW
static   
CMOS VLSI Design
CMOS VLSI Design 4th Ed.
7: Power 23
Power Gating
 Turn OFF power to blocks when they are idle to
save leakage
– Use virtual VDD (VDDV)
– Gate outputs to prevent
invalid logic levels to next block
 Voltage drop across sleep transistor degrades
performance during normal operation
– Size the transistor wide enough to minimize
impact
 Switching wide sleep transistor costs dynamic power
– Only justified when circuit sleeps long enough

More Related Content

Similar to Lecture 9.ppt

FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.ppt
FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.pptFALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.ppt
FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.pptVijaySathappan
 
EEE 4157_Lecture_10_11_12_13.ppt
EEE 4157_Lecture_10_11_12_13.pptEEE 4157_Lecture_10_11_12_13.ppt
EEE 4157_Lecture_10_11_12_13.pptOmarFaruqe23
 
Lect 1 - cktlay.ppt
Lect 1 - cktlay.pptLect 1 - cktlay.ppt
Lect 1 - cktlay.pptAnimSarker
 
lect1-circuits and layout.ppt
lect1-circuits and layout.pptlect1-circuits and layout.ppt
lect1-circuits and layout.pptssuserf7da1a
 
High Speed, Broadband Amplifiers.pdf
High Speed, Broadband Amplifiers.pdfHigh Speed, Broadband Amplifiers.pdf
High Speed, Broadband Amplifiers.pdfLu Chen
 
lecture_MR in Mosfet Operation and Charecteristics
lecture_MR in Mosfet Operation and Charecteristicslecture_MR in Mosfet Operation and Charecteristics
lecture_MR in Mosfet Operation and CharecteristicsBEVARAVASUDEVAAP1813
 
DESIGN OF TWO-STAGE OP AMPS.pdf
DESIGN OF TWO-STAGE OP AMPS.pdfDESIGN OF TWO-STAGE OP AMPS.pdf
DESIGN OF TWO-STAGE OP AMPS.pdftempor3
 
EC6601 VLSI Design CMOS Fabrication
EC6601 VLSI Design   CMOS FabricationEC6601 VLSI Design   CMOS Fabrication
EC6601 VLSI Design CMOS Fabricationchitrarengasamy
 
Ppt 2- req portions
Ppt 2- req portionsPpt 2- req portions
Ppt 2- req portionsVidyaRao1224
 
Introduction to COMS VLSI Design
Introduction to COMS VLSI DesignIntroduction to COMS VLSI Design
Introduction to COMS VLSI DesignEutectics
 
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.ppt
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.pptbasic_CMOS_technology_CERN_GENEVA_SWITZERLAND.ppt
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.pptlefohi9060
 
lecture-4_me_v01.pptx
lecture-4_me_v01.pptxlecture-4_me_v01.pptx
lecture-4_me_v01.pptxmsc6272
 
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUIT
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUITPOWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUIT
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUITAnil Yadav
 
Nowka low-power-07
Nowka low-power-07Nowka low-power-07
Nowka low-power-07Vijay Prime
 
Lect 2 CMOS Transistor Theory.pptx
Lect 2 CMOS Transistor Theory.pptxLect 2 CMOS Transistor Theory.pptx
Lect 2 CMOS Transistor Theory.pptxmisbahmridul
 

Similar to Lecture 9.ppt (20)

FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.ppt
FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.pptFALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.ppt
FALLSEM2023-24_BECE303L_TH_VL2023240100242_2023-04-24_Reference-Material-I.ppt
 
EEE 4157_Lecture_10_11_12_13.ppt
EEE 4157_Lecture_10_11_12_13.pptEEE 4157_Lecture_10_11_12_13.ppt
EEE 4157_Lecture_10_11_12_13.ppt
 
Lect 1 - cktlay.ppt
Lect 1 - cktlay.pptLect 1 - cktlay.ppt
Lect 1 - cktlay.ppt
 
lect1-circuits and layout.ppt
lect1-circuits and layout.pptlect1-circuits and layout.ppt
lect1-circuits and layout.ppt
 
High Speed, Broadband Amplifiers.pdf
High Speed, Broadband Amplifiers.pdfHigh Speed, Broadband Amplifiers.pdf
High Speed, Broadband Amplifiers.pdf
 
IC_Lectures_Updated.pdf
IC_Lectures_Updated.pdfIC_Lectures_Updated.pdf
IC_Lectures_Updated.pdf
 
Cmos VLSI Design By umakant bhaskar gohatre
Cmos VLSI Design By umakant bhaskar gohatreCmos VLSI Design By umakant bhaskar gohatre
Cmos VLSI Design By umakant bhaskar gohatre
 
lect501.ppt
lect501.pptlect501.ppt
lect501.ppt
 
lecture_MR in Mosfet Operation and Charecteristics
lecture_MR in Mosfet Operation and Charecteristicslecture_MR in Mosfet Operation and Charecteristics
lecture_MR in Mosfet Operation and Charecteristics
 
9077262.ppt
9077262.ppt9077262.ppt
9077262.ppt
 
Power
PowerPower
Power
 
DESIGN OF TWO-STAGE OP AMPS.pdf
DESIGN OF TWO-STAGE OP AMPS.pdfDESIGN OF TWO-STAGE OP AMPS.pdf
DESIGN OF TWO-STAGE OP AMPS.pdf
 
EC6601 VLSI Design CMOS Fabrication
EC6601 VLSI Design   CMOS FabricationEC6601 VLSI Design   CMOS Fabrication
EC6601 VLSI Design CMOS Fabrication
 
Ppt 2- req portions
Ppt 2- req portionsPpt 2- req portions
Ppt 2- req portions
 
Introduction to COMS VLSI Design
Introduction to COMS VLSI DesignIntroduction to COMS VLSI Design
Introduction to COMS VLSI Design
 
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.ppt
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.pptbasic_CMOS_technology_CERN_GENEVA_SWITZERLAND.ppt
basic_CMOS_technology_CERN_GENEVA_SWITZERLAND.ppt
 
lecture-4_me_v01.pptx
lecture-4_me_v01.pptxlecture-4_me_v01.pptx
lecture-4_me_v01.pptx
 
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUIT
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUITPOWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUIT
POWER CONSUMPTION AT CIRCUIT OR LOGIC LEVEL IN CIRCUIT
 
Nowka low-power-07
Nowka low-power-07Nowka low-power-07
Nowka low-power-07
 
Lect 2 CMOS Transistor Theory.pptx
Lect 2 CMOS Transistor Theory.pptxLect 2 CMOS Transistor Theory.pptx
Lect 2 CMOS Transistor Theory.pptx
 

Recently uploaded

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 

Recently uploaded (20)

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 

Lecture 9.ppt

  • 2. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 2 Outline  Power and Energy  Dynamic Power  Static Power
  • 3. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 3 Power and Energy  Power is drawn from a voltage source attached to the VDD pin(s) of a chip.  Instantaneous Power:  Energy:  Average Power: ( ) ( ) ( ) P t I t V t  0 ( ) T E P t dt   avg 0 1 ( ) T E P P t dt T T   
  • 4. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 4 Power in Circuit Elements     VDD DD DD P t I t V        2 2 R R R V t P t I t R R           0 0 2 1 2 0 C C V C dV E I t V t dt C V t dt dt C V t dV CV         
  • 5. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 5 Charging a Capacitor  When the gate output rises – Energy stored in capacitor is – But energy drawn from the supply is – Half the energy from VDD is dissipated in the pMOS transistor as heat, other half stored in capacitor  When the gate output falls – Energy in capacitor is dumped to GND – Dissipated as heat in the nMOS transistor 2 1 2 C L DD E C V    0 0 2 0 DD VDD DD L DD V L DD L DD dV E I t V dt C V dt dt C V dV C V         
  • 6. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 6 Switching Waveforms  Example: VDD = 1.0 V, CL = 150 fF, f = 1 GHz
  • 7. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 7 Switching Power   switching 0 0 sw 2 sw 1 ( ) ( ) T DD DD T DD DD DD DD DD P i t V dt T V i t dt T V Tf CV T CV f       C fsw iDD (t) VDD
  • 8. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 8 Activity Factor  Suppose the system clock frequency = f  Let fsw = af, where a = activity factor – If the signal is a clock, a = 1 – If the signal switches once per cycle, a = ½  Dynamic power: 2 switching DD P CV f a 
  • 9. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 9 Short Circuit Current  When transistors switch, both nMOS and pMOS networks may be momentarily ON at once  Leads to a blip of “short circuit” current.  < 10% of dynamic power if rise/fall times are comparable for input and output  We will generally ignore this component
  • 10. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 10 Power Dissipation Sources  Ptotal = Pdynamic + Pstatic  Dynamic power: Pdynamic = Pswitching + Pshortcircuit – Switching load capacitances – Short-circuit current  Static power: Pstatic = (Isub + Igate + Ijunct + Icontention)VDD – Subthreshold leakage – Gate leakage – Junction leakage – Contention current
  • 11. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 11 Dynamic Power Example  1 billion transistor chip – 50M logic transistors • Average width: 12 l • Activity factor = 0.1 – 950M memory transistors • Average width: 4 l • Activity factor = 0.02 – 1.0 V 65 nm process – C = 1 fF/mm (gate) + 0.8 fF/mm (diffusion)  Estimate dynamic power consumption @ 1 GHz. Neglect wire capacitance and short-circuit current.
  • 12. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 12 Solution               6 logic 6 mem 2 dynamic logic mem 50 10 12 0.025 / 1.8 / 27 nF 950 10 4 0.025 / 1.8 / 171 nF 0.1 0.02 1.0 1.0 GHz 6.1 W C m fF m C m fF m P C C l m l m l m l m             
  • 13. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 13 Dynamic Power Reduction   Try to minimize: – Activity factor – Capacitance – Supply voltage – Frequency 2 switching DD P CV f a 
  • 14. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 14 Activity Factor Estimation  Let Pi = Prob(node i = 1) – Pi = 1-Pi  ai = Pi * Pi  Completely random data has P = 0.5 and a = 0.25  Data is often not completely random – e.g. upper bits of 64-bit words representing bank account balances are usually 0  Data propagating through ANDs and ORs has lower activity factor – Depends on design, but typically a ≈ 0.1
  • 15. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 15 Switching Probability
  • 16. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 16 Example  A 4-input AND is built out of two levels of gates  Estimate the activity factor at each node if the inputs have P = 0.5
  • 17. CMOS VLSI Design CMOS VLSI Design 4th Ed. Example 7: Power 17
  • 18. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 18 Clock Gating  The best way to reduce the activity is to turn off the clock to registers in unused blocks – Saves clock activity (a = 1) – Eliminates all switching activity in the block – Requires determining if block will be used
  • 19. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 19 Capacitance  Gate capacitance – Fewer stages of logic – Small gate sizes  Wire capacitance – Good floorplanning to keep communicating blocks close to each other – Drive long wires with inverters or buffers rather than complex gates
  • 20. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 20 Voltage / Frequency  Run each block at the lowest possible voltage and frequency that meets performance requirements  Voltage Domains – Provide separate supplies to different blocks – Level converters required when crossing from low to high VDD domains  Dynamic Voltage Scaling – Adjust VDD and f according to workload
  • 21. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 21 Static Power Example  Revisit power estimation for 1 billion transistor chip  Estimate static power consumption – Subthreshold leakage • Normal Vt: 100 nA/mm • High Vt: 10 nA/mm • High Vt used in all memories and in 95% of logic gates – Gate leakage 5 nA/mm – Junction leakage negligible
  • 22. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 22 Solution                 t t t t t t 6 6 normal-V 6 6 6 high-V normal-V high-V normal-V high-V 50 10 12 0.025 m / 0.05 0.75 10 m 50 10 12 0.95 950 10 4 0.025 m / 109.25 10 m 100 nA/ m+ 10 nA/ m / 2 584 mA 5 nA/ m / 2 sub gate W W I W W I W W l m l m l l m l m m m m                                  275 mA P 584 mA 275 mA 1.0 V 859 mW static   
  • 23. CMOS VLSI Design CMOS VLSI Design 4th Ed. 7: Power 23 Power Gating  Turn OFF power to blocks when they are idle to save leakage – Use virtual VDD (VDDV) – Gate outputs to prevent invalid logic levels to next block  Voltage drop across sleep transistor degrades performance during normal operation – Size the transistor wide enough to minimize impact  Switching wide sleep transistor costs dynamic power – Only justified when circuit sleeps long enough