Lec 8
Lec 8
Lec 8
Today’s Menu
•Transistors
• MOS/CMOS
n-Type
P-Type
•Logic Gates Implementation Using Transistors
• AND
• OR
• NOT
• NOR
• NAND
Terminal #2 must be
connected to GND (0V).
Gate = 0
Gate = 1
Terminal #1 must be
connected to +2.9V.
Gate = 0
Logic Gates
Use switch behavior of MOS transistors
to implement logical functions: AND, OR, NOT.
Digital symbols:
• Recall that we assign a range of analog voltages to each
digital (logic) symbol
CMOS Circuit
Complementary MOS
Uses both n-type and p-type MOS transistors
• p-type
Attached to + voltage
Pulls output voltage UP when input is zero
• n-type
Attached to GND
Pulls output voltage DOWN when input is one
For all inputs, make sure that output is either connected to GND or to +, but
not both!
NOR Gate
A B C
0 0 1
0 1 0
1 0 0
1 1 0
21/01/09 Second Semester 2008-2009 7
Computer Programming TA C162
In Out
0 1
1 0
OR Gate
A B C
0 0 0
0 1 1
1 0 1
1 1 1
A B C
0 0 1
0 1 1
1 0 1
1 1 0
21/01/09 Second Semester 2008-2009 10
Computer Programming TA C162
AND Gate
A B C
0 0 0
0 1 0
1 0 0
1 1 1