Professional Documents
Culture Documents
1
Dynamic CMOS inverter operation
Load capacitance
Sedra and Smith, Chapter 14, section14.3.2
MOST + interconnect capacitances at drain node wiring
Do
D
C = 2 CGD1 + 2 CGD2 + CDB1 + CDB2 + CG3 + CG4 + Cw
a
CG3+CG4 = (CGB+CGS+CGD)3 + (CGB+ CGS+ CGD)4
Cw = wiring cap
Dynamic CMOS inverter operation
Load capacitance
To calculate C:
1.Determine all capacitances from technological parameters
and dimensions (slide notes 1)
2.Determine values of capacitances depending on its region
of operation
3. Determine C from the equation Coal
crude
C = 2 CGD1 + 2 CGD2 + CDB1 + CDB2 + CG3 + CG4 + Cw
Dynamic operation of CMOS inverter
Sedra and Smith, Chapter 14, section14.3
Input
waveform
iDP
0 vo
C
CMOS inverter:
inverter:High-Low transition,
o
Propagation Delayt(Simple
pHL
IVtpI
VDD/2
tp = (tpHL + tpLH)/2
Dynamic behavior of CMOS circuits
1st order RC circuit: 1. Pull Down
High to Low transition VDD 0 Discharging C
Natural response Exponential decay with discharging time constant tPD=RPD CL
Output Vout
RPD,equiv
Vfinal=0
GND
t
Natural response (Vfinal =0): Vout = Vinitiale-t/t , Vinitial = VDD
Propagation delay tPLH = time for Vout = 0.5Vswing=VDD/2 , tpLH=tpDln 2 =0.7 tpD
Fall time tf = t0.1 – t0.9 (during fall) , t0.1 Vout = 0.1VDD , t0.9 Vout = 0.9 VDD
Dynamic behavior of CMOS circuits
1st order RC circuit: 2. Pull Up
Low to High transition at output: Vout = 0 VDD Charging C
Step Response Exponential rise with charging time constant tpU=RPUCL
VDD
VDD Vout
iDP RPU
0 Vfinal= VDD
vo
C Output
VDD/2
CL
Vini=0
tpLH t
Step response: Vout = Vinitial + (Vfinal -Vinitial)(1 – e-t/tpU)
Voltage swing Vswing = Vfinal – Vini = VDD - 0
Propagation delay tPLH = time for Vout=0.5Vswing=VDD/2 tpLH=tpUln 2=0.7
tpU
Rise time tr = t0.9 – t0.1 (during rise), t0.1 Vout = 0.1 VDD, t0.9 Vout = 0.9 VDD
CMOS inverter: Dynamic power dissipation
E
Sedra and Smith, Chapter 14, sections 14.3.4 power I V
1. Static power (rail to rail current) = 0 Epotial Eenemy
(except when switching with NMOS & PMOS ON)
2. Leakage power (current) through 1) diodes, and 2) extremely thin oxide
3. Dynamic power supply current charging the load capacitance
DQ during charging C from 0 to VDD (Low to High) = CDV = CVDD
DV during switching = (VDD -0) = VDD (assuming swing = VDD)
polenedenemy
- Switching energy = DQDV = CVDD2
Power dissipation PD = Energy/unit time = Energy x frequency of switching
poke j h
PD = fCVDD2 green
polled gn
gree
Power x Delay product = PD tp Figure of Merit for the technology
declare potuel
Logic gate circuits V Ed d
E qv Red
mosh
- Sedra and Smith, Chapter 14, section 14.4
at capcity
2. Sequential logic circuit store
I(t) Combinational Y(t) = f[I(t), Y(t-1)] indeal
logic circuit
The outputs of the gates assume at all times the value of the
Boolean function implemented by the circuit (ignoring transient
effects during switching periods)
PMOS I1
I1 I2
X Y X I2 Y
Y = X when I1 AND I2 = 0
Y = X when I1 OR I2 = 0
I1 . I2 = I1 . I2 = I1 + I2
I1 + I 2 = I 1 . I2
NOR gate NAND gate
CMOS static logic gate circuits
CMOS logic gates are composed of NMOS and PMOS transistors
connected in parallel and in series
1. Pull down NMOS transistors passing a strong 0 (GND) to the output
A
A B OR
AND
B
X Y X Y
Y = X if A AND B
Y = X if A OR B
2. Pull UP PMOS transistors passing a strong 1 (VDD) to the output
A
A B
NAND
NOR
B
X Y X Y
Y = X if A AND B = A + B
Series with inverted inputs Y = X if A OR B = AB
Parallel with inverted inputs
CMOS static logic gate circuits
Pull-up and Pull-down Networks
Generalization of CMOS inverter to more inputs.
The digital circuit is composed of a PUN connected to VDD
in series with PDN connected to ground
Pull-up supplying VDD: PMOS transistor QP
Pull-up network of QP’s (PUN)
Pull-down supplying 0: NMOS transistor QN
Pull-down network of QN’s (PDN)
PDN and of PUN are dual logic networks
i.e. their functions are complementary
No dc current flowing rail to rail
NOR A+B=A.B
Dual = NAND A .B = A + B
==================================================================================================================
pDN
I I
0
Y=A+B
O
Y=AB
O
Y = A + BC
IIB.is
j NOR NAND
T A Bc
PDN implements the “0” parts of the truth table of the function
CMOS logic gate circuits
Pull-up Networks (Non-inverting)
Examples of PUN
pDN
T AB
Y
ABp
UN
Y AB
D
Y=A+B
F A B Y=AB Y = A(B+C)
Q As
NOR NAND
PUN implements the ONE parts of the truth table of the function
CMOS logic gate circuits
Examples
TO
A B NOR
0 0 1
0 1 0
1 0 0
1 1 0
Common non-inverted
inputs for PDN & PUN
YT A B PON
PDN
YEA 15
CMOS logic gate circuitsI A
I AB
Examples
Two input CMOS NAND gate
Y = A B (PD) Or Y = A + B (PU)
PDN: NMOS series
PUN: PMOS parallel
A B NAND
0 0 1
0 1 1
1 0 1
1 1 0
Common non-inverted
inputs for PDN & PUN
CMOS logic gate circuits
PU/PD Gate Synthesis
Y = A + B(C + D)
B Doc
2. Use duality of 1) transistors (N P)
and 2) of connections (series parallel)
to form PUN from PDN (of a),
or PDN from PUN (of b)
I A B1 CD PDN
CMOS logic gate circuits B Y A LIB
PU/PD Gate Synthesis of Exclusive OR
“Exclusive OR”: Y = A + B
Y=AB+AB Y=(A + B )( A + B )
Ext
5
=AB+AB
Y
A B a, b
Simplify 2.
path
not
B A valid
b=BB a=AA
GND or
1. 2.
Synthesize PUN from Form PDN From Synthesize PDN from Y
Y using inverted inputs duality with PUN using non-inverted inputs
In saturation
iD = k’(W/2L)(VGS – Vt)2(1 + lVDS) High rDS
1 Q1
rDS is proportional to 1/(W/L) rDS1
rDS,eq
Kenshin
2 Q2 rDS2
3 Q3 iD iD rDS3
(W/L)eq = 1
= 1
1/ (W/L)1 + 1/ (W/L)2 + 1/ (W/L)3 +.. S 1/(W/L)i
For 3 inputs (Q’s with identical W/L, all must be ON) ≡ to inverter (W/L)inv = n
1
o
(W/L)eq = (W/L)inv = n = W/L of each transistor = 3n
3 /( W/L)
Each of Q1, Q2 and Q3 must be 3 times larger than Q of the inverter
CMOS logic gate circuits
Transistor Sizing: Parallel connected MOST
rDS = constant/(W/L)
3Q’s ON
Qi
Q1
≡ ≡
o
n, p =2 n, p =4 n, p =4 n, p =8
n, p =4 Q1 Q2 Qeq
Q2 Qeq
IF Q1 and Q2 ON
CMOS logic gate circuits
Transistor Sizing: 4 I/P NOR Gate
PUN: No worst case, all Q’s must be ON
nA = n B = n C = n D = n
CMOS logic gate circuits
Transistor Sizing: 4 I/P NAND Gate
PUN: Worst case when only ONE Q is ON
pA = p B = p C = p D = p
Since p > n for matching size of NOR gates is larger than NAND gates
CMOS logic gate circuits
Transistor Sizing: Example
Find W/L for all Q’s of the shown logic gate Logic function: Y = (C + D) B + A
Assume that for basic inverter Y = (C D + B) A
n = 1.5 and p =5
PDN: Worst case when only one branch ON
Channel length L = 0.25 mm. 1. Branch A ON and branch B and C or D OFF n =n A
2. Branch A OFF and branch B and C or D ON
Only ONE sub-branch ON (C or D)
B and C in series or B and D in series with neq = n
nB = nC = nD = 2n
IF the number of inputs is too high fix it to Four and fragment the circuit