SlideShare a Scribd company logo
1
Further logic concepts
• NAND, NOR, XOR gates, utility of universal
logic functions,Boolean expressions of NAND
and NOR gate
• How to derive output Boolean expression of
given logic circuit.
• How to construct truth table given Boolean
expression
• How to draw logic circuit schematic given
Boolean expression.
• Obtain output Boolean Expressions in SOP and
POS form
2
Variable, Literal (in Boolean Expressions)
• Variable is a symbol used to represent a logical
quantity
• Any variable can have a 1 or 0 value
• The complement of a variable A is indicated by
Ā or A’ (read as A bar)
• Literal is a variable or the complement of a
variable
3
Boolean Expressions of Basic Gates
Input
A B
Output
X= A+B
0 0
0 1
1 0
1 1
0
1
1
1
Truth table for
OR gate
Input
A B
Output
X=A.B
0 0
0 1
1 0
1 1
0
0
0
1
Truth table for
AND gate
Input
A
Output
X=Ā
Can be written as
X= A’
0
1
1
0
Truth table for
NOT gate
4
Boolean Addition
• Boolean Addition is equivalent to the OR
operation
• Basic rules for Boolean Addition:
1 + 1 = 1
1 + 0 = 1
0 + 1 = 1
0 + 0 = 0
• A sum term is equal to 1 when one or more
literals in the term are 1
• A sum term is equal to 0 only if each of the
literals is 0
5
Boolean Multiplication
• Boolean Multiplication is equivalent to the AND
operation
• Basic rules for Boolean Addition:
1.1 = 1
1.0 = 0
0.1 = 0
0.0 = 0
• A product term is equal to 1 only if each of the
literals in the term is 1
• A product term is equal to 0 when one or more
literals are 0
6
NAND Gate, NOR Gate
Input
A B
Output
Y=(A.B)’
0 0
0 1
1 0
1 1
1
1
1
0
Truth table for NAND gate
Input
A B
Output
Y=(A+B)’
0 0
0 1
1 0
1 1
1
0
0
0
Truth table for NOR gate
7
Boolean Expression of a Logic Circuit
• To derive the Boolean Expression for a given
logic circuit, begin at the left-most inputs and
work towards the final output by writing the
expression for each gate
A
B
C
Y=
A.B
C
A.B.C
A.B.C + A
8
Constructing Logic Circuit Given Boolean
Expression
• Identify the logic gates that you need from the
Boolean Expressions
• Connect the gates in such a manner to obtain
the desired output in the given Boolean
Expression
CBCACABy ++=The given equation is:
9
Constructing Logic Circuit Given
Boolean Expression (Example)
• Draw the logic circuit schematic based on the
below Boolean expression.
).).(( ACBBAy ++=
`
A
B
C
y
).).(( ACBBAy ++=
)( BA+
).( ACB +
A
B
A
CB.(
B
C
Sum-of-Products (SOP)
• Two or more product terms summed by Boolean
Addition
• A single bar cannot extend over more than one
variable
DBACBAX .... +=DBACBAX .... += ✓ 
• Implementation
requires OR to
combine the outputs
of two or more AND
gates
Product-of-Sum (POS)
• Two or more sum terms multiplied
• A single bar cannot extend over more than one
variable
✓ 
• Implementation
requires AND to
combine the outputs
of two or more OR
gates
)).(( DBACBAX ++++=)).(( DBACBAX ++++=
Standard SOP from Truth Table
• List the binary values of the input variables for
which the output is 1
• Convert each binary value to the corresponding
product term by:
✓ Replacing 1 with corresponding variable
✓ Replacing 0 with corresponding variable complement
• These product terms which are composed of
every input variable or its complement ANDed
together are known as minterms
• Sum these minterms together
Standard POS from Truth Table
• List the binary values of the input variables for
which the output is 0
• Convert each binary value to the
corresponding sum term by:
✓ Replacing 0 with corresponding variable
✓ Replacing 1 with corresponding variable
complement
• These sum terms which are composed of
every input variable or its complement ORed
together are known as maxterms
• Multiply these maxterms together
14
Constructing Truth Table from Boolean
Expressions (Example)
• Evaluate the Boolean expression for all possible
combinations of values for the input variables
Y = 1 when A=0, C=0, D=0, B=X (does not matter/don’t care)
OR when B=1, C=1, D=0, A=X (does not matter/don’t care)
OR when A=1, B=1, C=0, D=X (does not matter/don’t care)
A B C D Y
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
A
B
C
D
Y
DCA
DBC
CAB
CABDBCDCAY ++=

More Related Content

What's hot

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
 
Quiz on Logic Gate
Quiz on Logic GateQuiz on Logic Gate
Quiz on Logic Gateharman kaur
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
Fizaril Amzari Omar
 
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
Fizaril Amzari Omar
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
Praveen M Jigajinni
 
Logic gates (2)
Logic gates (2)Logic gates (2)
Logic gates (2)
Tanuj Parikh
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
Anil Kumar Prajapati
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gate
chauhankapil
 
Boolean functions
Boolean functionsBoolean functions
Boolean functions
ZareenRauf1
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
chauhankapil
 
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
Swaraj Nayak
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)
Hemant Suthar
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Boolean Logic
Boolean LogicBoolean Logic
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
Bilal Maqbool ツ
 
Logic gates and logic circuits
Logic gates and logic circuitsLogic gates and logic circuits
Logic gates and logic circuits
jyoti_lakhani
 
Digital 1
Digital 1Digital 1
Digital 1
AJAL A J
 

What's hot (20)

Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Quiz on Logic Gate
Quiz on Logic GateQuiz on Logic Gate
Quiz on Logic Gate
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
 
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
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Logic gates (2)
Logic gates (2)Logic gates (2)
Logic gates (2)
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Introduction to logic gate
Introduction to logic gateIntroduction to logic gate
Introduction to logic gate
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Boolean functions
Boolean functionsBoolean functions
Boolean functions
 
Boolean algebra
Boolean algebraBoolean algebra
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
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Boolean Logic
Boolean LogicBoolean Logic
Boolean Logic
 
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
 
Logic gates and logic circuits
Logic gates and logic circuitsLogic gates and logic circuits
Logic gates and logic circuits
 
Digital 1
Digital 1Digital 1
Digital 1
 

Similar to 3 further logic concepts

Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
DanicaHeusdens
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdf
nyamuonatinashe
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
AshishChandrakar12
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
WilliamJosephat1
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
The University of Lahore
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
NadzlinIbrahim3
 
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
AntareepMajumder
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
Ideal Eyes Business College
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptx
Thapar Institute
 
Logic gates
Logic gatesLogic gates
Logic gates
Nisarg Amin
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
Padam Rai
 
logic gates
logic gates logic gates
logic gates
MohiniChorat
 
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
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
RameshK531901
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
akshat205573
 
Logic Gates (1).ppt
Logic Gates (1).pptLogic Gates (1).ppt
Logic Gates (1).ppt
ShannykumarSingh
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
mshoaib15
 

Similar to 3 further logic concepts (20)

Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdf
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
UNIT1-part2.pptx
UNIT1-part2.pptxUNIT1-part2.pptx
UNIT1-part2.pptx
 
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Name dld preparation
Name dld preparationName dld preparation
Name dld preparation
 
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.
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
Logic Gates (1).ppt
Logic Gates (1).pptLogic Gates (1).ppt
Logic Gates (1).ppt
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 

More from chandkec

Class 8 Science :Conservation of plants and animals
Class 8 Science :Conservation of plants and animalsClass 8 Science :Conservation of plants and animals
Class 8 Science :Conservation of plants and animals
chandkec
 
Industries
IndustriesIndustries
Industries
chandkec
 
Theoritical concept of operating system
Theoritical concept of operating systemTheoritical concept of operating system
Theoritical concept of operating system
chandkec
 
Operators and Conditional statements in C
Operators and Conditional statements in COperators and Conditional statements in C
Operators and Conditional statements in C
chandkec
 
Computer organisation ppt
Computer organisation pptComputer organisation ppt
Computer organisation ppt
chandkec
 
Do we need a parliament ?
Do we need a parliament ?Do we need a parliament ?
Do we need a parliament ?
chandkec
 
Ch 6. combustion and flame
Ch 6. combustion and flameCh 6. combustion and flame
Ch 6. combustion and flame
chandkec
 
8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculture8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculture
chandkec
 
8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soils8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soils
chandkec
 
Introduction to Turbo C data types
Introduction to Turbo  C data typesIntroduction to Turbo  C data types
Introduction to Turbo C data types
chandkec
 
Computer science introduction to C programming
Computer science introduction to C programmingComputer science introduction to C programming
Computer science introduction to C programming
chandkec
 
8th computer science ch 1
8th computer science ch 18th computer science ch 1
8th computer science ch 1
chandkec
 
8th Standard, Geography: Rocks and soils 8th and soil
8th Standard, Geography: Rocks and soils 8th and soil8th Standard, Geography: Rocks and soils 8th and soil
8th Standard, Geography: Rocks and soils 8th and soil
chandkec
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squareroots
chandkec
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squareroots
chandkec
 
Ch 18. pollution
Ch 18. pollutionCh 18. pollution
Ch 18. pollution
chandkec
 
NCERT_Class 8Geography 3.minerals and power resources
NCERT_Class 8Geography 3.minerals and power resourcesNCERT_Class 8Geography 3.minerals and power resources
NCERT_Class 8Geography 3.minerals and power resources
chandkec
 
Microorganism : uses
Microorganism : usesMicroorganism : uses
Microorganism : uses
chandkec
 
Laws of exponents and Power
Laws of exponents and PowerLaws of exponents and Power
Laws of exponents and Power
chandkec
 
Exponents and powers--Part1
Exponents and powers--Part1Exponents and powers--Part1
Exponents and powers--Part1
chandkec
 

More from chandkec (20)

Class 8 Science :Conservation of plants and animals
Class 8 Science :Conservation of plants and animalsClass 8 Science :Conservation of plants and animals
Class 8 Science :Conservation of plants and animals
 
Industries
IndustriesIndustries
Industries
 
Theoritical concept of operating system
Theoritical concept of operating systemTheoritical concept of operating system
Theoritical concept of operating system
 
Operators and Conditional statements in C
Operators and Conditional statements in COperators and Conditional statements in C
Operators and Conditional statements in C
 
Computer organisation ppt
Computer organisation pptComputer organisation ppt
Computer organisation ppt
 
Do we need a parliament ?
Do we need a parliament ?Do we need a parliament ?
Do we need a parliament ?
 
Ch 6. combustion and flame
Ch 6. combustion and flameCh 6. combustion and flame
Ch 6. combustion and flame
 
8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculture8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculture
 
8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soils8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soils
 
Introduction to Turbo C data types
Introduction to Turbo  C data typesIntroduction to Turbo  C data types
Introduction to Turbo C data types
 
Computer science introduction to C programming
Computer science introduction to C programmingComputer science introduction to C programming
Computer science introduction to C programming
 
8th computer science ch 1
8th computer science ch 18th computer science ch 1
8th computer science ch 1
 
8th Standard, Geography: Rocks and soils 8th and soil
8th Standard, Geography: Rocks and soils 8th and soil8th Standard, Geography: Rocks and soils 8th and soil
8th Standard, Geography: Rocks and soils 8th and soil
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squareroots
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squareroots
 
Ch 18. pollution
Ch 18. pollutionCh 18. pollution
Ch 18. pollution
 
NCERT_Class 8Geography 3.minerals and power resources
NCERT_Class 8Geography 3.minerals and power resourcesNCERT_Class 8Geography 3.minerals and power resources
NCERT_Class 8Geography 3.minerals and power resources
 
Microorganism : uses
Microorganism : usesMicroorganism : uses
Microorganism : uses
 
Laws of exponents and Power
Laws of exponents and PowerLaws of exponents and Power
Laws of exponents and Power
 
Exponents and powers--Part1
Exponents and powers--Part1Exponents and powers--Part1
Exponents and powers--Part1
 

3 further logic concepts

  • 1. 1 Further logic concepts • NAND, NOR, XOR gates, utility of universal logic functions,Boolean expressions of NAND and NOR gate • How to derive output Boolean expression of given logic circuit. • How to construct truth table given Boolean expression • How to draw logic circuit schematic given Boolean expression. • Obtain output Boolean Expressions in SOP and POS form
  • 2. 2 Variable, Literal (in Boolean Expressions) • Variable is a symbol used to represent a logical quantity • Any variable can have a 1 or 0 value • The complement of a variable A is indicated by Ā or A’ (read as A bar) • Literal is a variable or the complement of a variable
  • 3. 3 Boolean Expressions of Basic Gates Input A B Output X= A+B 0 0 0 1 1 0 1 1 0 1 1 1 Truth table for OR gate Input A B Output X=A.B 0 0 0 1 1 0 1 1 0 0 0 1 Truth table for AND gate Input A Output X=Ā Can be written as X= A’ 0 1 1 0 Truth table for NOT gate
  • 4. 4 Boolean Addition • Boolean Addition is equivalent to the OR operation • Basic rules for Boolean Addition: 1 + 1 = 1 1 + 0 = 1 0 + 1 = 1 0 + 0 = 0 • A sum term is equal to 1 when one or more literals in the term are 1 • A sum term is equal to 0 only if each of the literals is 0
  • 5. 5 Boolean Multiplication • Boolean Multiplication is equivalent to the AND operation • Basic rules for Boolean Addition: 1.1 = 1 1.0 = 0 0.1 = 0 0.0 = 0 • A product term is equal to 1 only if each of the literals in the term is 1 • A product term is equal to 0 when one or more literals are 0
  • 6. 6 NAND Gate, NOR Gate Input A B Output Y=(A.B)’ 0 0 0 1 1 0 1 1 1 1 1 0 Truth table for NAND gate Input A B Output Y=(A+B)’ 0 0 0 1 1 0 1 1 1 0 0 0 Truth table for NOR gate
  • 7. 7 Boolean Expression of a Logic Circuit • To derive the Boolean Expression for a given logic circuit, begin at the left-most inputs and work towards the final output by writing the expression for each gate A B C Y= A.B C A.B.C A.B.C + A
  • 8. 8 Constructing Logic Circuit Given Boolean Expression • Identify the logic gates that you need from the Boolean Expressions • Connect the gates in such a manner to obtain the desired output in the given Boolean Expression CBCACABy ++=The given equation is:
  • 9. 9 Constructing Logic Circuit Given Boolean Expression (Example) • Draw the logic circuit schematic based on the below Boolean expression. ).).(( ACBBAy ++= ` A B C y ).).(( ACBBAy ++= )( BA+ ).( ACB + A B A CB.( B C
  • 10. Sum-of-Products (SOP) • Two or more product terms summed by Boolean Addition • A single bar cannot extend over more than one variable DBACBAX .... +=DBACBAX .... += ✓  • Implementation requires OR to combine the outputs of two or more AND gates
  • 11. Product-of-Sum (POS) • Two or more sum terms multiplied • A single bar cannot extend over more than one variable ✓  • Implementation requires AND to combine the outputs of two or more OR gates )).(( DBACBAX ++++=)).(( DBACBAX ++++=
  • 12. Standard SOP from Truth Table • List the binary values of the input variables for which the output is 1 • Convert each binary value to the corresponding product term by: ✓ Replacing 1 with corresponding variable ✓ Replacing 0 with corresponding variable complement • These product terms which are composed of every input variable or its complement ANDed together are known as minterms • Sum these minterms together
  • 13. Standard POS from Truth Table • List the binary values of the input variables for which the output is 0 • Convert each binary value to the corresponding sum term by: ✓ Replacing 0 with corresponding variable ✓ Replacing 1 with corresponding variable complement • These sum terms which are composed of every input variable or its complement ORed together are known as maxterms • Multiply these maxterms together
  • 14. 14 Constructing Truth Table from Boolean Expressions (Example) • Evaluate the Boolean expression for all possible combinations of values for the input variables Y = 1 when A=0, C=0, D=0, B=X (does not matter/don’t care) OR when B=1, C=1, D=0, A=X (does not matter/don’t care) OR when A=1, B=1, C=0, D=X (does not matter/don’t care) A B C D Y 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 A B C D Y DCA DBC CAB CABDBCDCAY ++=