Professional Documents
Culture Documents
Introduction To CMOS Circuit Design
Introduction To CMOS Circuit Design
Jin-Fu Li Advanced Reliable Systems (ARES) Lab. Department of Electrical Engineering National Central University Jhongli, Taiwan
Outline
Introduction MOS Transistor Switches CMOS Logic Circuit and System Representation
Binary Counter
a
Present state a 0 0 1 1 b 0 1 0 1 Next state A 0 1 1 0 B 1 0 1 0
A B
A = ab + ab B = ab + ab
CK CLR
Source: Prof. V. D. Agrawal
1-bit Multiplier
C B
C=AxB
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
4
Switch: MOSFET
MOSFETs are basic electronic devices used to direct and control logic signals in IC design
MOSFET: Metal-Oxide-Semiconductor FieldEffect Transistor N-type MOS (NMOS) and P-type MOS (PMOS) Voltage-controlled switches
A MOSFET has four terminals: gate, source, drain, and substrate (body) Complementary MOS (CMOS)
Using two types of MOSFETs to create logic networks NMOS & PMOS
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
5
P-N Junctions
A junction between p-type and n-type semiconductor forms a diode. Current flows only in one direction
p-type anode n-type cathode
NMOS Transistor
Four terminals: gate, source, drain, body Gateoxidebody stack looks like a capacitor
Gate and body are conductors SiO2 (oxide) is a very good insulator Called metaloxidesemiconductor (MOS) capacitor Even though gate is no longer made of metal
Source Gate Drain Polysilicon SiO2
n+ p
n+ bulk Si
7
NMOS Operations
Body is commonly tied to ground (0 V) When the gate is at a low voltage:
P-type body is at low voltage Source-body and drain-body diodes are OFF No current flows, transistor is OFF
Source Gate Drain Polysilicon SiO2 0 n+ p n+ S bulk Si D
n+ S bulk Si
9
PMOS Operations
Similar, but doping and voltages reversed
Body tied to high voltage (VDD) Gate low: transistor ON Gate high: transistor OFF Bubble indicates inverted behavior
Source Polysilicon SiO2 Gate Drain
p+ n
p+ bulk Si
10
Threshold Voltage
Every MOS transistor has a characterizing parameter called the threshold voltage VT The specific value of VT is established during the manufacturing process Threshold voltage of an NMOS and a PMOS
NMOS
Drain VDD Gate Mn VA + VGSn Source VA=1 Mn On VTn 0 Gate-source voltage VA=0 Mn Off VA VGSp VA Gate Source + VDD Mp
PMOS
VA VDD VDD-|VTp| VA=1 Mp Off VA=0 Mp On
Logic translation
Logic translation
11
Si-Substrate
D(S) G S(D)
Oxide Si-Substrate
D(S) G S(D)
Buried Oxide Si-Substrate
Bulk FinFET
Advanced Reliable Systems (ARES) Lab.
SOI FinFET
Jin-Fu Li, EE, NCU
13
IG & SG FinFETs
According to the gate structure, FinFET can be classified as
Independent-Gate (IG) FinFET Short-Gate (SG) FinFET
D(S) G G G S(D)
Oxide Si-Substrate
D(S)
S(D)
Oxide
Si-Substrate
IG FinFET
SG FinFET
14
MOS Switches
NMOS symbol and characteristics
5v 5v 0v 0v Vth 5v-Vth
15
CMOS Switch
A complementary CMOS switch
Transmission gate
-s a C s b a s 0v 5v 5v 0v 5v b a s -s b
Symbols
Characteristics
0v
16
CMOS Logic-Inverter
The NOT or INVERT function is often considered the simplest Boolean operation
F(x)=NOT(x)=x
Vin Vout Vin Vdd
Vout
Vdd
Vdd
Vdd
Vdd/2
17
Combinational Logic
Serial structure
a S1 S2 S2 b a S1 S2 S2 b
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
18
S1=0 S2=0
S1=0 S2=1
S1=1 S2=0
S1=1 S2=1
S1=0 S2=0
S1=0 S2=1
S1=1 S2=0
S1=1 S2=1
Combinational Logic
Parallel structure
a
S1=0 S2=0 S1=0 S2=1 S1=1 S2=0 S1=1 S2=1
S1
S2
b a
S1=0 S2=0 S1=0 S2=1 S1=1 S2=0 S1=1 S2=1
S1
S2
b
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
19
NAND Gate
Output A 0 B B 1 1 0 1
A 1 1 0
A B
Output
20
NOR Gate
A A Output 0 B 1 0 0 0 1 1 0
A B
Output
21
Compound Gate
F (( AB ) (CD ))
B A B F C D F
A B
C D
22
a=1
f=0
23
Parallel-connected pMOS
AND-NOT operations
Series-connected nMOS
AND-NOT operations
Series-connected pMOS
OR-NOT operations
Consequently, wired groups of nMOS and pMOS are logical duals of another
25
Dual Property
If an NMOS group yields a function of the form
g a (b c )
G a (b c )
where the AND and OR operations have been interchanged This is an interesting property of NMOS-PMOS logic that can be exploited in some CMOS designs
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
26
27
b a b
a b
ab
a b a b
ab
a b
XOR Gate
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
XNOR Gate
28
Multiplexer
A B C D 11 10 01 00 S1 S0 A B Y C -S D Y
A B
1 0 S -S
A S B Y
S1
Advanced Reliable Systems (ARES) Lab.
-S1
S0
-S0
29
31
Structural representation
System level CPU, RAM, I/O Functional level ALU, Multiplier, Adder Gate level AND, OR, XOR Circuit level Transistors, R, L, C For design & simulation
Physical representation
For fabrication
Advanced Reliable Systems (ARES) Lab. Jin-Fu Li, EE, NCU
32
Behavior Representation
A one-bit full adder (Verilog)
module fadder(sum,cout,a,b,ci); output sum, cout; input a, b, ci; reg sum, cout;
ci
fadder
cout
always @(a or b or ci) begin sum = a^b^ci; cout = (a&b)|(b&ci)|(ci&a); end endmodule
sum
33
Structure Representation
A four-bit full adder (Verilog)
b a module adder4(s,c4,a,b,ci); output[3:0] sum; output c4; a[0] b[0] a[1] b[1] a[2] b[2] a[3] b[3] input[3:0] a, b; co[1] co[2] co[0] input ci; ci a0 a1 a2 a3 reg[3:0] s; s[0] s[1] s3] s[2] reg c4; wire[2:0] co; s adder4 fadder a0(s[0],co[0],a[0],b[0],ci); fadder a1(s[1],co[1],a[1],b[1],co[0]); fadder a2(s[2],co[2],a[2],b[2],co[1]); fadder a3(s[3],c4,a[3],b[3],co[2]); endmodule
34
Physical Representation
Layout of a 4-bit NAND gate
Vdd in1 in2 in1 Out in2 in3 in4 Gnd in1 in2 in3 in4
Jin-Fu Li, EE, NCU
35