Professional Documents
Culture Documents
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
Next state
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.
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
P-N Junctions
A junction between p-type and n-type
semiconductor forms a diode.
Current flows only in one direction
p-type
n-type
anode
cathode
NMOS Transistor
Four terminals: gate, source, drain, body
Gateoxidebody stack looks like a capacitor
Gate
Drain
Polysilicon
SiO2
n+
n+
p
bulk Si
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+
n+
S
p
bulk Si
Gate
Drain
Polysilicon
SiO2
1
n+
n+
S
p
bulk Si
PMOS Operations
Similar, but doping and voltages reversed
Gate
Drain
Polysilicon
SiO2
p+
p+
n
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
PMOS
VA
Drain
VDD
Gate
Mn
VA +
VGSn Source
VA=1
Mn On
VTn
0
Gate-source voltage
VGSp
VA Gate
VA=0
Mn Off
Logic translation
VA
Source
+ VDD
Mp
VDD
VDD-|VTp|
Drain
Gate-source voltage
VA=1
Mp Off
VA=0
Mp On
Logic translation
11
12
MOSFET
D(S)
Si-Substrate
D(S)
D(S)
G
G
S(D)
Oxide
Si-Substrate
Bulk FinFET
Advanced Reliable Systems (ARES) Lab.
S(D)
Buried Oxide
Si-Substrate
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
S(D)
D(S)
G
S(D)
Oxide
Si-Substrate
IG FinFET
Oxide
Si-Substrate
SG FinFET
14
MOS Switches
NMOS symbol and characteristics
Vth
5v
5v
0v
5v-Vth
0v
Vth
5v
5v
Vth
0v
15
CMOS Switch
A complementary CMOS switch
Transmission gate
-s
Symbols
-s
b
0v
5v
Characteristics
5v
0v
0v
5v
16
CMOS Logic-Inverter
The NOT or INVERT function is often
considered the simplest Boolean operation
F(x)=NOT(x)=x
Vin
Vout
Vdd
Vdd
Vin
Vout
Vdd
Vdd
Vdd/2
Indeterminate
logic level
17
Combinational Logic
Serial structure
a
S1=0
S2=0
S1=0
S2=1
S1=1
S2=0
S1=1
S2=1
S1
0
S1
0 a!=b
a!=b
1 a!=b
a=b
S2
S2
b
a
S1=0
S2=0
S1=0
S2=1
S1=1
S2=0
S1=1
S2=1
S1
S1
a=b
a!=b
a!=b
a!=b
S2
S2
b
Advanced Reliable Systems (ARES) Lab.
18
Combinational Logic
Parallel structure
S1=0
S2=0
S1=0
S2=1
S1=1
S2=0
S1=1
S2=1
S1
0
S1
S2
0 a!=b
a=b
a=b
S2
a=b
b
S1=0
S2=0
S1=0
S2=1
S1=1
S2=0
S2
S1
S1=1
S2=1
S1
0
a=b
a=b
a=b
a!=b
S2
b
Advanced Reliable Systems (ARES) Lab.
19
NAND Gate
Output
A
0
A
B
A
B
Output
20
NOR Gate
A
A
B
0
Output
B
A
B
Output
21
Compound Gate
F (( AB ) (CD ))
B
A
B
D
F
C
D
22
a=1
VDD
f=0
23
24
Parallel-connected pMOS
AND-NOT operations
Series-connected nMOS
AND-NOT operations
Series-connected pMOS
OR-NOT operations
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.
26
Group 2
Group 1
X
b
Group 3
a
c
27
b
a
VDD
ab
a
XOR Gate
Advanced Reliable Systems (ARES) Lab.
b
a
ab
a
b
XNOR Gate
Jin-Fu Li, EE, NCU
28
Multiplexer
A
B
1
0
S1 S0
S
-S
A
Y
11
10
01
00
A
B
C
D
B
Y
C
B
-S
S1
Advanced Reliable Systems (ARES) Lab.
-S1
S0
-S0
29
30
31
Structural representation
Physical representation
For fabrication
Advanced Reliable Systems (ARES) Lab.
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
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
Vdd
in1
in2
in3
in1
Out
in4
Out
in2
in3
in4
Gnd
in1 in2
in3 in4
35