Delay
Delay
Logic levels
Solid logic 0/1 defined by VSS/VDD. Inner bounds of logic values VL/VH are not directly determined by circuit properties, as in some other logic families.
VDD
logic 1 unknown
VH VL
VSS
logic 0
Transfer characteristics
Transfer curve shows static input/output relationshiphold input voltage, measure output voltage.
Noise Margins
How much noise can a gate input see before it does not recognize the input?
Output Characteristics Logical High Output Range VDD Input Characteristics Logical High Input Range Indeterminate Region Logical Low Input Range
VOL GND
Logic Levels
To maximize noise margins, select logic levels at
Vout VDD
0 VDD
Vin
Logic Levels
To maximize noise margins, select logic levels at
unity gain point of DC transfer characteristic
Vout VDD VOH p / n > 1 Vin Vout Unity Gain Points Slope = -1
Vin
Noise margin
Noise margin = voltage difference between output of one gate and input of next. Noise must exceed noise margin to make second gate produce wrong output.
Delay Definitions
tpdr: tpdf: tpd: tr: tf: fall time
Delay Definitions
tpdr: rising propagation delay From input to rising output crossing VDD/2 tpdf: falling propagation delay From input to falling output crossing VDD/2 tpd: average propagation delay tpd = (tpdr + tpdf)/2 tr: rise time From output crossing 0.2 VDD to 0.8 VDD tf: fall time From output crossing 0.8 VDD to 0.2 VDD
Delay Definitions
tcdr: rising contamination delay
From input to rising output crossing VDD/2
1.5
1.0 (V)
Vin
0.5
tpdf = 66ps
tpdr = 83ps
Vout
0.0
0.0
200p
400p t(s)
600p
800p
1n
Delay Estimation
We would like to be able to easily estimate delay Not as accurate as simulation But can we give estimates? The step response usually looks like a 1st order RC response with a decaying exponential. Use RC delay models to estimate delay C = total capacitance on output node Use effective resistance R So that tpd = RC Characterize transistors by finding their effective R Depends on average current as gate switches
RC delay
Load is resistor + capacitor, driver is resistor.
tf
RC Delay Models
Use equivalent circuits for MOS transistors
Ideal switch + capacitance and ON resistance Unit nMOS has resistance R, capacitance C Unit pMOS has resistance 2R, capacitance C
3 3 3
3C 3C 3C
Elmore Delay
ON transistors look like resistors Pullup or pulldown network modeled as RC ladder Elmore delay of RC ladder t pd Ri to sourceCi
nodes i
2 2 2x 6C 2C
Y 4hC
h copies
t pdr =
2 2 2x 6C 2C
Y 4hC
h copies
t pdr = ( 6 + 4h ) RC
Y 4hC
h copies
x R/2
R/2 2C
Y (6+4h)C
t pdf =
2 2 2x 6C 2C
Y 4hC
h copies
x R/2
Y (6+4h)C
R R t pdf = ( 2C ) ( R + 6 + 4 h C + ( ) ) ( 2 2 2)
= ( 7 + 4h ) RC
Delay Components
Delay has two parts
Parasitic delay
6 or 7 RC Independent of load
Effort delay
4h RC Proportional to load capacitance
An approximate method:
Assume constant Iavg The NMOS and the PMOS are in saturated region and provide a constant current.
t PHL
t PLH =
t1
t2
Iavg = I1
Some Points
The delay of a gate, be it the rise or the fall time is inversely proportional to VDD. Point to ponder: Effect of sizing on the inverter gate delay.