SlideShare a Scribd company logo
CLASS-11
Chapter -3
BOOLEAN LOGIC
Prepared by
Ms. Ragavi.v(M.Sc..,(software
systems))
Fundamentals of Digital
Electronics - Logic Gates
Fundamentals of Digital Electronics - Logic Gates 2
Logic Circuits
 A collection of individual logic gates connect with
each other and produce a logic design known as a
Logic Circuit
 The following are the types of logic circuits:
 Decision making
 Memory
 A gate has two or more binary inputs and single output.
Fundamentals of Digital Electronics - Logic Gates 3
Basic Logic Gates
 The following are the three basic gates:
 NOT
 AND
 OR
 Each logic gate performs a different logic function. You
can derive logical function or any Boolean or logic
expression by combining these three gates.
Fundamentals of Digital Electronics - Logic Gates 4
NOT Gate
 The simplest form of a digital logic circuit is the
inverter or the NOT gate
 It consists of one input and one output and the
input can only be binary numbers namely; 0 and 1
the truth table for NOT Gate:
Fundamentals of Digital Electronics - Logic Gates 5
AND Gate
 The AND gate is a logic circuit that has two or more inputs
and a single output
 The operation of the gate is such that the output of the gate
is a binary 1 if and only if all inputs are binary 1
 Similarly, if any one or more inputs are binary 0, the output
will be binary 0.
Fundamentals of Digital Electronics - Logic Gates 6
OR Gate
 The OR gate is another basic logic gate
 Like the AND gate, it can have two or more inputs and a
single output
 The operation of OR gate is such that the output is a binary
1 if any one or all inputs are binary 1 and the output is
binary 0 only when all the inputs are binary 0
Fundamentals of Digital Electronics - Logic Gates 7
NAND Gate
 The term NAND is a contraction of the expression
NOT-AND gate
 A NAND gate, is an AND gate followed by an
inverter
 The algebraic output expression of the NAND gate
is Y = A.B
Fundamentals of Digital Electronics - Logic Gates 8
NOR Gate
 The term NOR is a contradiction of the expression
NOT-OR
 A NOR gate, is an OR gate followed by an inverter
 The algebraic output expression of the NOR gate is
Y = A + B
Fundamentals of Digital Electronics - Logic Gates 9
EX-OR and EX-NOR Gates
 EX-OR and EX-NOR are digital logic circuits that may
use two or more inputs
 EX-NOR gate returns the output opposite to EX-OR
gate
 EX-OR and EX-NOR gates are also denoted by XOR
and XNOR respectively.
Fundamentals of Digital Electronics - Logic Gates 10
EXOR Gate
 The Ex-OR (Exclusive- OR) gate returns high output with one of
two high inputs (but not with both high inputs or both low
inputs)
 For example, if both the inputs are binary 0 or 1, it will return the
output as 0. Similarly, if one input is binary 1 and another is
binary 0, the output will be 1 (high)
 The operation for the Ex-OR gate is denoted by encircled plus
symbol
 The Ex-OR operation is widely used in digital circuits.
 The algebraic output expression of the Ex-OR gate is Y = A ⊕ B =
Fundamentals of Digital Electronics - Logic Gates 11
EXNOR Gate
 The Ex-NOR (Exclusive- NOR) gate is a circuit that returns low
output with one of two high inputs (but not with both high inputs)
 For example, if both the inputs are binary 0 or 1, it will return the
output as 1. Similarly, if one input is binary 1 and another is binary 0,
the output will be 0 (low)
 The symbol for the Ex-NOR gate is denoted by encircled plus symbol
which inverts the binary values
 The algebraic output expression of the Ex-NOR gate is Y =
Fundamentals of Digital Electronics - Logic Gates 12
Applications of Logic Gates
 The following are some of the applications of Logic
gates:
 Build complex systems that can be used to different fields
such as
 Genetic engineering,
 Nanotechnology,
 Industrial Fermentation,
 Metabolic engineering and
 Medicine
 Construct multiplexers, adders and multipliers.
 Perform several parallel logical operations
 Used for a simple house alarm or fire alarm or in the circuit
of automated machine manufacturing industry
Fundamentals of Digital Electronics - Logic Gates 13
Boolean Laws
 Three of the basic laws of Boolean
algebra are the same as in ordinary
algebra; the commutative law, the
associative law and the distributive law
 The commutative law for addition and
multiplication of two variables is
written as,
A + B = B + A
 A . B = B . A
Fundamentals of Digital Electronics - Logic Gates 14
Associative law
This law states that the order in which the
logic operations are performed is
irrelevant as their effect is the same.
The associative law for addition and
multiplication of three variables is
written as,
 (A + B) + C = A + (B + C)
 (A .B) . C = A. (B. C)
Fundamentals of Digital Electronics - Logic Gates 15
Distributive law
Distributive law states the following
condition.
The distributive law for three variables
involves, both addition and multiplication
and is written as,
 A (B+ C) = A B + AC
 Note that while either '+' and „.‟ s can be
used freely.
The two cannot be mixed without
ambiguity in the absence of further rules.
Fundamentals of Digital Electronics - Logic Gates 16
For example does
 A . B + C means (A . B) + C or A . (B+ C)?
These two form different values for A = O,
B = 1 and C = 1, because we have
 (A . B) + C = (0.1) + 1 = 1
 A . (B + C) = 0 . (1 + 1) = 0
 which are different. The rule which is
used is that „.‟ is always performed before
'+'. Thus X . Y + Z is (X.Y) + Z.
Fundamentals of Digital Electronics - Logic Gates 17
 Basic Duality in Boolean Algebra:
 We state the duality theorem without proof. Starting
with a Boolean relation, we can derive another
Boolean relation by 1.
 Changing each OR (+) sign to an AND (.) sign 2.
 Changing each AND (.) sign to an OR (+) sign. 3.
 Complementary each 0 and 1 For instance
A +0= A The dual relation is A . 1 = A
 Also since A (B + C) = AB + AC by distributive law.
 Its dual relation is A + B C = (A + B) (A + C)
Fundamentals of Digital Electronics - Logic Gates 18
De Morgan’s Theorem,
Theorems of Boolean Algebra
9) A = A
10) A + AB = A
11) A + AB = A + B
12) (A + B)(A + C) = A + BC
13) Commutative : A + B = B + A
AB = BA
14) Associative : A+(B+C) =(A+B) + C
A(BC) = (AB)C
15) Distributive : A(B+C) = AB +AC
(A+B)(C+D)=AC + AD + BC + BD
De Morgan’s Theorems
16) (X+Y) = X . Y
17) (X.Y) = X + Y
• Two most important theorems of Boolean
Algebra were contributed by De Morgan.
• Extremely useful in simplifying expression in
which product or sum of variables is inverted.
• The TWO theorems are :
Implications of De Morgan’s Theorem
(a) Equivalent circuit implied by theorem (16)
(b) Alternative symbol for the NOR function
(c) Truth table that illustrates DeMorgan’s Theorem
(a)
(b)
Input Output
X Y X+Y XY
0 0 1 1
0 1 0 0
1 0 0 0
1 1 0 0
(c)
Implications of De Morgan’s Theorem
(a) Equivalent circuit implied by theorem (17)
(b) Alternative symbol for the NAND function
(c) Truth table that illustrates DeMorgan’s Theorem
(a)
(b)
Input Output
X Y XY X+Y
0 0 1 1
0 1 1 1
1 0 1 1
1 1 0 0
(c)
De Morgan’s Theorem Conversion
Step 1: Change all ORs to ANDs and all ANDs to Ors
Step 2: Complement each individual variable
(short overbar)
Step 3: Complement the entire function (long overbars)
Step 4: Eliminate all groups of double overbars
Example : A . B A .B. C
= A + B = A + B + C
= A + B = A + B + C
= A + B = A + B + C
= A + B
De Morgan’s Theorem Conversion
ABC + ABC (A + B +C)D
= (A+B+C).(A+B+C) = (A.B.C)+D
= (A+B+C).(A+B+C) = (A.B.C)+D
= (A+B+C).(A+B+C) = (A.B.C)+D
= (A+B+C).(A+B+C) = (A.B.C)+D
Fundamentals of Digital Electronics - Logic Gates 26
Fundamentals of Digital Electronics - Logic Gates 27
Fundamentals of Digital Electronics - Logic Gates 28
THANK YOU
Fundamentals of Digital Electronics - Logic Gates 29

More Related Content

Similar to chapter 3 Boolean algebra (2).pptx

Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
DanicaHeusdens
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdf
MaryJacob24
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
elfeds916
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
ssuserca5764
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
Youngik Song
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
dhanamalathieee
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
nanishajieha
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
AravindaAKumar1
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
NadzlinIbrahim3
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
Padam Rai
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
DamotTesfaye
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
MahiboobAliMulla
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
chauhankapil
 
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
Rojin Khadka
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptx
HazardRhenz1
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
Vivek Kumar Sinha
 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by Anupam
AnupamAkib
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
Priyanka Jakhar
 

Similar to chapter 3 Boolean algebra (2).pptx (20)

Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdf
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
 
BOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.pptBOOLEAN ALGEBRA & LOGIC GATES.ppt
BOOLEAN ALGEBRA & LOGIC GATES.ppt
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
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
 
Chapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptxChapter 2 Boolean Algebra.pptx
Chapter 2 Boolean Algebra.pptx
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
OR, AND, NOT Gates
OR, AND, NOT GatesOR, AND, NOT Gates
OR, AND, NOT Gates
 
Presentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by AnupamPresentation on Logic Fundamental by Anupam
Presentation on Logic Fundamental by Anupam
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 

chapter 3 Boolean algebra (2).pptx

  • 1. CLASS-11 Chapter -3 BOOLEAN LOGIC Prepared by Ms. Ragavi.v(M.Sc..,(software systems))
  • 2. Fundamentals of Digital Electronics - Logic Gates Fundamentals of Digital Electronics - Logic Gates 2
  • 3. Logic Circuits  A collection of individual logic gates connect with each other and produce a logic design known as a Logic Circuit  The following are the types of logic circuits:  Decision making  Memory  A gate has two or more binary inputs and single output. Fundamentals of Digital Electronics - Logic Gates 3
  • 4. Basic Logic Gates  The following are the three basic gates:  NOT  AND  OR  Each logic gate performs a different logic function. You can derive logical function or any Boolean or logic expression by combining these three gates. Fundamentals of Digital Electronics - Logic Gates 4
  • 5. NOT Gate  The simplest form of a digital logic circuit is the inverter or the NOT gate  It consists of one input and one output and the input can only be binary numbers namely; 0 and 1 the truth table for NOT Gate: Fundamentals of Digital Electronics - Logic Gates 5
  • 6. AND Gate  The AND gate is a logic circuit that has two or more inputs and a single output  The operation of the gate is such that the output of the gate is a binary 1 if and only if all inputs are binary 1  Similarly, if any one or more inputs are binary 0, the output will be binary 0. Fundamentals of Digital Electronics - Logic Gates 6
  • 7. OR Gate  The OR gate is another basic logic gate  Like the AND gate, it can have two or more inputs and a single output  The operation of OR gate is such that the output is a binary 1 if any one or all inputs are binary 1 and the output is binary 0 only when all the inputs are binary 0 Fundamentals of Digital Electronics - Logic Gates 7
  • 8. NAND Gate  The term NAND is a contraction of the expression NOT-AND gate  A NAND gate, is an AND gate followed by an inverter  The algebraic output expression of the NAND gate is Y = A.B Fundamentals of Digital Electronics - Logic Gates 8
  • 9. NOR Gate  The term NOR is a contradiction of the expression NOT-OR  A NOR gate, is an OR gate followed by an inverter  The algebraic output expression of the NOR gate is Y = A + B Fundamentals of Digital Electronics - Logic Gates 9
  • 10. EX-OR and EX-NOR Gates  EX-OR and EX-NOR are digital logic circuits that may use two or more inputs  EX-NOR gate returns the output opposite to EX-OR gate  EX-OR and EX-NOR gates are also denoted by XOR and XNOR respectively. Fundamentals of Digital Electronics - Logic Gates 10
  • 11. EXOR Gate  The Ex-OR (Exclusive- OR) gate returns high output with one of two high inputs (but not with both high inputs or both low inputs)  For example, if both the inputs are binary 0 or 1, it will return the output as 0. Similarly, if one input is binary 1 and another is binary 0, the output will be 1 (high)  The operation for the Ex-OR gate is denoted by encircled plus symbol  The Ex-OR operation is widely used in digital circuits.  The algebraic output expression of the Ex-OR gate is Y = A ⊕ B = Fundamentals of Digital Electronics - Logic Gates 11
  • 12. EXNOR Gate  The Ex-NOR (Exclusive- NOR) gate is a circuit that returns low output with one of two high inputs (but not with both high inputs)  For example, if both the inputs are binary 0 or 1, it will return the output as 1. Similarly, if one input is binary 1 and another is binary 0, the output will be 0 (low)  The symbol for the Ex-NOR gate is denoted by encircled plus symbol which inverts the binary values  The algebraic output expression of the Ex-NOR gate is Y = Fundamentals of Digital Electronics - Logic Gates 12
  • 13. Applications of Logic Gates  The following are some of the applications of Logic gates:  Build complex systems that can be used to different fields such as  Genetic engineering,  Nanotechnology,  Industrial Fermentation,  Metabolic engineering and  Medicine  Construct multiplexers, adders and multipliers.  Perform several parallel logical operations  Used for a simple house alarm or fire alarm or in the circuit of automated machine manufacturing industry Fundamentals of Digital Electronics - Logic Gates 13
  • 14. Boolean Laws  Three of the basic laws of Boolean algebra are the same as in ordinary algebra; the commutative law, the associative law and the distributive law  The commutative law for addition and multiplication of two variables is written as, A + B = B + A  A . B = B . A Fundamentals of Digital Electronics - Logic Gates 14
  • 15. Associative law This law states that the order in which the logic operations are performed is irrelevant as their effect is the same. The associative law for addition and multiplication of three variables is written as,  (A + B) + C = A + (B + C)  (A .B) . C = A. (B. C) Fundamentals of Digital Electronics - Logic Gates 15
  • 16. Distributive law Distributive law states the following condition. The distributive law for three variables involves, both addition and multiplication and is written as,  A (B+ C) = A B + AC  Note that while either '+' and „.‟ s can be used freely. The two cannot be mixed without ambiguity in the absence of further rules. Fundamentals of Digital Electronics - Logic Gates 16
  • 17. For example does  A . B + C means (A . B) + C or A . (B+ C)? These two form different values for A = O, B = 1 and C = 1, because we have  (A . B) + C = (0.1) + 1 = 1  A . (B + C) = 0 . (1 + 1) = 0  which are different. The rule which is used is that „.‟ is always performed before '+'. Thus X . Y + Z is (X.Y) + Z. Fundamentals of Digital Electronics - Logic Gates 17
  • 18.  Basic Duality in Boolean Algebra:  We state the duality theorem without proof. Starting with a Boolean relation, we can derive another Boolean relation by 1.  Changing each OR (+) sign to an AND (.) sign 2.  Changing each AND (.) sign to an OR (+) sign. 3.  Complementary each 0 and 1 For instance A +0= A The dual relation is A . 1 = A  Also since A (B + C) = AB + AC by distributive law.  Its dual relation is A + B C = (A + B) (A + C) Fundamentals of Digital Electronics - Logic Gates 18
  • 20. Theorems of Boolean Algebra 9) A = A 10) A + AB = A 11) A + AB = A + B 12) (A + B)(A + C) = A + BC 13) Commutative : A + B = B + A AB = BA 14) Associative : A+(B+C) =(A+B) + C A(BC) = (AB)C 15) Distributive : A(B+C) = AB +AC (A+B)(C+D)=AC + AD + BC + BD
  • 21. De Morgan’s Theorems 16) (X+Y) = X . Y 17) (X.Y) = X + Y • Two most important theorems of Boolean Algebra were contributed by De Morgan. • Extremely useful in simplifying expression in which product or sum of variables is inverted. • The TWO theorems are :
  • 22. Implications of De Morgan’s Theorem (a) Equivalent circuit implied by theorem (16) (b) Alternative symbol for the NOR function (c) Truth table that illustrates DeMorgan’s Theorem (a) (b) Input Output X Y X+Y XY 0 0 1 1 0 1 0 0 1 0 0 0 1 1 0 0 (c)
  • 23. Implications of De Morgan’s Theorem (a) Equivalent circuit implied by theorem (17) (b) Alternative symbol for the NAND function (c) Truth table that illustrates DeMorgan’s Theorem (a) (b) Input Output X Y XY X+Y 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 (c)
  • 24. De Morgan’s Theorem Conversion Step 1: Change all ORs to ANDs and all ANDs to Ors Step 2: Complement each individual variable (short overbar) Step 3: Complement the entire function (long overbars) Step 4: Eliminate all groups of double overbars Example : A . B A .B. C = A + B = A + B + C = A + B = A + B + C = A + B = A + B + C = A + B
  • 25. De Morgan’s Theorem Conversion ABC + ABC (A + B +C)D = (A+B+C).(A+B+C) = (A.B.C)+D = (A+B+C).(A+B+C) = (A.B.C)+D = (A+B+C).(A+B+C) = (A.B.C)+D = (A+B+C).(A+B+C) = (A.B.C)+D
  • 26. Fundamentals of Digital Electronics - Logic Gates 26
  • 27. Fundamentals of Digital Electronics - Logic Gates 27
  • 28. Fundamentals of Digital Electronics - Logic Gates 28
  • 29. THANK YOU Fundamentals of Digital Electronics - Logic Gates 29