SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Logic equation simplification. Digital Logic and Software Applications © University of Wales Newport 2009 This work is licensed under a  Creative Commons Attribution 2.0 License .
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Equation Simplification
[object Object],[object Object],We have 3 combinations which generate an output:  We know that this can be written as: but how do we get from the first equation to the second? A B Y 0 0 0 0 1 1 1 0 1 1 1 1
[object Object],[object Object],1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Equation Simplification
2. Karnaugh Maps ,[object Object],Logic Equation Simplification
[object Object],[object Object],1 1 1 0 1 1 0 0 0 0 Y 1 0 B  A Y B A The top left square is where A = 0 and where B = 0 and so the value of Y for A = 0 and B = 0 would be placed in here. Each entry in the Truth Table has one square in the Karnaugh Map. Logic Equation Simplification
[object Object],[object Object],[object Object],Logic Equation Simplification
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Equation Simplification
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],Logic Equation Simplification
Example ,[object Object],Logic Equation Simplification A B Y B  A 0 1 Y 0 0 0 0 1 1 0 1 1 1
1 1 1 1 1 0 1 0 1 0 0 1 0 0 Y 1 0 B  A Y B A Logic Equation Simplification
1 1 1 1 1 1 0 1 0 1 0 1 1 0 1 0 0 Y 1 0 B  A Y B A STEP 1 Logic Equation Simplification
STEP 2 Logic Equation Simplification A B Y B  A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
STEP 3 A always 1 so A B 1 and 0 so no B Expression   A 1 and 0 so no A B always 0 so not B Expression  Logic Equation Simplification A B Y B  A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
STEP 4 Complete expression:  Logic Equation Simplification A B Y B  A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
[object Object],[object Object],0 1 1 1 0 1 1 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 Y 0 1 1 0 C  B 0 0 0 1 1 0 0 A Y C B A Logic Equation Simplification
[object Object],[object Object],Logic Equation Simplification
Example A function F has the truth table shown below. Determine the simplest Boolean Expression for the function. Logic Equation Simplification A B C F A 0 0 1 1 0 0 0 1 C  B 0 1 1 0 F 0 0 1 0 0 0 1 0 0 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1
1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C  B 1 0 0 0 1 1 0 0 A F C B A Logic Equation Simplification
1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C  B 1 0 0 0 1 1 0 0 A F C B A Logic Equation Simplification
1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C  B 1 0 0 0 1 1 0 0 A F C B A A always 1 so A B 1 and 0 so no B C 1 and 0 so no C Expression   A 1 and 0 so no A B always 1 so B C always 1 so C Expression   A 1 and 0 so no A B always 0 so not B C always 0 so not C Expression
1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C  B 1 0 0 0 1 1 0 0 A F C B A Complete expression   Logic Equation Simplification
Example Three judges A, B and C vote: 1 guilty and 0 not guilty. Design a logic circuit using NAND only which will allow a majority decision (F) to be found. e.g. A = 1, B = 0, C = 0 gives an output of 0 (not guilty) Logic Equation Simplification A B C F A 0 0 1 1 0 0 0 C  B 0 1 1 0 F 0 0 1 0 0 1 0 0 1 1 1 1 0 0 1 0 1 1 1 0 1 1 1
4-input Karnaugh Map This has 16 entries on the Truth Table and so the Karnaugh Map has 16 squares Logic Equation Simplification A B C D Y A 0 0 1 1 0 0 0 0 C D  B 0 1 1 0 Y 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1
1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 0 0 0 Y 0 1 1 0 C D  B 0 0 0 0 1 1 0 0 A Y D C B A Note there is one additional rule for grouping 1’s on this map and larger maps: Rule: 1’s may be grouped between the top row and the bottom row. Logic Equation Simplification
[object Object],[object Object],Logic Equation Simplification
1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D  B 0 0 0 0 0 1 1 0 0 A Y D C B A Logic Equation Simplification
1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D  B 0 0 0 0 0 1 1 0 0 A Y D C B A Now form groups Logic Equation Simplification
1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D  B 0 0 0 0 0 1 1 0 0 A Y D C B A Identify groups A always 1 so A B 1 and 0 so no B C always 1 so C D 1 and 0 so no D Expression   A always 1 so A B 1 and 0 so no B C 1 and 0 so no C D always 1 so D Expression   A always 1 so A B always 1 so B C 1 and 0 so no C D 1 and 0 so no D Expression   A 1 and 0 so no A B always 1 so B C always 1 so C D always 1 so D Expression
1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D  B 0 0 0 0 0 1 1 0 0 A Y D C B A Boolean Expression   Logic Equation Simplification
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Equation Simplification
Logic Equation Simplification 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 0 0 0 G 0 1 1 0 C D  B 0 0 0 0 1 1 0 0 A E L G D C B A
Expression G  Expression L  Expression E   Logic Equation Simplification A 0 0 1 1   C D  B 0 1 1 0 L   0 0 0 1 1 1 1 0 A 0 0 1 1   C D  B 0 1 1 0 E   0 0 0 1 1 1 1 0
This resource was created by the University of Wales Newport and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © 2009 University of Wales Newport This work is licensed under a  Creative Commons Attribution 2.0 License . The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence.  All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved.  The name and logo should not be reproduced without the express authorisation of the University. Logic Equation Simplification

Weitere ähnliche Inhalte

Was ist angesagt?

The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuit
roni Febriandi
 

Was ist angesagt? (20)

Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
Adder Presentation
Adder PresentationAdder Presentation
Adder Presentation
 
Counters
CountersCounters
Counters
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
Unit 3 combinational circuits
Unit 3  combinational circuitsUnit 3  combinational circuits
Unit 3 combinational circuits
 
Digital Registers & Counters
Digital Registers & CountersDigital Registers & Counters
Digital Registers & Counters
 
Control chap10
Control chap10Control chap10
Control chap10
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Code Converters & Parity Checker
Code Converters & Parity CheckerCode Converters & Parity Checker
Code Converters & Parity Checker
 
Ring counter
Ring counterRing counter
Ring counter
 
Adder and subtrctor DLD
Adder and subtrctor  DLDAdder and subtrctor  DLD
Adder and subtrctor DLD
 
Binary to grey code conversion
Binary to grey code conversionBinary to grey code conversion
Binary to grey code conversion
 
Sequential circuit design
Sequential circuit designSequential circuit design
Sequential circuit design
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuit
 

Andere mochten auch

제4강 명제와 논리-정보
제4강 명제와 논리-정보제4강 명제와 논리-정보
제4강 명제와 논리-정보
csungwoo
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
Bala Ganesh
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
Lena
 
algebraic expression class VIII
algebraic expression class VIIIalgebraic expression class VIII
algebraic expression class VIII
Himani Priya
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
Lekashri Subramanian
 

Andere mochten auch (13)

제4강 명제와 논리-정보
제4강 명제와 논리-정보제4강 명제와 논리-정보
제4강 명제와 논리-정보
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
Geometry in daily life
Geometry in daily lifeGeometry in daily life
Geometry in daily life
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
Application of algebra
Application of algebraApplication of algebra
Application of algebra
 
Geometry in Real Life
Geometry in Real LifeGeometry in Real Life
Geometry in Real Life
 
Basic Algebra Ppt 1.1
Basic Algebra Ppt 1.1Basic Algebra Ppt 1.1
Basic Algebra Ppt 1.1
 
algebraic expression class VIII
algebraic expression class VIIIalgebraic expression class VIII
algebraic expression class VIII
 
Applications of linear algebra
Applications of linear algebraApplications of linear algebra
Applications of linear algebra
 
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.
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
Logic Gates O level Past Papers questions
Logic Gates O level Past Papers questionsLogic Gates O level Past Papers questions
Logic Gates O level Past Papers questions
 

Ähnlich wie Logic Equation Simplification

ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
jack60216
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
arunachalamr16
 

Ähnlich wie Logic Equation Simplification (20)

Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxUnit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Gerbang Logika Dasar
Gerbang Logika DasarGerbang Logika Dasar
Gerbang Logika Dasar
 
B sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebraB sc3 unit 3 boolean algebra
B sc3 unit 3 boolean algebra
 
Rthch2nts 160709112024
Rthch2nts 160709112024Rthch2nts 160709112024
Rthch2nts 160709112024
 
3,EEng k-map.pdf
3,EEng k-map.pdf3,EEng k-map.pdf
3,EEng k-map.pdf
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
Lecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptxLecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptx
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
9525.ppt
9525.ppt9525.ppt
9525.ppt
 
Modern+digital+electronics rp+jain
Modern+digital+electronics rp+jainModern+digital+electronics rp+jain
Modern+digital+electronics rp+jain
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docxELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra   .docx
ELN-133 Chapter 4 Homework Spring 2015 Boolean Algebra .docx
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 

Mehr von School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport

Mehr von School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport (14)

Introduction to fourier analysis
Introduction to fourier analysisIntroduction to fourier analysis
Introduction to fourier analysis
 
Semiconductor theory
Semiconductor theorySemiconductor theory
Semiconductor theory
 
Number codes
Number codesNumber codes
Number codes
 
Decoders student
Decoders studentDecoders student
Decoders student
 
Number codes students
Number codes studentsNumber codes students
Number codes students
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Design considerations
Design considerationsDesign considerations
Design considerations
 
Number bases
Number basesNumber bases
Number bases
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Stabilised Power Supplies
Stabilised Power SuppliesStabilised Power Supplies
Stabilised Power Supplies
 
Amplifier Compensation
Amplifier CompensationAmplifier Compensation
Amplifier Compensation
 
Counter And Sequencer Design- Student
Counter And Sequencer Design- StudentCounter And Sequencer Design- Student
Counter And Sequencer Design- Student
 
Chapter 6 Probability
Chapter 6  ProbabilityChapter 6  Probability
Chapter 6 Probability
 
Chapter 4 Integration
Chapter 4  IntegrationChapter 4  Integration
Chapter 4 Integration
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Kürzlich hochgeladen (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 

Logic Equation Simplification

  • 1. Logic equation simplification. Digital Logic and Software Applications © University of Wales Newport 2009 This work is licensed under a Creative Commons Attribution 2.0 License .
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. 1 1 1 1 1 0 1 0 1 0 0 1 0 0 Y 1 0 B A Y B A Logic Equation Simplification
  • 14. 1 1 1 1 1 1 0 1 0 1 0 1 1 0 1 0 0 Y 1 0 B A Y B A STEP 1 Logic Equation Simplification
  • 15. STEP 2 Logic Equation Simplification A B Y B A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
  • 16. STEP 3 A always 1 so A B 1 and 0 so no B Expression A 1 and 0 so no A B always 0 so not B Expression Logic Equation Simplification A B Y B A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
  • 17. STEP 4 Complete expression: Logic Equation Simplification A B Y B A 0 1 Y 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1
  • 18.
  • 19.
  • 20. Example A function F has the truth table shown below. Determine the simplest Boolean Expression for the function. Logic Equation Simplification A B C F A 0 0 1 1 0 0 0 1 C B 0 1 1 0 F 0 0 1 0 0 0 1 0 0 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1
  • 21. 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C B 1 0 0 0 1 1 0 0 A F C B A Logic Equation Simplification
  • 22. 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C B 1 0 0 0 1 1 0 0 A F C B A Logic Equation Simplification
  • 23. 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C B 1 0 0 0 1 1 0 0 A F C B A A always 1 so A B 1 and 0 so no B C 1 and 0 so no C Expression A 1 and 0 so no A B always 1 so B C always 1 so C Expression A 1 and 0 so no A B always 0 so not B C always 0 so not C Expression
  • 24. 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 F 0 1 1 0 C B 1 0 0 0 1 1 0 0 A F C B A Complete expression Logic Equation Simplification
  • 25. Example Three judges A, B and C vote: 1 guilty and 0 not guilty. Design a logic circuit using NAND only which will allow a majority decision (F) to be found. e.g. A = 1, B = 0, C = 0 gives an output of 0 (not guilty) Logic Equation Simplification A B C F A 0 0 1 1 0 0 0 C B 0 1 1 0 F 0 0 1 0 0 1 0 0 1 1 1 1 0 0 1 0 1 1 1 0 1 1 1
  • 26. 4-input Karnaugh Map This has 16 entries on the Truth Table and so the Karnaugh Map has 16 squares Logic Equation Simplification A B C D Y A 0 0 1 1 0 0 0 0 C D B 0 1 1 0 Y 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1
  • 27. 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 0 0 0 Y 0 1 1 0 C D B 0 0 0 0 1 1 0 0 A Y D C B A Note there is one additional rule for grouping 1’s on this map and larger maps: Rule: 1’s may be grouped between the top row and the bottom row. Logic Equation Simplification
  • 28.
  • 29. 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D B 0 0 0 0 0 1 1 0 0 A Y D C B A Logic Equation Simplification
  • 30. 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D B 0 0 0 0 0 1 1 0 0 A Y D C B A Now form groups Logic Equation Simplification
  • 31. 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D B 0 0 0 0 0 1 1 0 0 A Y D C B A Identify groups A always 1 so A B 1 and 0 so no B C always 1 so C D 1 and 0 so no D Expression A always 1 so A B 1 and 0 so no B C 1 and 0 so no C D always 1 so D Expression A always 1 so A B always 1 so B C 1 and 0 so no C D 1 and 0 so no D Expression A 1 and 0 so no A B always 1 so B C always 1 so C D always 1 so D Expression
  • 32. 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 Y 0 1 1 0 C D B 0 0 0 0 0 1 1 0 0 A Y D C B A Boolean Expression Logic Equation Simplification
  • 33.
  • 34. Logic Equation Simplification 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 0 0 0 G 0 1 1 0 C D B 0 0 0 0 1 1 0 0 A E L G D C B A
  • 35. Expression G Expression L Expression E Logic Equation Simplification A 0 0 1 1   C D B 0 1 1 0 L   0 0 0 1 1 1 1 0 A 0 0 1 1   C D B 0 1 1 0 E   0 0 0 1 1 1 1 0
  • 36. This resource was created by the University of Wales Newport and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © 2009 University of Wales Newport This work is licensed under a Creative Commons Attribution 2.0 License . The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence.  All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved. The name and logo should not be reproduced without the express authorisation of the University. Logic Equation Simplification