SlideShare a Scribd company logo
1 of 52
CHAPTER 3
BASIC
&
COMBINATIONAL LOGIC CIRCUIT
LEARNING OUTCOMES
 At the end of this chapter, you should be able to
 Describe the operation of NOT, AND, OR, NAND, NOR, XOR
and XNOR gates and express them with Boolean expression
 Design a combinational logic circuit for a given Boolean
output expression and truth table
BOOLEAN CONSTANT & VARIABLE
 Boolean variable is a quantity that may be equal to either
0 or 1 at different times.
 Boolean variables represent only the state of a voltage
variable in terms of 0 and 1, called the logic level.
 Different terms used to represent logic 0 and logic 1
TRUTH TABLE
 Truth tables list all possible input combinations and the
corresponding output level.
 The number of input combination depends on the number
of inputs.
 The number of input combinations will be equal to 2N for
an N-input truth table. For instance, for a 5-input truth
table, the input combinations will be 25 = 32.
TRUTH TABLE EXAMPLES
BASIC GATES, FUNCTION AND PULSE
WAVEFORMS
 There are 7 basic gates available:
 INVERTER gate
 AND gate
 OR gate
 NAND gate
 NOR gate
 XOR gate
 XNOR gate
INVERTER
 Also known as NOT gate
It changes one logic level to the opposite level
 The symbol is
 Truth table
INVERTER
 Timing diagram
 A graph that accurately displays the relationship of
two or more waveforms on time basis.
 Boolean expression of an Inverter with input A and
output B is
AND gate
 AND gate can have two or more inputs but only 1 output.
 Operation: logical multiplication.
Output is HIGH only when all the inputs are HIGH.
 The symbol is
AND gate EXERCISE
 Determine the AND gate output for the following figure.
AND gate EXERCISE
 Determine the AND gate output for the following figure.
OR gate
 OR gate can have two or more inputs but only 1 output.
 Operation: logical addition.
Output is LOW only when all the inputs are LOW.
 The symbol is
OR gate EXERCISE
 Determine the OR gate output for the following figure.
NAND gate
 NAND gate can have two or more inputs
but only 1 output.
 Operation: in combination AND, and
INVERTER
Output is LOW only when all the inputs
are HIGH.
 The symbol is
NAND gate EXERCISE
NAND gate EXERCISE
NOR gate
 NOR gate can have two or more inputs
but only 1 output.
 Operation: in combination OR and
INVERTER
Output is HIGH only when all the inputs
are LOW.
 The symbol is
NOR gate EXERCISE
NOR gate EXERCISE
XOR gate
 XOR gate can have two or more inputs but
only 1 output.
 Output is HIGH only when the inputs are
at opposite logic levels.
 The symbol is
XOR gate EXERCISE
XOR gate EXERCISE
XNOR gate
 XNOR gate can have two or more inputs
but only 1 output.
 Output is LOW only when the inputs are
at opposite logic levels.
 The symbol is
XNOR gate EXERCISE
XNOR gate EXERCISE
EXAMPLES ON SIMPLE LOGIC
DESIGN QUESTION
UNDERSTAND THE QUESTION - DEVELOP THE TRUTH TABLE
EXAMPLE 1
Develop the truth table for a logic circuit with four input (A, B, C
and D) that will produce a HIGH output whenever majority of the
input are HIGH.
Quiz 2
Develop the truth table for a logic circuit to produce an output
HIGH only if the inputs, represented by a 4-bit binary numbers,
have an odd numbers of HIGH inputs.
LAB 1
END OF PART 1
ANALYSING A COMBINATIONAL
LOGIC CIRCUIT
 In digital system, different gates are connected together to perform different
function  combinational logic circuit
 Obtain the Boolean expression and analyse it to form the truth table for that
particular combinational logic circuit.
EXAMPLE 1: Boolean
Expression and Truth Table
STEP 1
STEP 2
STEP 3
STEP 4
STEP 5
EXAMPLE 2: Boolean Expression and
Truth Table
STEP 1

d  AB
e = B C

f = d +C
= (A B) +C

Z = e f
= (B C) (A B) +C
   
C
B
A
C
B 




Z
 The Boolean expression
 Truth table
STEP 2
Exercise
 For the combinational circuits given below, find its
Boolean expression and truth table.
(a) (b)
DESIGN A COMBINATIONAL LOGIC
CIRCUIT FROM
BOOLEAN EXPRESSION
 To draw a logic circuit,
 Step 1: Group the variables together in a bracket
 Step 2: Start to draw from either input or output
EXAMPLE 3 DESIGN A COMBINATIONAL
LOGIC CIRCUIT FROM BOOLEAN EXPRESSION
 From the Boolean expression
 Bracket the expression
BC
A
C
B
AC
y 


)
(
)
(
)
( BC
A
C
B
AC
y 


STEP 1
STEP 2
STEP 3
Exercise
 Draw the combinational circuit represented by the
Boolean expression below.
C
BC
C
B
A
Z 


QUIZ 3
Design a logic circuit with four input (A, B, C and D) that will
produce a HIGH output, Z whenever both A and C is HIGH as
long as both B and D are either both HIGH or both LOW.
FOR A LONG AND COMPLICATED
LOGIC DESIGN QUESTION..??
…..continued in CHAPTER 4
#BooleanTheorem
#SOP
#POS
#K-Map
Exercise
Design an electronic circuit that takes two 2-bit binary
numbers X(x1, x0) and Y(y1, y0) and produces an output
binary number Z(z3, z2, z1, z0) that is equal to the
function Z = X*Y of the two input numbers.
Exercise
Design an electronic circuit that takes two 2-bit
binary numbers X(x1, x0) and Y(y1, y0) and produces
an output binary number Z(z3, z2, z1, z0) that is
equal to the function Z = X+2Y of the two input
numbers.
END OF CHAP. 3

More Related Content

Similar to combinational _logic_circuit_digital.pptx

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
 
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.pdfDamotTesfaye
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementationssuserca5764
 
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
 
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfDr.Florence Dayana
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraAswiniT3
 
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
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxDrVaibhavMeshram
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxChristianVelchez2
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebraVeera Venky
 
PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018Fizaril Amzari Omar
 

Similar to combinational _logic_circuit_digital.pptx (20)

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.
 
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
 
Logic gates
Logic gatesLogic gates
Logic gates
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
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
 
Chap 3
Chap 3Chap 3
Chap 3
 
12733771.ppt
12733771.ppt12733771.ppt
12733771.ppt
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
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
 
Logic gates 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
 
PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018
 
DE notes
DE notesDE notes
DE notes
 

Recently uploaded

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxMANASINANDKISHORDEOR
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisDr.Costas Sachpazis
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailingAshishSingh1301
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..MaherOthman7
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
AI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfAI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfmahaffeycheryld
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesRashidFaridChishti
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.benjamincojr
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Performance enhancement of machine learning algorithm for breast cancer diagn...
Performance enhancement of machine learning algorithm for breast cancer diagn...Performance enhancement of machine learning algorithm for breast cancer diagn...
Performance enhancement of machine learning algorithm for breast cancer diagn...IJECEIAES
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualBalamuruganV28
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsVIEW
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfAshrafRagab14
 

Recently uploaded (20)

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
AI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfAI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Performance enhancement of machine learning algorithm for breast cancer diagn...
Performance enhancement of machine learning algorithm for breast cancer diagn...Performance enhancement of machine learning algorithm for breast cancer diagn...
Performance enhancement of machine learning algorithm for breast cancer diagn...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 

combinational _logic_circuit_digital.pptx

  • 2.
  • 3. LEARNING OUTCOMES  At the end of this chapter, you should be able to  Describe the operation of NOT, AND, OR, NAND, NOR, XOR and XNOR gates and express them with Boolean expression  Design a combinational logic circuit for a given Boolean output expression and truth table
  • 4. BOOLEAN CONSTANT & VARIABLE  Boolean variable is a quantity that may be equal to either 0 or 1 at different times.  Boolean variables represent only the state of a voltage variable in terms of 0 and 1, called the logic level.  Different terms used to represent logic 0 and logic 1
  • 5. TRUTH TABLE  Truth tables list all possible input combinations and the corresponding output level.  The number of input combination depends on the number of inputs.  The number of input combinations will be equal to 2N for an N-input truth table. For instance, for a 5-input truth table, the input combinations will be 25 = 32.
  • 7. BASIC GATES, FUNCTION AND PULSE WAVEFORMS  There are 7 basic gates available:  INVERTER gate  AND gate  OR gate  NAND gate  NOR gate  XOR gate  XNOR gate
  • 8. INVERTER  Also known as NOT gate It changes one logic level to the opposite level  The symbol is  Truth table
  • 9. INVERTER  Timing diagram  A graph that accurately displays the relationship of two or more waveforms on time basis.  Boolean expression of an Inverter with input A and output B is
  • 10. AND gate  AND gate can have two or more inputs but only 1 output.  Operation: logical multiplication. Output is HIGH only when all the inputs are HIGH.  The symbol is
  • 11. AND gate EXERCISE  Determine the AND gate output for the following figure.
  • 12. AND gate EXERCISE  Determine the AND gate output for the following figure.
  • 13. OR gate  OR gate can have two or more inputs but only 1 output.  Operation: logical addition. Output is LOW only when all the inputs are LOW.  The symbol is
  • 14. OR gate EXERCISE  Determine the OR gate output for the following figure.
  • 15. NAND gate  NAND gate can have two or more inputs but only 1 output.  Operation: in combination AND, and INVERTER Output is LOW only when all the inputs are HIGH.  The symbol is
  • 18. NOR gate  NOR gate can have two or more inputs but only 1 output.  Operation: in combination OR and INVERTER Output is HIGH only when all the inputs are LOW.  The symbol is
  • 21. XOR gate  XOR gate can have two or more inputs but only 1 output.  Output is HIGH only when the inputs are at opposite logic levels.  The symbol is
  • 24. XNOR gate  XNOR gate can have two or more inputs but only 1 output.  Output is LOW only when the inputs are at opposite logic levels.  The symbol is
  • 27. EXAMPLES ON SIMPLE LOGIC DESIGN QUESTION UNDERSTAND THE QUESTION - DEVELOP THE TRUTH TABLE
  • 28. EXAMPLE 1 Develop the truth table for a logic circuit with four input (A, B, C and D) that will produce a HIGH output whenever majority of the input are HIGH.
  • 29. Quiz 2 Develop the truth table for a logic circuit to produce an output HIGH only if the inputs, represented by a 4-bit binary numbers, have an odd numbers of HIGH inputs.
  • 30. LAB 1
  • 32.
  • 33. ANALYSING A COMBINATIONAL LOGIC CIRCUIT  In digital system, different gates are connected together to perform different function  combinational logic circuit  Obtain the Boolean expression and analyse it to form the truth table for that particular combinational logic circuit.
  • 34. EXAMPLE 1: Boolean Expression and Truth Table
  • 39. EXAMPLE 2: Boolean Expression and Truth Table STEP 1  d  AB e = B C  f = d +C = (A B) +C  Z = e f = (B C) (A B) +C
  • 40.     C B A C B      Z  The Boolean expression  Truth table STEP 2
  • 41. Exercise  For the combinational circuits given below, find its Boolean expression and truth table. (a) (b)
  • 42. DESIGN A COMBINATIONAL LOGIC CIRCUIT FROM BOOLEAN EXPRESSION  To draw a logic circuit,  Step 1: Group the variables together in a bracket  Step 2: Start to draw from either input or output
  • 43. EXAMPLE 3 DESIGN A COMBINATIONAL LOGIC CIRCUIT FROM BOOLEAN EXPRESSION  From the Boolean expression  Bracket the expression BC A C B AC y    ) ( ) ( ) ( BC A C B AC y    STEP 1 STEP 2
  • 45. Exercise  Draw the combinational circuit represented by the Boolean expression below. C BC C B A Z   
  • 46.
  • 47.
  • 48. QUIZ 3 Design a logic circuit with four input (A, B, C and D) that will produce a HIGH output, Z whenever both A and C is HIGH as long as both B and D are either both HIGH or both LOW.
  • 49. FOR A LONG AND COMPLICATED LOGIC DESIGN QUESTION..?? …..continued in CHAPTER 4 #BooleanTheorem #SOP #POS #K-Map
  • 50. Exercise Design an electronic circuit that takes two 2-bit binary numbers X(x1, x0) and Y(y1, y0) and produces an output binary number Z(z3, z2, z1, z0) that is equal to the function Z = X*Y of the two input numbers.
  • 51. Exercise Design an electronic circuit that takes two 2-bit binary numbers X(x1, x0) and Y(y1, y0) and produces an output binary number Z(z3, z2, z1, z0) that is equal to the function Z = X+2Y of the two input numbers.