SlideShare a Scribd company logo
Boolean Analysis of Logic
Circuits
Consider the following logic circuit
Determine the Boolean expression for the circuit
Construct the Truth Table for the circuit

IS 151 Digital Circuitry

1
Boolean Analysis of Logic
Circuits
• Boolean expression:
– Assume output is X, then
• X = A(B + CD)

• The truth table
– Truth table shows the output of the logic
circuit for all possible values of the input
variables
– Input variables are: A, B, C and D
IS 151 Digital Circuitry

2
Boolean Analysis of Logic
Circuits – Truth Table
Inputs

Output

A

B

C

D

A(B + CD)

0

0

0

0

0

0

0

0

1

0

0

0

1

0

0

0

0

1

1

0

0

1

0

0

0

0

1

0

1

0

0

1

1

0

0

0

1

1

1

0

1

0

0

0

0

1

0

0

1

0

1

0

1

0

0

1

0

1

1

1

1

1

0

0

1

1

1

0

1

1

1

1

1

0

1

1

1

1

1

1

Find the values of the variables that make the
expression equal to 1

• A(B + CD) = 1 only if A = 1 and (B + CD) = 1
• Determine when B + CD = 1
• B + CD = 1 if either B = 1 or CD = 1, or both
B and CD = 1
• CD = 1 only if C = 1 and D = 1
• Therefore, A(B + CD) = 1 when either:
• A = 1 and B = 1 regardless of values of C and
D, or
• A = 1, C = 1 and D = 1 regardless of the value
of B
IS 151 Digital Circuitry

3
Boolean Analysis of Logic
Circuits – Truth Table
• Truth Table – Summary:
– A(B + CD) = AB + ACD
• Determine when AB + ACD = 1
– AB = 1 only when A = 1 AND B = 1 (regardless of C and
D)  Condition 1
– ACD = 1 only when A = 1, C = 1, AND D = 1, (regardless
of B)  Condition 2

• Wherever A = 1 AND B = 1, put a 1
• Wherever A = 1, C = 1 and D = 1, put a 1
• Otherwise put a 0
IS 151 Digital Circuitry

4
Boolean Analysis of Logic
Circuits - Exercise
• In the previous example, replace AND
gates with OR gates and OR gates with
AND gates and :
– Determine the Boolean expression for the
output
– Construct a truth table for the circuit

IS 151 Digital Circuitry

5
Standard Forms of Boolean
Expressions
• All Boolean expressions can be converted
into
– The Sum-of-Products form (SoP)
– The Product-of-Sum form (PoS)

IS 151 Digital Circuitry

6
Standard Forms of Boolean
Expressions
• The Sum-of-Products form
– When two or more terms are summed by Boolean
addition, the resulting expression is a Sum-ofProducts (SOP)
– Examples:
• AB + ABC
• ABC + CDE + B’CD’
• A’B + A’BC’ + AC

– In an SOP expression, a single over bar cannot
extend over more than one variable
• E.g. (ABC)’ – need to be simplified
• A’B’C – already simplified
IS 151 Digital Circuitry

7
Standard Forms of Boolean
Expressions
• The Sum-of-Products form – example
– AB + BCD + AC – show the expression
diagrammatically

IS 151 Digital Circuitry

8
Standard Forms of Boolean
Expressions
• Converting a general expression to SOP form
– E.g. A(B + CD) = AB + ACD

• Exercise: Convert the following into SOP form
1. AB + B(CD + EF)
= AB + BCD + BEF

2. (A + B)(B + C + D)
= AB + AC + AD + BB + BC + BD
3. ((A + B)’ + C)’
= (A + B)’’.C’
= (A + B).C’
= AC’ + BC’
IS 151 Digital Circuitry

9
Standard Forms of Boolean
Expressions
• The Product-of-Sum form:
– When two or more sum terms are multiplied,
the resulting expression is a Product-of-Sum
(POS).
– Examples:
• (A’ + B)(A + B’ + C)
• (A’ + B’ + C’)(C + D’ E)(B’ + C + D)

IS 151 Digital Circuitry

10
Standard Forms of Boolean
Expressions
• The Product-of-Sum form – example
– (A + B)(B + C + D)(A + C) - show the
expression diagrammatically

IS 151 Digital Circuitry

11
• End of lecture

IS 151 Digital Circuitry

12

More Related Content

What's hot (10)

Đề Thi HK2 Toán 7 - THCS Nguyễn Du
Đề Thi HK2 Toán 7 - THCS Nguyễn DuĐề Thi HK2 Toán 7 - THCS Nguyễn Du
Đề Thi HK2 Toán 7 - THCS Nguyễn Du
 
Admissions in india 2015
Admissions in india 2015Admissions in india 2015
Admissions in india 2015
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
Honorspart3
Honorspart3Honorspart3
Honorspart3
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Adder
 
IBA math formula
IBA math formulaIBA math formula
IBA math formula
 
10.5 Circles in the Coordinate Plane
10.5 Circles in the Coordinate Plane10.5 Circles in the Coordinate Plane
10.5 Circles in the Coordinate Plane
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
 
04 comb ex
04 comb ex04 comb ex
04 comb ex
 

Similar to IS 151 Lecture 5

Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
Qundeel
 

Similar to IS 151 Lecture 5 (20)

IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
IS 151 Lecture 7
IS 151 Lecture 7IS 151 Lecture 7
IS 151 Lecture 7
 
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
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
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)
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 
Digital logic design lecture 07
Digital logic design   lecture 07 Digital logic design   lecture 07
Digital logic design lecture 07
 
PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 

More from wajanga (20)

IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
 
IS 151 lecture 2
IS 151   lecture 2IS 151   lecture 2
IS 151 lecture 2
 

Recently uploaded

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 

IS 151 Lecture 5

  • 1. Boolean Analysis of Logic Circuits Consider the following logic circuit Determine the Boolean expression for the circuit Construct the Truth Table for the circuit IS 151 Digital Circuitry 1
  • 2. Boolean Analysis of Logic Circuits • Boolean expression: – Assume output is X, then • X = A(B + CD) • The truth table – Truth table shows the output of the logic circuit for all possible values of the input variables – Input variables are: A, B, C and D IS 151 Digital Circuitry 2
  • 3. Boolean Analysis of Logic Circuits – Truth Table Inputs Output A B C D A(B + CD) 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 Find the values of the variables that make the expression equal to 1 • A(B + CD) = 1 only if A = 1 and (B + CD) = 1 • Determine when B + CD = 1 • B + CD = 1 if either B = 1 or CD = 1, or both B and CD = 1 • CD = 1 only if C = 1 and D = 1 • Therefore, A(B + CD) = 1 when either: • A = 1 and B = 1 regardless of values of C and D, or • A = 1, C = 1 and D = 1 regardless of the value of B IS 151 Digital Circuitry 3
  • 4. Boolean Analysis of Logic Circuits – Truth Table • Truth Table – Summary: – A(B + CD) = AB + ACD • Determine when AB + ACD = 1 – AB = 1 only when A = 1 AND B = 1 (regardless of C and D)  Condition 1 – ACD = 1 only when A = 1, C = 1, AND D = 1, (regardless of B)  Condition 2 • Wherever A = 1 AND B = 1, put a 1 • Wherever A = 1, C = 1 and D = 1, put a 1 • Otherwise put a 0 IS 151 Digital Circuitry 4
  • 5. Boolean Analysis of Logic Circuits - Exercise • In the previous example, replace AND gates with OR gates and OR gates with AND gates and : – Determine the Boolean expression for the output – Construct a truth table for the circuit IS 151 Digital Circuitry 5
  • 6. Standard Forms of Boolean Expressions • All Boolean expressions can be converted into – The Sum-of-Products form (SoP) – The Product-of-Sum form (PoS) IS 151 Digital Circuitry 6
  • 7. Standard Forms of Boolean Expressions • The Sum-of-Products form – When two or more terms are summed by Boolean addition, the resulting expression is a Sum-ofProducts (SOP) – Examples: • AB + ABC • ABC + CDE + B’CD’ • A’B + A’BC’ + AC – In an SOP expression, a single over bar cannot extend over more than one variable • E.g. (ABC)’ – need to be simplified • A’B’C – already simplified IS 151 Digital Circuitry 7
  • 8. Standard Forms of Boolean Expressions • The Sum-of-Products form – example – AB + BCD + AC – show the expression diagrammatically IS 151 Digital Circuitry 8
  • 9. Standard Forms of Boolean Expressions • Converting a general expression to SOP form – E.g. A(B + CD) = AB + ACD • Exercise: Convert the following into SOP form 1. AB + B(CD + EF) = AB + BCD + BEF 2. (A + B)(B + C + D) = AB + AC + AD + BB + BC + BD 3. ((A + B)’ + C)’ = (A + B)’’.C’ = (A + B).C’ = AC’ + BC’ IS 151 Digital Circuitry 9
  • 10. Standard Forms of Boolean Expressions • The Product-of-Sum form: – When two or more sum terms are multiplied, the resulting expression is a Product-of-Sum (POS). – Examples: • (A’ + B)(A + B’ + C) • (A’ + B’ + C’)(C + D’ E)(B’ + C + D) IS 151 Digital Circuitry 10
  • 11. Standard Forms of Boolean Expressions • The Product-of-Sum form – example – (A + B)(B + C + D)(A + C) - show the expression diagrammatically IS 151 Digital Circuitry 11
  • 12. • End of lecture IS 151 Digital Circuitry 12