C Cmos Basics - Ani PDF
C Cmos Basics - Ani PDF
C Cmos Basics - Ani PDF
Dopants are added to increase conductivity: extra electrons (n-type) or extra holes (p-type)
MOS structure created by superimposing several layers of conducting, insulating and tran-
sistor-forming materials.
1
Advanced VLSI Design CMOS Basics CMPE 640
n+ n+ p bulk Si
p substrate
p+ p+
n bulk Si
2
Advanced VLSI Design CMOS Basics CMPE 640
4
Advanced VLSI Design CMOS Basics CMPE 640
We can treat MOS transistors as simple on-off switches with a source (S), gate (G) (con-
trols the state of the switch) and drain (D).
1 represents high voltage, VDD (5V, 3.3V, 1.8V, 1.2V, <=1.0V today, .....)
0 represent low voltage - GND or VSS. (0V for digital circuits)
g=0 g=1
d d d
nMOS g OFF
ON
s s s
d d d
pMOS g OFF
ON
s s s
5
Advanced VLSI Design CMOS Basics CMPE 640
Signal Strengths
Signals such as 1 and 0 have strengths, measures ability to sink or source current
VDD and GND Rails are the strongest 1 and 0
Under the switch abstraction, G has complete control and S and D have no effect.
In reality, the gate can turn the switch on only if a potential difference of at least Vt
exists between the G and S.
We will look at Vt in detail later on in the course.
Thus signal strengths are related to Vt and therefore p and n transistors produce signals with
different strengths
Strong 1: VDD, Strong 0: GND, Weak 1 :(~VDD -Vt) and Weak 0 :(~GND + Vt).
G 1 nMOS 1 G 0 pMOS 0
S D S D
0 1 0 1
*** Strong 0*** Weak 1 Weak 0 *** Strong 1***
6
Advanced VLSI Design CMOS Basics CMPE 640
CMOS Inverter
Vdd A O
P1
A Out
A O
N1 0 1
1 0
CMOS Inverter
THE CONFIGURATION BELOW FOR A BUFFER IS NOT A GOOD IDEA. WHY?
A Vdd
P1 N1 BAD IDEA
Out
7
Advanced VLSI Design CMOS Basics CMPE 640
Vdd
A B C
A
A P1 P2 B B
C
0 0 1
Out 0 1 1
N2
1 0 1
N1 1 1 0
Vdd
A A B C
P1 A
C
B 0 0 1
P2 B
Out 0 1 0
1 0 0
N1 N2
1 1 0
8
Advanced VLSI Design CMOS Basics CMPE 640
Pass Transistor
However, as we previously discussed this will produce degraded outputs, if only one
transistor is used as a switch.
9
Advanced VLSI Design CMOS Basics CMPE 640
Transmission Gates
A One pMOS and one nMOS in parallel.
Note that neither transistor is connected to VDD or GND.
P1
In Out A and A control the transmission of a signal on In to Out.
N1
A Transmission gates act as tristate buffers.
Input Output
g = 0, gb = 1 g = 1, gb = 0
g
a b 0 strong 0
a b g = 1, gb = 0 g = 1, gb = 0
a b 1 strong 1
gb
g g g
a b a b a b
gb gb gb
10
Advanced VLSI Design CMOS Basics CMPE 640
Select
A
In Out
Select Out
Select B
VDD
Truth Table for 2-to-1 MUX
Select Out Select
0 B
1 A
How many transistors are required to implement this using CMOS gates?
11
Advanced VLSI Design CMOS Basics CMPE 640
D Latch
Latch
D Q
Q
CLK
CLK
D Q Q
1
Q D Q
0
CLK CLK
12
Advanced VLSI Design CMOS Basics CMPE 640
D Flip-Flop
Positive CLK
edge-triggered
CLK
flip-flop
a.k.a D
Flop
master-slave D Q
flip-flop Q
CLK CLK
CLK QM
D Q
CLK CLK CLK Master CLK CLK Slave
Latch
Latch
QM
D Q
CLK CLK
Master Slave
13
Advanced VLSI Design CMOS Basics CMPE 640
D Flip-Flop Operation
QM Q
D
QM follows D, Q is latched
CLK = 0
QM
D Q
QM transferred to Q, QM latched
CLK = 1
CLK
Positive
edge-triggered
D
flip-flop
14
Advanced VLSI Design CMOS Basics CMPE 640
Vdd
B
P1
Vdd
A P2 Out
N2
N1
15
Advanced VLSI Design CMOS Basics CMPE 640
Out
16
Advanced VLSI Design CMOS Basics CMPE 640
Vdd
P2 P1 P3
P4
OAI
A N1
B N2
C
D N3 N4
17