SlideShare a Scribd company logo
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

What's hot

Non linear curve fitting
Non linear curve fitting Non linear curve fitting
Non linear curve fitting Anumita Mondal
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gatesZareenRauf1
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
Regula Falsi (False position) Method
Regula Falsi (False position) MethodRegula Falsi (False position) Method
Regula Falsi (False position) MethodIsaac Yowetu
 
Bisection method in maths 4
Bisection method in maths 4Bisection method in maths 4
Bisection method in maths 4Vaidik Trivedi
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Syed Ahmed Zaki
 
Question 3 Solution
Question 3 SolutionQuestion 3 Solution
Question 3 SolutionShinobi
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration methodshashikant pabari
 
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...mathsjournal
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rulehitarth shah
 

What's hot (20)

Non linear curve fitting
Non linear curve fitting Non linear curve fitting
Non linear curve fitting
 
Unit circle
Unit circleUnit circle
Unit circle
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
 
Exponents and Logs
Exponents and LogsExponents and Logs
Exponents and Logs
 
Es272 ch6
Es272 ch6Es272 ch6
Es272 ch6
 
Es272 ch3b
Es272 ch3bEs272 ch3b
Es272 ch3b
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
Regula Falsi (False position) Method
Regula Falsi (False position) MethodRegula Falsi (False position) Method
Regula Falsi (False position) Method
 
Bisection method in maths 4
Bisection method in maths 4Bisection method in maths 4
Bisection method in maths 4
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 
Class 2 Math I
Class 2 Math IClass 2 Math I
Class 2 Math I
 
1519 differentiation-integration-02
1519 differentiation-integration-021519 differentiation-integration-02
1519 differentiation-integration-02
 
Question 3 Solution
Question 3 SolutionQuestion 3 Solution
Question 3 Solution
 
Es272 ch1
Es272 ch1Es272 ch1
Es272 ch1
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration method
 
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
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
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 

Similar to 4 logic circuit optimisation

4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisationchandkec
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraelfeds916
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4wajanga
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxeedayaya1
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfabdnazar2003
 
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxChapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxsujenizswaranrajan
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory lkhanyz4884
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)Charlton Inao
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptxNaveenPunia5
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdfsiliconvalley6203
 
BooleanAlgebra.pptx
BooleanAlgebra.pptxBooleanAlgebra.pptx
BooleanAlgebra.pptxRKJain41
 

Similar to 4 logic circuit optimisation (20)

4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisation
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
class xi pptx-1.pptx
class xi pptx-1.pptxclass xi pptx-1.pptx
class xi pptx-1.pptx
 
PPT 1.pptx
PPT 1.pptxPPT 1.pptx
PPT 1.pptx
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
 
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptxChapter 3_Boolean Algebra _ Logic Gate (3).pptx
Chapter 3_Boolean Algebra _ Logic Gate (3).pptx
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory l
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)Pe 4030 digital logic chapter 7 (weeks 11 12)
Pe 4030 digital logic chapter 7 (weeks 11 12)
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptx
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
BooleanAlgebra.pptx
BooleanAlgebra.pptxBooleanAlgebra.pptx
BooleanAlgebra.pptx
 

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 animalschandkec
 
Industries
IndustriesIndustries
Industrieschandkec
 
Theoritical concept of operating system
Theoritical concept of operating systemTheoritical concept of operating system
Theoritical concept of operating systemchandkec
 
Operators and Conditional statements in C
Operators and Conditional statements in COperators and Conditional statements in C
Operators and Conditional statements in Cchandkec
 
Computer organisation ppt
Computer organisation pptComputer organisation ppt
Computer organisation pptchandkec
 
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 flamechandkec
 
8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculture8th standard, Geography :Ch 4. Agriculture
8th standard, Geography :Ch 4. Agriculturechandkec
 
8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soils8th Standard Geography : Rocks and Soils
8th Standard Geography : Rocks and Soilschandkec
 
Introduction to Turbo C data types
Introduction to Turbo  C data typesIntroduction to Turbo  C data types
Introduction to Turbo C data typeschandkec
 
Computer science introduction to C programming
Computer science introduction to C programmingComputer science introduction to C programming
Computer science introduction to C programmingchandkec
 
8th computer science ch 1
8th computer science ch 18th computer science ch 1
8th computer science ch 1chandkec
 
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 soilchandkec
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squarerootschandkec
 
Ch 6. square and squareroots
Ch 6. square and squarerootsCh 6. square and squareroots
Ch 6. square and squarerootschandkec
 
Ch 18. pollution
Ch 18. pollutionCh 18. pollution
Ch 18. pollutionchandkec
 
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 resourceschandkec
 
Microorganism : uses
Microorganism : usesMicroorganism : uses
Microorganism : useschandkec
 
Laws of exponents and Power
Laws of exponents and PowerLaws of exponents and Power
Laws of exponents and Powerchandkec
 
Exponents and powers--Part1
Exponents and powers--Part1Exponents and powers--Part1
Exponents and powers--Part1chandkec
 

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
 

Recently uploaded

一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理eemet
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...Amil baba
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxArjunJain44
 
Memory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyMemory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyAhmed Abdelazeem
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理kywwoyk
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理kywwoyk
 

Recently uploaded (6)

一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptx
 
Memory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyMemory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technology
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
 

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