Gates and Logic: From Transistors to Logic Gates and Logic Circuits
- Prof. Anne Bracy
CS 3410 Computer Science Cornell University
The slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and Sirer.
Gates and Logic: From Transistors to Logic Gates and Logic Circuits - - PowerPoint PPT Presentation
Gates and Logic: From Transistors to Logic Gates and Logic Circuits Prof. Anne Bracy CS 3410 Computer Science Cornell University The slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and
The slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and Sirer.
2
3
4
N-type
Off
Insulator P-type P-type Gate Drain Source + + + + + + + + + + +
+ + N-type
On
Insulator P-type P-type Gate Drain Source + + + + + + + +
+
P-type channel created
+ + + + +
—
5
gate Off/Open On/Closed 1 Off/Open 1 On/Closed gate
6
7
p-gate closes n-gate stays open p-gate stays open n-gate closes
ground (0) power source (1) input
p-gate n-gate power source (1) ground (0) ground (0) power source (1) 1 — — + + 1
8
Vsupply (aka logic 1) (ground is logic 0)
9
A B Out 1 1 1 1 1 1 1 A B Out 0 0 0 1 1 0 1 1 1 A Out 1 1
A B Out 0 0 0 1 1 1 0 1 1 1
A B Out 1 1 1 1 1 A B Out 0 0 1 0 1 1 1 0 1 1 1
A B Out 0 0 1 0 1 1 0 1 1 1
11
12
13
14
§ Can implement any function with NAND or just NOR gates § useful for manufacturing
15
16
a b d Out 1 1 1 1 1 1 1 1 1 1 1 1 Multiplexing Like a Boss
17
18
c
b a
§ Constants: true = 1, false = 0 § Variables: a, b, out, … § Operators (above): AND, OR, NOT, etc.
19
20
21 A B A B
A B A B
22
23
24
25
26
27
a b c
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
28
29
30
00 01 11 10 1 c ab
00 01 11 10 1 c ab
31
00 01 11 10 00 01 ab cd 11 10
00 01 11 10 00 01 ab cd 11 10
32
00 01 11 10 00 01 ab cd 11 10
00 01 11 10 00 01 ab cd 11 10
33
34