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

PPT
boolean algrebra and logic gates in short
PPTX
Chapter 4. logic function and boolean algebra
PPT
Introduction to Boolean Algebra
PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
PPT
Digital systems logicgates-booleanalgebra
PDF
Chapter 02 Logic Functions and Gates
PPT
Digital logic gates and Boolean algebra
PPTX
B sc cs i bo-de u-ii logic gates
boolean algrebra and logic gates in short
Chapter 4. logic function and boolean algebra
Introduction to Boolean Algebra
BOOLEAN ALGEBRA AND LOGIC GATE
Digital systems logicgates-booleanalgebra
Chapter 02 Logic Functions and Gates
Digital logic gates and Boolean algebra
B sc cs i bo-de u-ii logic gates

What's hot (20)

PPT
Chapter 2 Boolean Algebra (part 2)
PPTX
Quiz on Logic Gate
PPTX
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PPTX
PST SC015 Chapter 2 Computer System (III) 2017/2018
PPT
13 Boolean Algebra
PPT
Logic gates (2)
PPT
9. logic gates._rr
PPTX
Digital logic Gates of Computer Science
PPT
Introduction to logic gate
PPT
Logic gates presentation
PPT
Logic Gates
PPT
Boolean functions
PPTX
Boolean algebra
PPTX
Logic gates for seminar purpose and easy to understand
PPTX
7 realization of logic function using logic gates (1)
PPT
Ch4 Boolean Algebra And Logic Simplication1
PPTX
Boolean+logic
PPTX
Logic gates and logic circuits
PPT
Digital 1
Chapter 2 Boolean Algebra (part 2)
Quiz on Logic Gate
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PST SC015 Chapter 2 Computer System (III) 2017/2018
13 Boolean Algebra
Logic gates (2)
9. logic gates._rr
Digital logic Gates of Computer Science
Introduction to logic gate
Logic gates presentation
Logic Gates
Boolean functions
Boolean algebra
Logic gates for seminar purpose and easy to understand
7 realization of logic function using logic gates (1)
Ch4 Boolean Algebra And Logic Simplication1
Boolean+logic
Logic gates and logic circuits
Digital 1
Ad

Similar to 3 further logic concepts (20)

PPT
booleanalgebra-140914001141-phpapp01 (1).ppt
PDF
Lect 2 boolean algebra (4 5-21)
PDF
Simplification of Circuits.pdf
PDF
Boolean Algebra
PPTX
chapter3.pptx electrical engineering for university
PPTX
combinational _logic_circuit_digital.pptx
PDF
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
PDF
Digital electronics logic design complete notes.pdf
PDF
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
PPTX
LESSON 2_EVALUATING LOGIC GATES (ELG).pptx
PPT
PPT
IS 139 Lecture 3 - 2015
PPT
IS 139 Lecture 3
PDF
Lecture 03 Logic gate and boolean algebra.pdf
PPT
14 Lec11 2003
PPT
unit-2_logic_gates_functions.ppt
PPTX
Introduction to digital logic
PPT
Boolean Algebra
PPT
5. ch-5 Logic Gates in Computer Science.ppt
PDF
DLD Chapter-2.pdf
booleanalgebra-140914001141-phpapp01 (1).ppt
Lect 2 boolean algebra (4 5-21)
Simplification of Circuits.pdf
Boolean Algebra
chapter3.pptx electrical engineering for university
combinational _logic_circuit_digital.pptx
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Digital electronics logic design complete notes.pdf
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
LESSON 2_EVALUATING LOGIC GATES (ELG).pptx
IS 139 Lecture 3 - 2015
IS 139 Lecture 3
Lecture 03 Logic gate and boolean algebra.pdf
14 Lec11 2003
unit-2_logic_gates_functions.ppt
Introduction to digital logic
Boolean Algebra
5. ch-5 Logic Gates in Computer Science.ppt
DLD Chapter-2.pdf
Ad

More from chandkec (20)

PPTX
Class 8 Science :Conservation of plants and animals
PPTX
Industries
PPTX
Theoritical concept of operating system
PPTX
Operators and Conditional statements in C
PPTX
Computer organisation ppt
PPTX
Do we need a parliament ?
PPTX
Ch 6. combustion and flame
PPTX
8th standard, Geography :Ch 4. Agriculture
PPTX
8th Standard Geography : Rocks and Soils
PPTX
Introduction to Turbo C data types
PPTX
Computer science introduction to C programming
PPTX
8th computer science ch 1
PPTX
8th Standard, Geography: Rocks and soils 8th and soil
PPTX
Ch 6. square and squareroots
PDF
Ch 6. square and squareroots
PDF
Ch 18. pollution
PPTX
NCERT_Class 8Geography 3.minerals and power resources
PPTX
Microorganism : uses
PPTX
Laws of exponents and Power
PPTX
Exponents and powers--Part1
Class 8 Science :Conservation of plants and animals
Industries
Theoritical concept of operating system
Operators and Conditional statements in C
Computer organisation ppt
Do we need a parliament ?
Ch 6. combustion and flame
8th standard, Geography :Ch 4. Agriculture
8th Standard Geography : Rocks and Soils
Introduction to Turbo C data types
Computer science introduction to C programming
8th computer science ch 1
8th Standard, Geography: Rocks and soils 8th and soil
Ch 6. square and squareroots
Ch 6. square and squareroots
Ch 18. pollution
NCERT_Class 8Geography 3.minerals and power resources
Microorganism : uses
Laws of exponents and Power
Exponents and powers--Part1

Recently uploaded (20)

PPTX
Embeded System for Artificial intelligence 2.pptx
PDF
Cableado de Controladores Logicos Programables
PDF
PPT Determiners.pdf.......................
PPTX
making presentation that do no stick.pptx
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PPTX
Computers and mobile device: Evaluating options for home and work
PDF
Smarter Security: How Door Access Control Works with Alarms & CCTV
PDF
Prescription1 which to be used for periodo
PPTX
Embedded for Artificial Intelligence 1.pptx
PPTX
title _yeOPC_Poisoning_Presentation.pptx
PPTX
"Fundamentals of Digital Image Processing: A Visual Approach"
PPTX
Syllabus Computer Six class curriculum s
PPTX
Fundamentals of Computer.pptx Computer BSC
PPTX
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
PPT
Hypersensitivity Namisha1111111111-WPS.ppt
PPTX
Operating System Processes_Scheduler OSS
PPTX
code of ethics.pptxdvhwbssssSAssscasascc
PPTX
Lecture-3-Computer-programming for BS InfoTech
PPTX
Wireless and Mobile Backhaul Market.pptx
PPTX
Lecture 3b C Library _ ESP32.pptxjfjfjffkkfkfk
Embeded System for Artificial intelligence 2.pptx
Cableado de Controladores Logicos Programables
PPT Determiners.pdf.......................
making presentation that do no stick.pptx
Dynamic Checkweighers and Automatic Weighing Machine Solutions
Computers and mobile device: Evaluating options for home and work
Smarter Security: How Door Access Control Works with Alarms & CCTV
Prescription1 which to be used for periodo
Embedded for Artificial Intelligence 1.pptx
title _yeOPC_Poisoning_Presentation.pptx
"Fundamentals of Digital Image Processing: A Visual Approach"
Syllabus Computer Six class curriculum s
Fundamentals of Computer.pptx Computer BSC
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
Hypersensitivity Namisha1111111111-WPS.ppt
Operating System Processes_Scheduler OSS
code of ethics.pptxdvhwbssssSAssscasascc
Lecture-3-Computer-programming for BS InfoTech
Wireless and Mobile Backhaul Market.pptx
Lecture 3b C Library _ ESP32.pptxjfjfjffkkfkfk

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 ++=