SlideShare a Scribd company logo
1 of 62
Logic Circuit and
Switching Theory
Introduction
Logic Gates
1
Review of Boolean algebra
• Complementation
known as NOT operation, denoted by an over bar
Ex. Complement of A = A
0 = 1
1 = 0
• Logical addition
known as OR operation, denoted by a plus sign
Ex. A + B
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1
• Logical multiplication
known as AND operation, denoted by a dot sign
Ex. A • B
0 • 0 = 0
0 • 1 = 0
1 • 0 = 0
1 • 1 = 1 2
Basic Digital Logic
Digital signals have two (2) basic states
1 (Logic “high” H / “on” / TRUE / Positive)
0 (Logic “low” L / “off’ / FALSE / Negative)
Voltage are used to represent logic values
• A voltage present (called Vcc or Vdd) = 1
• Zero voltage or ground (called gnd or Vss) = 0
3
Logic Gates
• A digital computer is composed of nothing
more than digital circuit, buses, and sequential
logic elements.
• Digital circuit are composed of gates that are
wired together either fixed circuit or
reconfigurable.
• The basic elements of circuits are gates. Each
type of gate implements a Boolean operation
4
Logic gates are electronic digital circuit perform
logic functions. Commonly expected logic
functions are already having the corresponding
logic circuits in Integrated Circuit (I.C.) form.
In circuitry theory, NOT, AND, and OR gates are
the basic gates. Any circuit can be designed
using these gates. The circuits designed depend
only on the inputs, not on the output. In other
words, these circuits have no memory. Also
these circuits are called combinational circuits.
The symbols NOT gate, AND gate, and OR gate
are also considered as basic circuit symbols,
which are used to build general circuits. 5
OR Gate
Logic Symbol 
Truth table
A
B
Y
Y = A + B
INPUT OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
6
Input Output
A B C Y
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
A
B
Y
A
B
C
Y = A + B + C
An OR gate is logic gate with two or more input signals
and one output signal. If any input signal is high, the
output signal is high. Output is low if and only if all input
signals are low.
Y
7
AND Gate
Logic Symbol 
Truth table
A
B
INPUT OUTPUT
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
8
Input Output
A B C Y
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
A
B
C
An AND gate is logic gate with two or more input signals
and one output signal. If any input signal is low, the
output signal is low. Output is high if and only if all input
signals are high.
Y = A • B • C
or
Y = ABC
Y
9
NOT Gate / INVERTER
Logic Symbol 
Truth table
A Y
INPUT OUTPUT
A Y
0 1
1 0
Y = A
A NOT gate or also known as INVERTER is logic gate
with one input signal and one output signal. Output is just
the complement of the input.
10
NOR Gate
Logic Symbol 
Truth table
Y = A + B
INPUT OUTPUT
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
11
Input Output
A B C Y
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Y = A + B + C
A NOR gate is logic gate with two or more input signals
and one output signal. If any input signal is high, the
output is low. Output is high if and only if all input signals
are low.
A
B
C
12
NAND Gate
Logic Symbol 
Truth table
A
B
INPUT OUTPUT
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
Y
Y = A • B or
Y = AB
13
Input Output
A B C Y
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
A
B
C
A NAND gate is logic gate with two or more input signals
and one output signal. If any input signal is low, the
output signal is high. Output is low if and only if all input
signals are high.
Y = A • B • C
or
Y = ABC
Y
14
Exclusive OR / XOR Gate
Logic Symbol 
Truth table
A
B
INPUT OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Y
Y = A • B+
15
Input Output
A B C Y
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
A
B
C
An Exclusive OR (XOR) gate is logic gate with two or
more input and one output signal. If input signals have an
odd parity, the output signal is high.
Odd parity – an odd number of 1’s in an input word
Y
Y = A B C+ +
16
Exclusive NOR / XNOR Gate
Logic Symbol 
Truth table
A
B
INPUT OUTPUT
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
Y
Y = A • B = A B+ •
17
Input Output
A B C Y
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
A
B
C
An Exclusive NOR (XNOR) gate is logic gate with two or
more input and one output signal. If input signals have an
even parity, the output signal is high.
Even parity – an even number of 1’s in an input word
Y
Y = A B C
or
Y = A B C
+ +
• •
18
C
A + B
F =
Input Output
A B C F
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
19
C
A + B
F =
Input Output
A B C A + B F
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
A + B + C
20
C
A + B
F =
Input Output
A B C A + B Y
0 0 0 1 0
0 0 1 1 0
0 1 0 0 1
0 1 1 0 0
1 0 0 0 1
1 0 1 0 0
1 1 0 0 1
1 1 1 0 0
A + B + C
21
C
A B
F =
Input Output
A B C Y
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
AB • C
B
A
22
C
A B
F =
Input Output
A B C A B Y
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
AB • C
B
A
23
C
A B
F =
Input Output
A B C A B F
0 0 0 1 1
0 0 1 1 0
0 1 0 1 1
0 1 1 1 0
1 0 0 1 1
1 0 1 1 0
1 1 0 0 1
1 1 1 0 1
AB • C
B
A
24
C
A + B
F =
Input Output
A B C F
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
A
B
Y
A
B
Y
A
B
25
C
A + B
F =
Input 1 Output
A B C A’ B’ A’ + B’ C’ F
0 0 0 1 1 1 1 1
0 0 1 1 1 1 0 1
0 1 0 1 0 1 1 1
0 1 1 1 0 1 0 1
1 0 0 0 1 1 1 1
1 0 1 0 1 1 0 1
1 1 0 0 0 0 1 1
1 1 1 0 0 0 0 0
A + B + C
A
B
Y
A
B
Y
A
B
26
C
A B
F =
Input Output
A B C F
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
A
B
27
C
A B
F = (A B ) C
A
B
Input 1 Output
A B C A’ B’ A’ •B’ C’ Y
0 0 0 1 1 1 1 1
0 0 1 1 1 1 0 0
0 1 0 1 0 0 1 0
0 1 1 1 0 0 0 0
1 0 0 0 1 0 1 0
1 0 1 0 1 0 0 0
1 1 0 0 0 0 1 0
1 1 1 0 0 0 0 0
28
F =
Input Output
A B A’ B’ Y
0 0 1 1 1
0 1 1 0 1
1 0 0 1 1
1 1 0 0 0
A
B
Y
A
B
A + B
29
A NAND gate is equivalent to a BUBBLED OR
30
A B
Input Output
A B A’ B’ Y
0 0 1 1 1
0 1 1 0 0
1 0 0 1 0
1 1 0 0 0
31
A NOR gate is equivalent to a BUBBLED AND
32
DE MORGAN’s LAW
A NOR gate is equivalent to a BUBBLED AND
A NAND gate is equivalent to a BUBBLED OR
33
Summary
 An OR gate is logic gate with two or more input signals and one output
signal. If any input signal is high, the output signal is high. Output is low
if and only if all input signals are low.
 An AND gate is logic gate with two or more input signals and one output
signal. If any input signal is low, the output signal is low. Output is high if
and only if all input signals are high.
 A NOT gate or also known as INVERTER is logic gate with one input
signal and one output signal. Output is just the complement of the input.
 A NOR gate is logic gate with two or more input signals and one output
signal. If any input signal is high, the output is low. Output is high if and
only if all input signals are low.
 A NAND gate is logic gate with two or more input signals and one
output signal. If any input signal is low, the output signal is high. Output
is low if and only if all input signals are high.
34
Summary
Odd parity – an odd number of 1’s in an input word
An Exclusive OR (XOR) gate is logic gate with two or more input and
one output signal. If input signals have an odd parity, the output
signal is high.
Even parity – an even number of 1’s in an input word
An Exclusive NOR (XNOR) gate is logic gate with two or more input and
one output signal. If input signals have an even parity, the output signal
is high.
Under the DE MORGAN’s LAW
A NOR gate is equivalent to a bubbled AND
and A NAND gate is equivalent to a bubbled OR
35
BASIC LAW OF BOOLEAN ALGEBRA
X + 0 = X X + 1 = 1
X + X = X X + X’ = 1
X  0 = 0 X  1 = X
X  X = X X  X’ = 0
X’’ = X X’’’ = X’
X + Y = Y + X X  Y = Y  X
( X + Y ) + Z = X + ( Y + Z ) ( X  Y )  Z = X  ( Y  Z )
X ( Y + Z ) = XY + XZ (X + Y) (X + Z) = X + YZ
X + XY = X X ( X + Y ) = X
X ( X’ + Y ) = XY X + X’Y = X + Y
36
Gating network
1.
2.
F = XY + X’Y’
F
3.
X = ( A B ) + AC + (AB C) 37
Gating network
A
B
Y
F
F = XY’ + X’Y
38
INPUT 1 OUTPUT
X Y y’ XY’ F
0 0 1 0
0 1 0 0
1 0 1 1
1 1 0 0
F = XY’ + X’Y
39
INPUT 1 2 OUTPUT
X Y X’ y’ XY’ X’Y F
0 0 1 1 0 0
0 1 1 0 0 1
1 0 0 1 1 0
1 1 0 0 0 0
F = XY’ + X’Y
40
INPUT 1 2 OUTPUT
X Y X’ y’ XY’ X’Y F = 1+ 2
0 0 1 1 0 0 0
0 1 1 0 0 1 1
1 0 0 1 1 0 1
1 1 0 0 0 0 0
F = XY’ + X’Y
41
CONCLUSION
X’Y + XY’ = X Y
42
Gating network
Y
F = XY + X’Y’
F
43
INPUT 1 OUTPUT
X Y XY F
0 0 0
0 1 0
1 0 0
1 1 1
F = XY + X’Y’
44
INPUT 1 2 OUTPUT
X Y XY X’ Y’ X’Y’ F
0 0 0 1 1 1
0 1 0 1 0 0
1 0 0 0 1 0
1 1 1 0 0 0
F = XY + X’Y’
45
INPUT 1 2 OUTPUT
X Y XY X’ Y’ X’Y’ F = 1+ 2
0 0 0 1 1 1 1
0 1 0 1 0 0 0
1 0 0 0 1 0 0
1 1 1 0 0 0 1
F = XY + X’Y’
46
CONCLUSION
XY + X’Y’ = X Y
47
X = ( A B ) + AC + (AB C)
INPUT OUTPUT
A B C X
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Truth table
X =((A B ) + AC ) + (AB C)
48
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0 49
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0 0
0 0 1 0 0
0 1 0 1 0
0 1 1 1 0
1 0 0 1 0
1 0 1 1 1
1 1 0 0 0
1 1 1 0 1 50
X = ( A B ) + AC + (AB C)
INPUT 1 2 OUTPUT
A B C ( A B ) AC X
0 0 0 0 0
0 0 1 0 0
0 1 0 1 0
0 1 1 1 0
1 0 0 1 0
1 0 1 1 1
1 1 0 0 0
1 1 1 0 1 51
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0 0 1
0 0 1 0 0 1
0 1 0 1 0 0
0 1 1 1 0 0
1 0 0 1 0 0
1 0 1 1 1 0
1 1 0 0 0 1
1 1 1 0 1 0 52
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0 0 1 1
0 0 1 0 0 1 1
0 1 0 1 0 0 1
0 1 1 1 0 0 1
1 0 0 1 0 0 1
1 0 1 1 1 0 1
1 1 0 0 0 1 0
1 1 1 0 1 0 0 53
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0 0 1 1 1 1
0 0 1 0 0 1 1 0 0
0 1 0 1 0 0 1 1 1
0 1 1 1 0 0 1 0 0
1 0 0 1 0 0 1 1 1
1 0 1 1 1 0 1 0 0
1 1 0 0 0 1 0 1 0
1 1 1 0 1 0 0 0 1 54
X = ( A B ) + AC + (AB C)
INPUT 1 2 5 3 4 6 OUTPUT
A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6
0 0 0 0 0 1 1 1 1 1
0 0 1 0 0 1 1 0 0 1
0 1 0 1 0 0 1 1 1 1
0 1 1 1 0 0 1 0 0 0
1 0 0 1 0 0 1 1 1 1
1 0 1 1 1 0 1 0 0 0
1 1 0 0 0 1 0 1 0 1
1 1 1 0 1 0 0 0 1 1 55
F = ( xy z ) + (x ( y + z ))
INPUT OUTPUT
X Y Z F
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
56
F = ( xy z ) + (x ( y + z ))
INPUT OUTPUT
X Y Z XY F
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
57
F = ( xy z ) + (x ( y + z ))
INPUT OUTPUT
X Y Z
XY Z
F
0 0 0 1 1
0 0 1 1 0
0 1 0 1 1
0 1 1 1 0
1 0 0 1 1
1 0 1 1 0
1 1 0 0 1
1 1 1 0 0
58
F = ( xy z ) + (x ( y + z ))
INPUT 1 OUTPUT
X Y Z
XY Z (xy z ) F
0 0 0 1 1 0
0 0 1 1 0 1
0 1 0 1 1 0
0 1 1 1 0 1
1 0 0 1 1 0
1 0 1 1 0 1
1 1 0 0 1 1
1 1 1 0 0 0
59
F = ( xy z ) + (x ( y + z ))
INPUT 1 OUTPUT
X Y Z
XY Z (xy z ) ( y + z ) F
0 0 0 1 1 0 1
0 0 1 1 0 1 0
0 1 0 1 1 0 0
0 1 1 1 0 1 0
1 0 0 1 1 0 1
1 0 1 1 0 1 0
1 1 0 0 1 1 0
1 1 1 0 0 0 0
60
F = ( xy z ) + (x ( y + z ))
INPUT 1 OUTPUT
X Y Z
XY Z (xy z ) ( y + z ) x ( y + z ) F
0 0 0 1 1 0 1 0
0 0 1 1 0 1 0 1
0 1 0 1 1 0 0 1
0 1 1 1 0 1 0 1
1 0 0 1 1 0 1 1
1 0 1 1 0 1 0 0
1 1 0 0 1 1 0 0
1 1 1 0 0 0 0 0
61
F = ( xy z ) + (x ( y + z ))
INPUT 1 OUTPUT
X Y Z
XY Z (xy z ) ( y + z ) x ( y + z ) F
0 0 0 1 1 0 1 0 0
0 0 1 1 0 1 0 1 1
0 1 0 1 1 0 0 1 1
0 1 1 1 0 1 0 1 1
1 0 0 1 1 0 1 1 1
1 0 1 1 0 1 0 0 1
1 1 0 0 1 1 0 0 1
1 1 1 0 0 0 0 0 0
62

More Related Content

What's hot

Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuitsgavhays
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer ScienceAnil Kumar Prajapati
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraAshish KC
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparationPadam Rai
 
Logic Gates O level Past Papers questions
Logic Gates O level Past Papers questionsLogic Gates O level Past Papers questions
Logic Gates O level Past Papers questionscvcvvc
 
Logic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandLogic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandSwaraj Nayak
 
Introduction to Boolean Algebra
Introduction to Boolean AlgebraIntroduction to Boolean Algebra
Introduction to Boolean Algebrablaircomp2003
 
Introduction to digital logic gates
Introduction to digital logic gatesIntroduction to digital logic gates
Introduction to digital logic gatesVikas Dongre
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gatesjsearle11
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8wajanga
 

What's hot (20)

Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuits
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Digital logic
Digital logicDigital logic
Digital logic
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebra
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
 
Logic Gates O level Past Papers questions
Logic Gates O level Past Papers questionsLogic Gates O level Past Papers questions
Logic Gates O level Past Papers questions
 
Chapter 5 boolean algebra
Chapter 5 boolean algebraChapter 5 boolean algebra
Chapter 5 boolean algebra
 
Logic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandLogic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understand
 
Introduction to Boolean Algebra
Introduction to Boolean AlgebraIntroduction to Boolean Algebra
Introduction to Boolean Algebra
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Introduction to digital logic gates
Introduction to digital logic gatesIntroduction to digital logic gates
Introduction to digital logic gates
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gates
 
Logic gates (2)
Logic gates (2)Logic gates (2)
Logic gates (2)
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 

Similar to Logic circuit2017

Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxProfVilasShamraoPati
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01guestde204e
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Satya P. Joshi
 
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxUnit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxKartikkalaspurkar1
 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamAnupamAkib
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxssuser6feece1
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptxAjaykumar967485
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptdhanamalathieee
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 

Similar to Logic circuit2017 (20)

Boolean Algebra.pptx
 Boolean Algebra.pptx Boolean Algebra.pptx
Boolean Algebra.pptx
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptx
 
Logic Gates (1).ppt
Logic Gates (1).pptLogic Gates (1).ppt
Logic Gates (1).ppt
 
Digital logic
Digital logicDigital logic
Digital logic
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01
 
Logic gates
 Logic gates Logic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
logic gates
logic gates logic gates
logic gates
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxUnit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by Anupam
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
 
Digital Basics
Digital BasicsDigital Basics
Digital Basics
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
Mcsl 17 ALP lab manual
Mcsl 17 ALP lab manualMcsl 17 ALP lab manual
Mcsl 17 ALP lab manual
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 

Logic circuit2017

  • 1. Logic Circuit and Switching Theory Introduction Logic Gates 1
  • 2. Review of Boolean algebra • Complementation known as NOT operation, denoted by an over bar Ex. Complement of A = A 0 = 1 1 = 0 • Logical addition known as OR operation, denoted by a plus sign Ex. A + B 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1 • Logical multiplication known as AND operation, denoted by a dot sign Ex. A • B 0 • 0 = 0 0 • 1 = 0 1 • 0 = 0 1 • 1 = 1 2
  • 3. Basic Digital Logic Digital signals have two (2) basic states 1 (Logic “high” H / “on” / TRUE / Positive) 0 (Logic “low” L / “off’ / FALSE / Negative) Voltage are used to represent logic values • A voltage present (called Vcc or Vdd) = 1 • Zero voltage or ground (called gnd or Vss) = 0 3
  • 4. Logic Gates • A digital computer is composed of nothing more than digital circuit, buses, and sequential logic elements. • Digital circuit are composed of gates that are wired together either fixed circuit or reconfigurable. • The basic elements of circuits are gates. Each type of gate implements a Boolean operation 4
  • 5. Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding logic circuits in Integrated Circuit (I.C.) form. In circuitry theory, NOT, AND, and OR gates are the basic gates. Any circuit can be designed using these gates. The circuits designed depend only on the inputs, not on the output. In other words, these circuits have no memory. Also these circuits are called combinational circuits. The symbols NOT gate, AND gate, and OR gate are also considered as basic circuit symbols, which are used to build general circuits. 5
  • 6. OR Gate Logic Symbol  Truth table A B Y Y = A + B INPUT OUTPUT A B Y 0 0 0 0 1 1 1 0 1 1 1 1 6
  • 7. Input Output A B C Y 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 A B Y A B C Y = A + B + C An OR gate is logic gate with two or more input signals and one output signal. If any input signal is high, the output signal is high. Output is low if and only if all input signals are low. Y 7
  • 8. AND Gate Logic Symbol  Truth table A B INPUT OUTPUT A B Y 0 0 0 0 1 0 1 0 0 1 1 1 8
  • 9. Input Output A B C Y 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 A B C An AND gate is logic gate with two or more input signals and one output signal. If any input signal is low, the output signal is low. Output is high if and only if all input signals are high. Y = A • B • C or Y = ABC Y 9
  • 10. NOT Gate / INVERTER Logic Symbol  Truth table A Y INPUT OUTPUT A Y 0 1 1 0 Y = A A NOT gate or also known as INVERTER is logic gate with one input signal and one output signal. Output is just the complement of the input. 10
  • 11. NOR Gate Logic Symbol  Truth table Y = A + B INPUT OUTPUT A B Y 0 0 1 0 1 0 1 0 0 1 1 0 11
  • 12. Input Output A B C Y 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 Y = A + B + C A NOR gate is logic gate with two or more input signals and one output signal. If any input signal is high, the output is low. Output is high if and only if all input signals are low. A B C 12
  • 13. NAND Gate Logic Symbol  Truth table A B INPUT OUTPUT A B Y 0 0 1 0 1 1 1 0 1 1 1 0 Y Y = A • B or Y = AB 13
  • 14. Input Output A B C Y 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 A B C A NAND gate is logic gate with two or more input signals and one output signal. If any input signal is low, the output signal is high. Output is low if and only if all input signals are high. Y = A • B • C or Y = ABC Y 14
  • 15. Exclusive OR / XOR Gate Logic Symbol  Truth table A B INPUT OUTPUT A B Y 0 0 0 0 1 1 1 0 1 1 1 0 Y Y = A • B+ 15
  • 16. Input Output A B C Y 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 A B C An Exclusive OR (XOR) gate is logic gate with two or more input and one output signal. If input signals have an odd parity, the output signal is high. Odd parity – an odd number of 1’s in an input word Y Y = A B C+ + 16
  • 17. Exclusive NOR / XNOR Gate Logic Symbol  Truth table A B INPUT OUTPUT A B Y 0 0 1 0 1 0 1 0 0 1 1 1 Y Y = A • B = A B+ • 17
  • 18. Input Output A B C Y 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 0 A B C An Exclusive NOR (XNOR) gate is logic gate with two or more input and one output signal. If input signals have an even parity, the output signal is high. Even parity – an even number of 1’s in an input word Y Y = A B C or Y = A B C + + • • 18
  • 19. C A + B F = Input Output A B C F 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 19
  • 20. C A + B F = Input Output A B C A + B F 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 A + B + C 20
  • 21. C A + B F = Input Output A B C A + B Y 0 0 0 1 0 0 0 1 1 0 0 1 0 0 1 0 1 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0 0 A + B + C 21
  • 22. C A B F = Input Output A B C Y 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 AB • C B A 22
  • 23. C A B F = Input Output A B C A B Y 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 AB • C B A 23
  • 24. C A B F = Input Output A B C A B F 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 1 AB • C B A 24
  • 25. C A + B F = Input Output A B C F 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 A B Y A B Y A B 25
  • 26. C A + B F = Input 1 Output A B C A’ B’ A’ + B’ C’ F 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 0 0 0 1 1 1 1 1 0 1 0 1 1 0 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 A + B + C A B Y A B Y A B 26
  • 27. C A B F = Input Output A B C F 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 A B 27
  • 28. C A B F = (A B ) C A B Input 1 Output A B C A’ B’ A’ •B’ C’ Y 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 0 0 1 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 0 0 0 1 0 1 1 1 0 0 0 0 0 28
  • 29. F = Input Output A B A’ B’ Y 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 0 A B Y A B A + B 29
  • 30. A NAND gate is equivalent to a BUBBLED OR 30
  • 31. A B Input Output A B A’ B’ Y 0 0 1 1 1 0 1 1 0 0 1 0 0 1 0 1 1 0 0 0 31
  • 32. A NOR gate is equivalent to a BUBBLED AND 32
  • 33. DE MORGAN’s LAW A NOR gate is equivalent to a BUBBLED AND A NAND gate is equivalent to a BUBBLED OR 33
  • 34. Summary  An OR gate is logic gate with two or more input signals and one output signal. If any input signal is high, the output signal is high. Output is low if and only if all input signals are low.  An AND gate is logic gate with two or more input signals and one output signal. If any input signal is low, the output signal is low. Output is high if and only if all input signals are high.  A NOT gate or also known as INVERTER is logic gate with one input signal and one output signal. Output is just the complement of the input.  A NOR gate is logic gate with two or more input signals and one output signal. If any input signal is high, the output is low. Output is high if and only if all input signals are low.  A NAND gate is logic gate with two or more input signals and one output signal. If any input signal is low, the output signal is high. Output is low if and only if all input signals are high. 34
  • 35. Summary Odd parity – an odd number of 1’s in an input word An Exclusive OR (XOR) gate is logic gate with two or more input and one output signal. If input signals have an odd parity, the output signal is high. Even parity – an even number of 1’s in an input word An Exclusive NOR (XNOR) gate is logic gate with two or more input and one output signal. If input signals have an even parity, the output signal is high. Under the DE MORGAN’s LAW A NOR gate is equivalent to a bubbled AND and A NAND gate is equivalent to a bubbled OR 35
  • 36. BASIC LAW OF BOOLEAN ALGEBRA X + 0 = X X + 1 = 1 X + X = X X + X’ = 1 X  0 = 0 X  1 = X X  X = X X  X’ = 0 X’’ = X X’’’ = X’ X + Y = Y + X X  Y = Y  X ( X + Y ) + Z = X + ( Y + Z ) ( X  Y )  Z = X  ( Y  Z ) X ( Y + Z ) = XY + XZ (X + Y) (X + Z) = X + YZ X + XY = X X ( X + Y ) = X X ( X’ + Y ) = XY X + X’Y = X + Y 36
  • 37. Gating network 1. 2. F = XY + X’Y’ F 3. X = ( A B ) + AC + (AB C) 37
  • 38. Gating network A B Y F F = XY’ + X’Y 38
  • 39. INPUT 1 OUTPUT X Y y’ XY’ F 0 0 1 0 0 1 0 0 1 0 1 1 1 1 0 0 F = XY’ + X’Y 39
  • 40. INPUT 1 2 OUTPUT X Y X’ y’ XY’ X’Y F 0 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 F = XY’ + X’Y 40
  • 41. INPUT 1 2 OUTPUT X Y X’ y’ XY’ X’Y F = 1+ 2 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 0 0 1 1 0 1 1 1 0 0 0 0 0 F = XY’ + X’Y 41
  • 43. Gating network Y F = XY + X’Y’ F 43
  • 44. INPUT 1 OUTPUT X Y XY F 0 0 0 0 1 0 1 0 0 1 1 1 F = XY + X’Y’ 44
  • 45. INPUT 1 2 OUTPUT X Y XY X’ Y’ X’Y’ F 0 0 0 1 1 1 0 1 0 1 0 0 1 0 0 0 1 0 1 1 1 0 0 0 F = XY + X’Y’ 45
  • 46. INPUT 1 2 OUTPUT X Y XY X’ Y’ X’Y’ F = 1+ 2 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 0 0 1 0 0 1 1 1 0 0 0 1 F = XY + X’Y’ 46
  • 48. X = ( A B ) + AC + (AB C) INPUT OUTPUT A B C X 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Truth table X =((A B ) + AC ) + (AB C) 48
  • 49. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 49
  • 50. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 0 1 50
  • 51. X = ( A B ) + AC + (AB C) INPUT 1 2 OUTPUT A B C ( A B ) AC X 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 0 1 51
  • 52. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 1 0 0 0 1 1 1 0 0 1 0 0 1 0 0 1 0 1 1 1 0 1 1 0 0 0 1 1 1 1 0 1 0 52
  • 53. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 0 0 1 1 0 0 1 0 0 1 1 0 1 1 1 0 1 1 1 0 0 0 1 0 1 1 1 0 1 0 0 53
  • 54. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 0 0 0 1 0 1 0 0 1 1 1 0 1 1 1 0 0 1 0 0 1 0 0 1 0 0 1 1 1 1 0 1 1 1 0 1 0 0 1 1 0 0 0 1 0 1 0 1 1 1 0 1 0 0 0 1 54
  • 55. X = ( A B ) + AC + (AB C) INPUT 1 2 5 3 4 6 OUTPUT A B C (A B) AC 1+2 AB C 3 4 X = 5 + 6 0 0 0 0 0 1 1 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 0 1 0 0 1 1 1 1 0 1 1 1 0 0 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 0 1 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 0 1 1 1 1 0 1 0 0 0 1 1 55
  • 56. F = ( xy z ) + (x ( y + z )) INPUT OUTPUT X Y Z F 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 56
  • 57. F = ( xy z ) + (x ( y + z )) INPUT OUTPUT X Y Z XY F 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 57
  • 58. F = ( xy z ) + (x ( y + z )) INPUT OUTPUT X Y Z XY Z F 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 58
  • 59. F = ( xy z ) + (x ( y + z )) INPUT 1 OUTPUT X Y Z XY Z (xy z ) F 0 0 0 1 1 0 0 0 1 1 0 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 0 0 1 1 1 1 1 0 0 0 59
  • 60. F = ( xy z ) + (x ( y + z )) INPUT 1 OUTPUT X Y Z XY Z (xy z ) ( y + z ) F 0 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 1 1 1 0 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 0 1 1 0 1 1 1 0 0 0 0 60
  • 61. F = ( xy z ) + (x ( y + z )) INPUT 1 OUTPUT X Y Z XY Z (xy z ) ( y + z ) x ( y + z ) F 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 0 1 0 1 1 0 0 1 1 0 1 1 1 0 1 1 0 1 0 0 1 1 0 0 1 1 0 0 1 1 1 0 0 0 0 0 61
  • 62. F = ( xy z ) + (x ( y + z )) INPUT 1 OUTPUT X Y Z XY Z (xy z ) ( y + z ) x ( y + z ) F 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 0 1 1 0 1 1 1 0 1 0 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 0 1 0 0 1 1 1 0 0 1 1 0 0 1 1 1 1 0 0 0 0 0 0 62