Module 3
Module 3
Module 3:
Acknowledgement:
Most of the slides taken from
CMOS VLSI Design by N. Weste (Lec.5, 6, 7)
Digital Integrated Circuits by Rabaey
CMOS inverter: DC transfer Characteristics,
Logic Levels and Noise Margin
DC Response
0
VDD
Vin
Vout
Vout(t)
t
t0
Delay Definitions
2.0
1.5
1.0
(V)
tpdf = 66ps tpdr = 83ps
Vin
Vout
0.5
0.0
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
d = 6RC
Layout Dependence of Capacitance
Annotate the 3-input NAND gate with gate and diffusion capacitance.
Transient Response & Delay Calculation
Elmore Delay
ON transistors look like resistors
Pull-up or pull-down network modeled as RC ladder
Elmore delay of RC ladder
R1 R2 R3 RN
C1 C2 C3 CN
At node n1, the capacitance is C1 and the resistance to the source is R1 . At node Vout , the
capacitance is C2 and the resistance to the source is (R1 + R2).
Example: 3-input NAND
Estimate worst-case rising and falling delay of 3-input NAND driving h
identical gates.
t pdr 9 5h RC
tpdf = (3C)(R/3) + (3C)(R/3 + R/3) + ((9 + 5h)C)(R/3+ R/3 + R/3) = (12 + 5h)RC
Delay Components
Delay has two parts
Parasitic delay
• 9 or 12 RC
• Independent of load
Effort delay
• 5h RC
• Proportional to load capacitance
Logical Effort
Linear Delay
Chip designers face a bewildering array of choices
What is the best circuit topology for a function?
How many stages of logic give least delay?
How wide should the transistors be?
2 2 A 4
Y
2 B 4
A 2
A Y Y
1 B 2 1 1
d =f+p
= gh + p
What about
NOR2?
Parasitic Delay
Logical Effort: g = 1
Electrical Effort: h = 4 The FO4 delay is about
Parasitic Delay: p = 1 300 ps in 0.6 m process
15 ps in a 65 nm process
Stage Delay: d = 5
Multistage Logic Networks
The path logical effort G can be expressed as the products of the logical efforts of
each
stage along the path.
The path electrical effort H can be given as the ratio of the output capacitance the
path
must drive divided by the input capacitance presented by the path.
Path Delay
Path Delays
The path effort delay is the sum of the stage efforts. The sum
of a set of numbers whose product is constant is minimized by
choosing all the numbers to be equal.
In other words, the path delay is minimized when each stage bears the same effort. If a path
has N stages and each bears the same effort, that effort must be
Designing Fast Circuits
If a path has N stages and each bears the same effort, that effort must be
the minimum possible delay of an N-stage path with path effort F and path parasitic
delay P is
Starting with the load at the end of the path, work backward applying the
capacitance
transformation to determine the size of each stage.
Example: 3-stage path
Select gate sizes x and y for least delay from A to B
Logical Effort: G = (4/3)*(5/3)*(5/3) = 100/27
Parasitic Delay P = 2 + 3 + 2 = 7
Delay D = 3*5 + 7 = 22
Example: 3-stage path
Work backward for sizes
y = 45 * (5/3) / 5 = 15
x = (15*2) * (5/3) / 5 = 10
45
A P: 4
P: 4
N: 4 P: 12 B
N: 6 45
N: 3
Best Number of Stages
D = NF1/N + P
= N(64)1/N + N
Method of Logical Effort
Interconnect
Iteration required in designs with wire
Only half of the energy from the power supply is stored in the capacitor.
The other half is dissipated (converted to heat) in the pMOS transistor because the
transistor
has a voltage across it at the same time a current flows through it.
The power dissipated depends only on the load capacitance, not on the size of the
transistor or the speed at which the gate switches.
When the input switches from 0 back to 1, the energy stored in the capacitor is dissipated in
the nMOS transistor. No energy is drawn from the power supply during this transition.
Switching Power
The gate switches at some average frequency fsw . Over some interval T, the load will be
charged and discharged Tfsw times.
This is called the dynamic power because it arises from the switching of the load.
Because most gates do not switch every clock cycle, it is often more convenient to
express switching frequency fsw as an activity factor times the clock frequency f.
Sources of Power Dissipation
Power dissipation in CMOS circuits comes from two components: