ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 15: October 10, 2012 Inverter Performance Penn ESE370 Fall2012 -- DeHon.

Download Report

Transcript ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 15: October 10, 2012 Inverter Performance Penn ESE370 Fall2012 -- DeHon.

ESE370:
Circuit-Level
Modeling, Design, and Optimization
for Digital Systems
Day 15: October 10, 2012
Inverter Performance
1
Penn ESE370 Fall2012 -- DeHon
Previously
• Delay as RC-charging
• Transistor
– Capacitance
– Drive Current
– As a function of geometry (W/L)
2
Penn ESE370 Fall2012 -- DeHon
Today
• Sizing
• Large Fanout
• Capacitance Revisited
– Miller Effect
– Parallel Gate Capacitance
3
Penn ESE370 Fall2012 -- DeHon
Transistor Sizing
• What happens to Ids as a function of W?

VDSAT 
IDS   sat COX W VGS  VT 


2 
• What happens to Cg as a function of W?

CG  CoxWL
• Conclude: faster transistors present
more load on their inputs
Penn ESE370 Fall2012 -- DeHon
4
First Order Delay
• R0 = Resistance of minimum size
NMOS device
• C0 = gate capacitance of minimum size
NMOS device
• Rdrive = R0/W
• Cg = WC0
5
Penn ESE370 Fall2012 -- DeHon
t model
• All delays are RC delays
• Always have an R0C0 term
 t= R0C0
• Express all delays in t units
• Like l units for measurement
– Separate delay into
• Technology dependent term t= R0C0
• Technology independent term
6
Penn ESE370 Fall2012 -- DeHon
Inverter Sizing
• What is the impact of the delay on the
middle inverter if double size of all the
transistors?
7
Penn ESE370 Fall2012 -- DeHon
How Size
• How size to equalize Rise and Fall?
 mn=500cm2/Vs, mp=200cm2/Vs
– When velocity saturated
– Rdrive=R0/2
8
Penn ESE370 Fall2012 -- DeHon
SPICE Simulation
9
Penn ESE370 Fall2012 -- DeHon
Worst Case Delay
• Largest R
• Rdrive = max(Rpullup,Rpulldown)
• If equalize Rpullup and Rpulldown
– Rdrive = Rpullup=Rpulldown
10
Penn ESE370 Fall2012 -- DeHon
Equalizing Delay
• For simplicity, for today
– Assume Wp=Wn equalizes Ids
11
Penn ESE370 Fall2012 -- DeHon
Large Fanout
• What is delay if must
drive fanout=100?
12
Penn ESE370 Fall2012 -- DeHon
What Delay?
• What is delay here?
13
Penn ESE370 Fall2012 -- DeHon
How Size
• How size transistors to
minimize delay?
14
Penn ESE370 Fall2012 -- DeHon
Optimizing
•
•
•
•
•
Delay = 2Wmid/1 + 200/Wmid
How minimize?
D(Delay)/D(Wmid) = 0
2 – 200/(Wmid)2=0
Wmid=sqrt(100) = 10
15
Penn ESE370 Fall2012 -- DeHon
Delay?
• Delay at optimal Wmid?
16
Penn ESE370 Fall2012 -- DeHon
Try again
• What is the delay here?
17
Penn ESE370 Fall2012 -- DeHon
…and Again
• Delay here?
18
Penn ESE370 Fall2012 -- DeHon
Lesson
•
•
•
•
Don’t drive large fanout with a single stage
Must scale up over a number of stages
…but not too many
Exact number will be technology dependent
19
Penn ESE370 Fall2012 -- DeHon
Charge on Capacitors
20
Penn ESE370 Fall2012 -- DeHon
Questions
• What is DQ when switched?
• Equivalent Capacitance?
• Contribution from each transistor?
21
Penn ESE370 Fall2012 -- DeHon
Gate-Drain Capacitance
• What is the voltage
across Vin—V2
– When Vin=Vdd
– When Vin=Gnd
• What is DV across
Vin—V2 when Vin
switches from Vdd to
Gnd?
22
Penn ESE370 Fall2012 -- DeHon
Miller Effect
• For an inverting gate
• Capacitance between
input and output must
swing 2 Vhigh
• Or…acts as doublesized capacitor
23
Penn ESE370 Fall2012 -- DeHon
Admin
• Drop Date Friday
• HW5 out
– More work than HW4
– Get started early
– Ramping up for Project
24
Penn ESE370 Fall2012 -- DeHon
Ideas
• First order delay reason in t=R0C0 units
• Scaling everything up doesn’t help
• Drive large capacitive loads in stages
25
Penn ESE370 Fall2012 -- DeHon