CMOS Logic Gates: Gagandeep Singh
CMOS Logic Gates: Gagandeep Singh
CMOS Logic Gates: Gagandeep Singh
Gagandeep
Singh,
CMOS Circuits
Basic CMOS combinational circuits consists
of Pull Up (p type) and Pull Down (n type)
networks.
Two types of circuits are there: VCombinational CircuitsVV
V
Pull
Sequential Circuits
UP
V
DD
A
B
C
N
VA
VB
VC
VN
VOUT
Pull
Down
Switching Threshold
Analysis
By definition the input threshold
voltage is equal to output threshold
voltage at switching threshold.
VA = VB = Vout = Vthreshold
For NMOS transistors, VGS = VDS,
therefore they are operating in
saturation.
ID = /2[Vthreshold Vtn]2
Vthreshold = Vtn + (2ID/ ) -------------(1)
Switching Threshold
Analysis
For M4, VSD=VSG, So it is operating in
Saturation mode.
Hence
For M3, VSD < VSG - |VTP|, so it is
operating in linear region.
Hence
Also ID3 = ID4, Hence
VDD VI |VTP| = 2 (ID/p) -------------(2)
Switching Threshold
Analysis
From (1) and (2), we can have VI for
NOR gate as :-
Switching Threshold
Analysis
Both the PMOS would be operating in
Saturation Region. Why?
M1 is operating in Saturation Mode.
M2 is operating in Linear Mode.
Using the same procedure, we find
the VI for NAND gate as:-
CMOS XNOR
(Equivalence)Gate
Sequential Circuits
The output in sequential circuits is
determined by the current input and
previously applied input variables.
To remember the previously applied
inputs, sequential circuits have a memory.
There is a direct or indirect feedback
between output and input.
Three types :- Bistable, Monostable and
Astable
Sequential Circuits
Behavior of Bistable
Elements
Cross coupled
inverter shows
bistable behavior.
Drain current of 1
is the gate current
of 2.
We know, id= gmvgs
hence
ig1 = id2 = gmvg2
Ig2 = id1 =
gmvg1.(3)
Cont
(4)
Cont.
Expressing the gate voltages, in
terms of gate charges:-
Cont
From the expression obtained for q in
the previous slide , similar expression
can be deduced for V.
CMOS SR Latch
Using NOR Gate
CMOS SR Latch
Using NAND Gate
Clocked SR Latch
CMOS D Latch
D Latch Implementation - I
D Latch Implementation - II
Vy
M3
M1
Vin
Vx
M4
VDD
M6
M5
Vz
GND
Vout
M2
Vy
M3
Vin
M1
Vx
M4
VDD
M6
M5
vz
GND
Vout
M+
t0
out
t0 + tp
6T SRAM Cell
bit
word
bit_b
SRAM Reading a 0
Word Line
Bit Line
Word Line
Bit Line
VDD
VDD
M3
M5
Node
1 1 Voltage
Increase in Node
M1
Linear Mode
VDD
VDD V1
M4
Linear Mode
VDD
M6
Node 2
M2
VDD
Reading a 0
v1max <= Vtn of M2
Also M5 operates in saturation and
M1 in Linear mode. Therefore
(M5/2)[VDD-V1 Vtn]2 = (M1/2)[2(VDDVtn)V1-V12]
M5/M1= (W/L)5/(W/L)1
< [2(VDD -1.5Vtn)Vtn] /(VDD -2Vtn)2]
SRAM Writing a 0
Word Line
Word Line
Bit Line
Bit Line
VDD
VDD
Linear Mode
M3
M5
VDD
VDD
Vdd-V1
Node
1 1 Voltage
decrease in Node
M1
M4
0
Node 2
Linear Mode
M2
M6
Writing a 0
VDD-V1 <= Vtn of M2
Also M6 operates in saturation and M 2
and M3 are in Linear mode.
At VNode1 = Vtn, M5 linear and M3 in
saturation Mode
(M3/2)[0 VDD Vtp]2 = (M5/2)[2(VDD-Vtn)VtnVtn2]
(W/L)3/(W/L)5
< (n/p)[2(VDD -1.5Vtn)Vtn] /(VDD +2Vtp)2]