4
Most read
5
Most read
14
Most read
School of Engineering
Logic circuit optimisation
• Further Boolean algebra, de Morgan’s
theorem
• Karnaugh maps with up to four variables
• Simplification and optimisation of circuits
using these techniques
3
Simplification of Logic Circuits using
Boolean Algebra
• Need to apply the laws, rules and theorems
of Boolean Algebra to simplify Boolean
Expressions
• Simplification means fewer gates for the
same logic functions
• If equivalent logic function may be achieved
with fewer components, the result will be
increased reliability and decreased cost of
manufacture
5
Rules of Boolean Algebra
AND Operator OR Operator
A.0  0 A + 0  A
A.1  A A + 1  1
A.A  A A + A  A
Note that the rules for OR operator can be obtained from AND operator
by changing the operator, and inverting the logic values (vice versa)
=> Duality of Boolean Algebra
1AA =+0A.A =
8
Rules of Boolean Algebra
Rule Prove ( For your information only)
The double complement of a variable is always equal to
the variable.
A + AB = A
A + AB = A (1 + B) [ Distributive Law ]
= A.1 [ Rule 2: (1 + B) = 1 ]
= A [ Rule 4: A.1 = A ]
(A + B)(A + C) = A + BC
(A + B)(A + C) = AA + AC + AB + BC [Distributive Law]
= A + AC + AB + BC [Rule 7: AA = A]
= A (1 + C) + AB + BC [Rule 2: 1 + C = 1]
= A.1 + AB + BC Factoring
= A (1 + B) + BC [Rule 2: 1 + B = 1]
= A.1 + BC [Rule 4: A.1 = A]
= A + BC
9
DeMorgan’s Theorem 1
x
y
x+y
x
y
x
y
x . y = x+y
x . y
Input
x y
0 0
0 1
1 0
1 1
0
1
1
1
1
0
0
0
1
1
0
0
1
0
1
0
1
0
0
0
Notice the third and the last column are the same
verifying DeMorgan’s Theorem 1
Y.XYX =+
YX + YX + X Y Y.X
10
DeMorgan’s Theorem 2
Input
x y X.Y
0 0
0 1
1 0
1
0
0
0
1
1
1
1
0
1
1
0
0
1
0
1
0
1
1
1
0
Notice the third and the last column are the
same verifying DeMorgan’s Theorem 2
x
y
xy
x
y
x
y
x +y = x.y
x +y
YXY.X +=
Y.X X Y
11
Example [1] – De Morgan’s
BA+
).( ZYX +
= (A’ + B’)’
= [(A’)’.(B’)’]
= A.B
= (X.Y’ + Z)’
= (X.Y’)’.Z’
= (X’+Y).Z’
= X’.Z’ + Y.Z’
12
Example [2] –De Morgan’s
ZYX ++
).).(.( CBACBA ++
= (X’+Y’)’. (Z’)’
= [(X’)’,(Y’)’]. (Z)
= [X.Y]. Z
= X.Y.Z
= (A.B’+C)’ + (A+BC)’
= (AB’)’C’ + A’(BC)’
= (A’+B)C’ + A’(B’+C’)
= A’C’ + BC’ + A’B’ + A’C’
= A’C’ + BC’ + A’B’
Implementation Example:
Using Basic Logic Gates
• X = A.B + C.D
A
B
C
D
X
• A straight-forward method would be to use two
AND gates from a 7408 IC and one OR gate
from a 7432 IC
Implementation Example:
Using only NAND gates
A
B
C
D
X
A
B
C
D
X
redundant
A
B
C
D
X
This solution only
uses three NAND
gates from one 7400
IC
=> Saves PCB area,
component costs and
power consumption!!
In an alarm system, the alarm will sound off
(Output X = 1) as long as security areas “B”
and “C” are breached. Inputs A, B, C
represents the 3 security areas, with logic 1
representing that the security is breached.
1) Draw the truth table for this logic function
with 3 inputs and 1 output.
2) Design the logic circuit
Inputs Output
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
Inputs Output
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
Truth Table for the alarm system
Design of Alarm system
Canonical/Standard SOP Expression:
Canonical/Standard POS Expression:
It can be
shown using
Boolean
Algebra that
these 2
expressions
are equivalent.
Try it yourself
!!☺
Inputs Output
Minterm Maxterm
A B C X
0 0 0 0 A+B+C
0 0 1 0 A+B+C’
0 1 0 0 A+B’+C
0 1 1 1 A’.B.C
1 0 0 0 A’+B+C
1 0 1 1 A.B’.C
1 1 0 1 A.B.C’
1 1 1 1 A.B.C
Alarm will sound off (Output X = 1) when at least 2 out of 3 security areas are
breached.
C.B.AC.B.AC.B.AC.B.AX +++=
).CBA).(CBA).(CBA).(CBA(X ++++++++=
Design of Alarm system
Simplified SOP expression:
Universal of NAND gates to implement the alarm circuit.
C.AC.BB.AX ++=
B
A
B
C
C
A
X
B
A
B
C
C
A
X
Universal of NAND gates

More Related Content

PPT
Boolean functions
PPTX
SOP POS, Minterm and Maxterm
PPT
Boolean Algebra
PPTX
Presentation on application of numerical method in our life
PDF
Romberg’s method
PPT
MATLAB : Numerical Differention and Integration
PPT
21 simpson's rule
PDF
Chapter 03 Boolean Algebra and Combinational Logic
Boolean functions
SOP POS, Minterm and Maxterm
Boolean Algebra
Presentation on application of numerical method in our life
Romberg’s method
MATLAB : Numerical Differention and Integration
21 simpson's rule
Chapter 03 Boolean Algebra and Combinational Logic

What's hot (20)

PPTX
Non linear curve fitting
PPT
Unit circle
PPT
Boolean algebra and logic gates
PPT
Exponents and Logs
PPTX
PPTX
PPT
Numerical integration
PPT
Boolean algebra And Logic Gates
PDF
Applied numerical methods lec10
PDF
Regula Falsi (False position) Method
PPT
Bisection method in maths 4
PPTX
Presentation on Numerical Method (Trapezoidal Method)
PPTX
Class 2 Math I
PPT
1519 differentiation-integration-02
PPT
Question 3 Solution
PPTX
PPTX
Newton cotes integration method
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PPTX
trapezoidal and simpson's 1/3 and 3/8 rule
PPT
Boolean algebra
Non linear curve fitting
Unit circle
Boolean algebra and logic gates
Exponents and Logs
Numerical integration
Boolean algebra And Logic Gates
Applied numerical methods lec10
Regula Falsi (False position) Method
Bisection method in maths 4
Presentation on Numerical Method (Trapezoidal Method)
Class 2 Math I
1519 differentiation-integration-02
Question 3 Solution
Newton cotes integration method
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
trapezoidal and simpson's 1/3 and 3/8 rule
Boolean algebra
Ad

Similar to 4 logic circuit optimisation (20)

PPT
4 logic circuit optimisation
PPT
Digital systems logicgates-booleanalgebra
PPT
boolean algebra and logic simplification
PPT
5. Combinational Circuits_P1 lecturee of dld
PPTX
class xi pptx-1.pptx
PPTX
PPT 1.pptx
PPT
9402730.ppt
PPTX
IS 151 lecture 4
PPTX
NOTA TOPIK 2_SSK20152 (3).pptx
PDF
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
PDF
Unit-2 ppt.pdf introduction to it technology
PPTX
2A. Boolean Algebra presentation (2).pptx
PPTX
2A. Boolean Algebra presentation (2).pptx
PPTX
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
PPT
Minimizing boolean
PPT
Minimizing boolean
PPTX
Fundamentals of Digital Design_Class_12th April.pptx
PDF
K-map Digital Logic Design DLD Theory l
PPT
booleanalgebra-140914001141-phpapp01 (1).ppt
PDF
Lect 2 boolean algebra (4 5-21)
4 logic circuit optimisation
Digital systems logicgates-booleanalgebra
boolean algebra and logic simplification
5. Combinational Circuits_P1 lecturee of dld
class xi pptx-1.pptx
PPT 1.pptx
9402730.ppt
IS 151 lecture 4
NOTA TOPIK 2_SSK20152 (3).pptx
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Unit-2 ppt.pdf introduction to it technology
2A. Boolean Algebra presentation (2).pptx
2A. Boolean Algebra presentation (2).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
Minimizing boolean
Minimizing boolean
Fundamentals of Digital Design_Class_12th April.pptx
K-map Digital Logic Design DLD Theory l
booleanalgebra-140914001141-phpapp01 (1).ppt
Lect 2 boolean algebra (4 5-21)
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
Magnesium_and_Phosphorus_Presentation.pptx
PPSX
Presentatiohdhdhdhdhdhfhfbfhrrbrurbrurbn.ppsx
PPTX
Presentation societal project DEEPIKA T.pptx
DOCX
EKG reading for serious individuals. Where are you?
PPT
Soldering technics Aerospace electronic assembly
PPTX
ppt to the world finance to the world in growing
PDF
Instit16health2.pdfghujjjgjkkggikjhgghhhjj
PPT
COA______________₹₹_₹₹33₹₹₹33₹₹₹3UNIT1V8.ppt
PPT
Access List. Configuration of Layer three Router Access List
PPTX
Malnutrition_Presentation_Revised.pptxhwjsjjsjs
PPTX
F&B 5th Semester exam Class Notes (2).pptx
PPTX
加拿大埃德蒙顿康考迪亚大学毕业证书{CUE海牙认证CUE成绩单防伪}100%复刻
PPTX
美国乔治华盛顿大学硕士毕业证{GWU毕业完成信GWU成绩单}如何办理学历认证
PPT
The process of making an electrical connection by melting low-temperature met...
PPTX
UAV WHAT MINERAL ARE REQUIRED FOR MAKING OF UAV
PDF
Research_on_Rail_Pressure_Control_of_High-Pressure.pdf
PPTX
Unit-5 .pptx sem 3 electrical circuits and machines
PPTX
Purple Pink Gradient Modern Metaverse Presentation_20250817_191428_0000.pptx
PPTX
Operating_Systems_Presentation_With_Icons (1).pptx
PPTX
SAI-CAO-24CSEN2021-PPT-UNIT-------1.pptx
Magnesium_and_Phosphorus_Presentation.pptx
Presentatiohdhdhdhdhdhfhfbfhrrbrurbrurbn.ppsx
Presentation societal project DEEPIKA T.pptx
EKG reading for serious individuals. Where are you?
Soldering technics Aerospace electronic assembly
ppt to the world finance to the world in growing
Instit16health2.pdfghujjjgjkkggikjhgghhhjj
COA______________₹₹_₹₹33₹₹₹33₹₹₹3UNIT1V8.ppt
Access List. Configuration of Layer three Router Access List
Malnutrition_Presentation_Revised.pptxhwjsjjsjs
F&B 5th Semester exam Class Notes (2).pptx
加拿大埃德蒙顿康考迪亚大学毕业证书{CUE海牙认证CUE成绩单防伪}100%复刻
美国乔治华盛顿大学硕士毕业证{GWU毕业完成信GWU成绩单}如何办理学历认证
The process of making an electrical connection by melting low-temperature met...
UAV WHAT MINERAL ARE REQUIRED FOR MAKING OF UAV
Research_on_Rail_Pressure_Control_of_High-Pressure.pdf
Unit-5 .pptx sem 3 electrical circuits and machines
Purple Pink Gradient Modern Metaverse Presentation_20250817_191428_0000.pptx
Operating_Systems_Presentation_With_Icons (1).pptx
SAI-CAO-24CSEN2021-PPT-UNIT-------1.pptx

4 logic circuit optimisation

  • 1. School of Engineering Logic circuit optimisation
  • 2. • Further Boolean algebra, de Morgan’s theorem • Karnaugh maps with up to four variables • Simplification and optimisation of circuits using these techniques
  • 3. 3 Simplification of Logic Circuits using Boolean Algebra • Need to apply the laws, rules and theorems of Boolean Algebra to simplify Boolean Expressions • Simplification means fewer gates for the same logic functions • If equivalent logic function may be achieved with fewer components, the result will be increased reliability and decreased cost of manufacture
  • 4. 5 Rules of Boolean Algebra AND Operator OR Operator A.0  0 A + 0  A A.1  A A + 1  1 A.A  A A + A  A Note that the rules for OR operator can be obtained from AND operator by changing the operator, and inverting the logic values (vice versa) => Duality of Boolean Algebra 1AA =+0A.A =
  • 5. 8 Rules of Boolean Algebra Rule Prove ( For your information only) The double complement of a variable is always equal to the variable. A + AB = A A + AB = A (1 + B) [ Distributive Law ] = A.1 [ Rule 2: (1 + B) = 1 ] = A [ Rule 4: A.1 = A ] (A + B)(A + C) = A + BC (A + B)(A + C) = AA + AC + AB + BC [Distributive Law] = A + AC + AB + BC [Rule 7: AA = A] = A (1 + C) + AB + BC [Rule 2: 1 + C = 1] = A.1 + AB + BC Factoring = A (1 + B) + BC [Rule 2: 1 + B = 1] = A.1 + BC [Rule 4: A.1 = A] = A + BC
  • 6. 9 DeMorgan’s Theorem 1 x y x+y x y x y x . y = x+y x . y Input x y 0 0 0 1 1 0 1 1 0 1 1 1 1 0 0 0 1 1 0 0 1 0 1 0 1 0 0 0 Notice the third and the last column are the same verifying DeMorgan’s Theorem 1 Y.XYX =+ YX + YX + X Y Y.X
  • 7. 10 DeMorgan’s Theorem 2 Input x y X.Y 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 1 1 0 Notice the third and the last column are the same verifying DeMorgan’s Theorem 2 x y xy x y x y x +y = x.y x +y YXY.X += Y.X X Y
  • 8. 11 Example [1] – De Morgan’s BA+ ).( ZYX + = (A’ + B’)’ = [(A’)’.(B’)’] = A.B = (X.Y’ + Z)’ = (X.Y’)’.Z’ = (X’+Y).Z’ = X’.Z’ + Y.Z’
  • 9. 12 Example [2] –De Morgan’s ZYX ++ ).).(.( CBACBA ++ = (X’+Y’)’. (Z’)’ = [(X’)’,(Y’)’]. (Z) = [X.Y]. Z = X.Y.Z = (A.B’+C)’ + (A+BC)’ = (AB’)’C’ + A’(BC)’ = (A’+B)C’ + A’(B’+C’) = A’C’ + BC’ + A’B’ + A’C’ = A’C’ + BC’ + A’B’
  • 10. Implementation Example: Using Basic Logic Gates • X = A.B + C.D A B C D X • A straight-forward method would be to use two AND gates from a 7408 IC and one OR gate from a 7432 IC
  • 11. Implementation Example: Using only NAND gates A B C D X A B C D X redundant A B C D X This solution only uses three NAND gates from one 7400 IC => Saves PCB area, component costs and power consumption!!
  • 12. In an alarm system, the alarm will sound off (Output X = 1) as long as security areas “B” and “C” are breached. Inputs A, B, C represents the 3 security areas, with logic 1 representing that the security is breached. 1) Draw the truth table for this logic function with 3 inputs and 1 output. 2) Design the logic circuit
  • 13. Inputs Output A B C X 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 Inputs Output A B C X 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 Truth Table for the alarm system
  • 14. Design of Alarm system Canonical/Standard SOP Expression: Canonical/Standard POS Expression: It can be shown using Boolean Algebra that these 2 expressions are equivalent. Try it yourself !!☺ Inputs Output Minterm Maxterm A B C X 0 0 0 0 A+B+C 0 0 1 0 A+B+C’ 0 1 0 0 A+B’+C 0 1 1 1 A’.B.C 1 0 0 0 A’+B+C 1 0 1 1 A.B’.C 1 1 0 1 A.B.C’ 1 1 1 1 A.B.C Alarm will sound off (Output X = 1) when at least 2 out of 3 security areas are breached. C.B.AC.B.AC.B.AC.B.AX +++= ).CBA).(CBA).(CBA).(CBA(X ++++++++=
  • 15. Design of Alarm system Simplified SOP expression: Universal of NAND gates to implement the alarm circuit. C.AC.BB.AX ++= B A B C C A X B A B C C A X Universal of NAND gates