Lecture14 Inverter Delay
Lecture14 Inverter Delay
edu/~eecs151
EECS151/251A
Introduction to Digital Design and ICs
Lecture 14: Inverter Delay Sophia Shao
AMD Athlon: First 1GHz CPU in 2000!
The Athlon's arrival signaled the opening salvos in what was coined
'The Gigahertz War’. The Pentium III had a lead role in the 'Gigahertz
War' against AMD's Athlon processors between 1999 and 2000.
Ultimately it was AMD who crossed the finish line first, shipping the
1GHz Athlon days before Intel could launch theirs.
• This lecture: using simple models that offer designers intuitions on logic and
circuit optimizations.
• Invertor RC delay model: transistor -> resistor + capacitor
• Transistor Sizing & Logical effort (next lecture)
• Generalize to other gates (next lecture)
In Out 0
Cp + CL
Req,n Vout "t
VDD Vout=𝑉!! e τ
VDD/2
Out
0 tp
Cp + CL τ = Req,n(Cp+CL)
Req,n
In
tp,HL= (ln2)τ = 0.7 Req,n(Cp+CL)
Vin
VDD
Req,p
In Out
0
Cp + CL
Req,n "t
Vout Vout=VDD(1−e τ )
VDD
VDD/2
VDD
In 0 tp
Req,p
tp,LH= (ln2)τ = 0.7 Req,p(Cp+CL)
Out
Cp + CL
VDD V
0 VDD/2 DS
t
IDS
0
Vout t
VDD
VDD/2
t
9
0
EECS151 L14 INVERTER DELAY
tp
Shao Fall 2022 © UCB
Equivalent Resistances Req (VGS=VDD, VDS=VDD/2)
Out
Vin
Cp + CL VDD VGS= 0
Req,n
VDD V
VDD/2 DS
0
t
IDS
0
Vout t Req = (Req,start + Req,mid)/2
VDD
VDD/2
t
10
0
EECS151 L14 INVERTER DELAY
tp
Shao Fall 2022 © UCB
Impact of Rise/Fall times
• Impacts the IDS-VDS trajectory
Out
Vin
VGS
Cp + CL VDD IDS
Req,n
0
t
IDS
VDS
0
Vout t
VDD
tp (tr)
VDD/2
t
0 tp (tr=0)
0
t
IDS
VDS
0
Vout t
VDD
tp (tr)
VDD/2
t
0 t (tr=0)
p
Req,n
Cp + CL Vin A VDD/2
0
VDD tp
Vout
0 VDD
B VDD/2
Vout
VDD 0 tp
VDD/2 Vout
VDD
0 tp C VDD/2
0
13 EECS151 L14 INVERTER DELAY
tp
Shao Fall 2022 © UCB
• Inverter Delay
• Overview
• Inverter RC Delay
• Inverter Size
• Inverter Chain
INVX1
• Cin (input capacitance)
M2 Wp • Largely set by the gate cap Cg ~ WL
A Out • Inverter: Cin= Cg,pmos + Cg,nmos
Cp • (W -> 2W) => 2xCin
Cin M1 Wn
Source (S)
Gate (G)
Drain (D)
INVX2 • Cp (parasitic capacitance)
• Largely set by the drain cap Cd ~W
(drain area/perimeter)
L • Inverter: Cp= Cd,pmos + Cd,nmos
• (W -> 2W) => 2xCp
W
• Cd = gCg (g =1)
• Inverter: Cp = gCin
15 EECS151 L14 INVERTER DELAY Shao Fall 2022 © UCB
Inverter Sizing
• A size “2” inverter:
• Wp,inv_x2 = 2 * Wp,inv_x1
• Wn,inv_x2 = 2 * Wn,inv_x1
Wp Req,p
M2 0 tp
A Out Out
Vout
Req,n VDD
M1 Wn
VDD/2
0 tp
!
• In the past, to have equal resistance, 𝜌! > 𝜌" , Wp > Wn R = 𝜌
"#
• In modern processes (FinFET), 𝜌! = 𝜌" , Wp = Wn
17 EECS151 L14 INVERTER DELAY Shao Fall 2022 © UCB
Inverter RC Delay
VDD
Req, Cp Req,p
In Out
In Out
Cp + CL
Req,n
CL
CL
A: tp,inv_x2 > tp,inv_x1 M1
Wn
B: tp,inv_x2 < tp,inv_x1 Cp
Cin
C: tp,inv_x2 = tp,inv_x1
In Out
D=1+f
CL
1 2 N
• CL,i = Cin,i+1 (the load of the i-th stage is the input capacitance of the next stage.)
• N: # of inverters in the chains
• Cin,1 =1
• Given N and CL , how to size each inverter in the chain to achieve minimum
delay?
In Out
D=1+f
CL
1 2 N
In Out
D=1+f
CL
1 2 N
In Out
CL
1 2 N
• Delay is minimized when each
stage has the same fanout.
• N = 3, CL = 8, C in,1 =1
• !
f= 𝐹 = !
𝐶! /𝐶"#,%
• To minimize the delay, CL/Cin,1 has to be evenly
distributed across N=3 stages. • Minimum path delay:
• #
f= 8 =2 • D = Nf + N = N
𝑵
𝑭 +N
• Recall f1= Cin,2/Cin,1, f2 = Cin,3/Cin,2 , f3= CL/Cin,3
• Size inverters from the back
• Cin,3 = CL/ f3 =8/2 = 4
• Cin,2 = Cin,3/ f2 =4/2 = 2
In Out
CL
1 2 N
• Delay is minimized when each
stage has the same fanout.
• N = 3, CL = 8, C in,1 =1
• !
f= 𝐹 = !
𝐶! /𝐶"#,%
• To minimize the delay, CL/Cin,1 has to be evenly
distributed across N=3 stages. • Minimum path delay:
• #
f= 8 =2 • D = Nf + N = N
𝑵
𝑭 +N
• Recall f1= Cin,2/Cin,1, f2 = Cin,3/Cin,2 , f3= CL/Cin,3
• Size inverters from the back
• Cin,3 = CL/ f3 =8/2 = 4
• Cin,2 = Cin,3/ f2 =4/2 = 2
8 4 2.8
D = NF1/N + N
16 8
= N(64)1/N + N
23
Datapath Load 64 64 64 64
N: 1 2 3 4
f: 64 8 4 2.8
D: 65 18 15 15.3
Fastest
8 4 2.8
D = NF1/N + N
16 8
= N(64)1/N + N
23
Datapath Load 64 64 64 64
N: 1 2 3 4
f: 64 8 4 2.8
D: 65 18 15 15.3
Fastest
N: 1 2 3 4
f: 64 8 4 2.8
D: 65 18 15 15.3
Fastest
• Inverter Delay
• Delay affects achievable frequency.
• Propagation delay from input to output
• RC Delay model