Basic Logic Gates Logic Gates 1 - Undergraduate Courses | Computer
Logic Gates
description
Transcript of Logic Gates
![Page 1: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/1.jpg)
1
Logic GatesLogic Gates
Benchmark Companies Inc
PO Box 473768
Aurora CO 80047
![Page 2: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/2.jpg)
2
AND Function (7408)Output Y is TRUE if inputs A AND B are TRUE, else it is FALSE.
Logic Symbol
Text Description
Truth Table
Boolean Expression
ANDA
BY
INPUTS OUTPUT
A B Y 0 0 0 0 1 0 1 0 0 1 1 1
AND Gate Truth Table
Y = A x B = A • B = AB
AND Symbol
![Page 3: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/3.jpg)
3
OR Function (7432)Output Y is TRUE if input A OR B is TRUE, else it is FALSE.
Logic Symbol
Text Description
Truth Table
Boolean Expression Y = A + B
OR Symbol
A
BYOR
INPUTS OUTPUT
A B Y 0 0 0 0 1 1 1 0 1 1 1 1
OR Gate Truth Table
![Page 4: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/4.jpg)
4
NOT Function (inverter)(7404)Output Y is TRUE if input A is FALSE, else it is FALSE. Y is the inverse of A.
Logic Symbol
Text Description
Truth Table
Boolean Expression
INPUT OUTPUT
A Y 0 1 1 0
NOT Gate Truth Table
A YNOT
NOT Bar
Y = A Y = A’Alternative Notation
Y = !A
![Page 5: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/5.jpg)
5
NAND Function (7400)Output Y is FALSE if inputs A AND B are TRUE, else it is TRUE.
Logic Symbol
Text Description
Truth Table
Boolean Expression
A
BYNAND
A bubble is an inverterThis is an AND Gate with an inverted output
Y = A x B = AB
INPUTS OUTPUT
A B Y 0 0 1 0 1 1 1 0 1 1 1 0 NAND Gate Truth Table
![Page 6: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/6.jpg)
6
NOR Function (7402)Output Y is FALSE if input A OR B is TRUE, else it is TRUE.
Logic Symbol
Text Description
Truth Table
Boolean Expression Y = A + B
A
BYNOR
A bubble is an inverter.This is an OR Gate with its output inverted.
INPUTS OUTPUT
A B Y 0 0 1 0 1 0 1 0 0 1 1 0
NOR Gate Truth Table
![Page 7: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/7.jpg)
7
Circuit-to-Truth Table Example
OR
A
Y
NOT
AND
B
CAND
2# of Inputs = # of Combinations
2 3 = 8
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y
![Page 8: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/8.jpg)
8
Circuit-to-Truth Table Example
OR
A
Y
NOT
AND
B
CAND
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y
00
0
0
1 0
0
0
![Page 9: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/9.jpg)
9
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y0
OR
A
Y
NOT
AND
B
CAND
00
1
0
1 1
1
1
![Page 10: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/10.jpg)
10
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y010
OR
A
Y
NOT
AND
B
CAND
01
0
0
1 0
0
0
![Page 11: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/11.jpg)
11
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y010
0
OR
A
Y
NOT
AND
B
CAND
01
1
0
1 1
1
1
![Page 12: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/12.jpg)
12
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y0101
0
OR
A
Y
NOT
AND
B
CAND
10
0
0
0 0
0
0
![Page 13: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/13.jpg)
13
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y01010
0
OR
A
Y
NOT
AND
B
CAND
10
1
0
0 0
0
0
![Page 14: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/14.jpg)
14
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y010100
0
OR
A
Y
NOT
AND
B
CAND
11
0
1
0 0
1
1
![Page 15: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/15.jpg)
15
Circuit-to-Truth Table Example
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y0101001
0
OR
A
Y
NOT
AND
B
CAND
11
1
1
0 0
1
1
![Page 16: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/16.jpg)
16
Circuit-to-Boolean Equation
OR
A
Y
NOT
ANDB
CAND
A B
A C
A = A B + A C
0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
A B C Y
0
0
00
0
11
}
1
1
}
![Page 17: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/17.jpg)
17
A - O - I Logic
OR
A
Y
NOT
ANDB
CAND
AND Gates
INVERTER Gates
OR GatesOther Logic Arrangements:
NAND - NAND LogicNOR - NOR Logic
![Page 18: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/18.jpg)
18
NAND Gate – Special Application
INPUTS OUTPUT
A B Y 0 0 1 0 1 1 1 0 1 1 1 0
A
BYNAND
TNANDS
S T0010 11 0
Equivalent To An Inverter Gate
![Page 19: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/19.jpg)
19
NOR Gate - Special Application
S T0010 11 0
Equivalent To An Inverter Gate
TS NOR
A
BYNOR
INPUTS OUTPUT
A B Y 0 0 1 0 1 0 1 0 0 1 1 0
![Page 20: Logic Gates](https://reader036.fdocuments.in/reader036/viewer/2022083006/56813f7c550346895daa6c1a/html5/thumbnails/20.jpg)
20
End of Presentation