Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Digital Circuits.
Combinational Circuits CS370 – Spring BCD to 7 Segment Display Controller Understanding the problem: input is a 4 bit bcd digit output is the control.
CHAPTER 4 Boolean Algebra and Logic Simplification
1 Homework Reading –Tokheim, Section 5-10, 7-4 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
CS 140 Lecture 2 Combinational Logic CK Cheng 4/04/02.
Combinational Logic Discussion D2.5. Combinational Logic Combinational Logic inputsoutputs Outputs depend only on the current inputs.
ENGIN112 L13: Combinational Design Procedure October 1, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 13 Combinational Design Procedure.
4/11/03 Minute Paper How does MS window work? Like how do we have the screen on the computer. Is it just a bunch of Binary #’s representing colors? When.
CS 151 Digital Systems Design Lecture 13 Combinational Design Procedure.
ECE 331 – Digital System Design Logic Circuit Design (Lecture #7)
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
Combinational Logic Design
Boolean Algebra and Logic Simplification
Digital Logic and Design Vishal Jethva Lecture No. 10 svbitec.wordpress.com.
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
KARNAUGH MAP – Digital Circuit 1 Choopan Rattanapoka.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. K-Map (1)  Karnaugh Mapping is used to minimize the number of logic gates that are required in a digital circuit.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #7 COMBINATIONAL LOGIC ANALYSIS.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Figure 4–1 Application of commutative law of addition. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Lecture 11 Combinational Design Procedure
1 Digital Logic Design Week 5&6 cont’d Revision for Quiz 2/Exam.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Conversion from one number base to another Binary arithmetic Equation simplification DeMorgan’s Laws Conversion to/from SOP/POS Reading equations from.
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-1 Design Procedure 1Created by: Ms.Amany AlSaleh.
Digital Logic & Design Vishal Jethava Lecture 11 svbitec.wordpress.com.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
 Seattle Pacific University EE Logic System DesignKMaps-1 Two-Level Simplification All Boolean expressions can be represented in two- level forms.
CSE 140: Components and Design Techniques for Digital Systems Lecture 3: Incompletely Specified Functions and K Maps CK Cheng Dept. of Computer Science.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
1 3- De-Morgan’s Theorems 1.The complement of a product of variables is equal to the sum of the complements of the variables. 2. The complement of a sum.
CEC 220 Digital Circuit Design More Karnaugh Maps Monday, February 02 CEC 220 Digital Circuit Design Slide 1 of 11.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
In some Boolean functions there are some input terms that will never occur, for example in BCD code there are sex invalid combinations 1010,1011,1100,
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
ACOE161Digital Circuit Design1 Design Of Combinational Logic Circuits.
Digital Logic & Design Dr. Waseem Ikram Lecture 11.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC:K-Map. K-Map (1)  Karnaugh Map provides a systematic method for simplifying Boolean expressions and may produce.
Digital Logic & Design Dr. Waseem Ikram Lecture 09.
Lecture 3: Incompletely Specified Functions and K Maps
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
CHAPTER 1 : INTRODUCTION
ECE 331 – Digital System Design
ECE Digital logic Lecture 10: Karnaugh MAps
Karnaugh Maps (K-Maps)
Boolean Algebra.
Lecture 3: Incompletely Specified Functions and K Maps
Digital Circuits.
ECE 331 – Digital System Design
Combinatorial Logic Circuit
Homework Reading Tokheim, Section 5-10, 7-4.
13 Digital Logic Circuits.
ECB2212-Digital Electronics K-Map
Laws & Rules of Boolean Algebra
Digital Circuits.
ECE 331 – Digital System Design
Digital Circuits.
Presentation transcript:

Logic Function Optimization

Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh Maps Minimization of logic functions

Combinational Logic Circuit The function D=A’B’C’+A’BC’+ABC’+ABC can be implemented in the sum of products (SOP) form as follows: Minterm: Product that contains all input variables or their complements for which function value is 1

Combinational Logic Circuit The function D=(A+B+C’)(A+B’+C’)(A’+B+C)(A’+B+C’) can be implemented in the product of sums (POS) form as follows: Notice that SOP and POS forms can be implemented in such regular designs for any function.

Combinational Logic Circuit Find canonical sum of products (SOP) form for the following function F=AB’+A’C+ABC’ can be implemented in the : We have: F=AB’C+AB’C’+A’BC+A’B’C+ABC’

Combinational Logic Circuit Theorem: Each function can be represented in the unique form of SOP or POS. Let us obtain POS from for the following function: D=A’B’C’+A’BC’+ABC’+ABC Using DeMorgan’s law D’=(A’B’C’+A’BC’+ABC’+ABC)’= =(A+B+C)’(A+B’+C)’(A’+B’+C)’(A’+B’+C’)’

Two Implementations of XOR Logic Circuit

Do not Care - Logic Circuit Do not care condition is when the output function value is not important for a specific input combination

Do not Care - Logic Circuit Do not care can be used to simplify the circuit implementation

To design a digital logic circuit to control LED display we must first come up with a truth table. How to translate a desired circuit functionality into a truth table? How to Design a Digital Logic Circuit?

Digital Logic Circuit Output Decimal Integer BCD xywz ABCDEFG segments Then each output ABCDEFG must be implemented as a separate logic function of 4 input bits xywz that represent BCD code of integer value

Digital Logic Circuit Output Decimal Integer BCD abcd ABCDEFG For instance to control the segment A the logic function is F A =a’b’c’d’+a’b’c+a’bd+ab’c’ or for segment B F B =a’b’+a’bc’d’+a’bcd+ab’c’

Binary-Octal Decoder Circuit Design example

Karnaugh Maps in Logic Circuit Karnaugh maps can be used to simplify the logic function and its design

Karnaugh Maps in Logic Circuit Karnaugh map uses hypercube with the same function value in the whole cube to reduce the number of terms in the logic function

Karnaugh Maps in Logic Circuit The whole cube in the Karnaugh map is represented by a single product term. For instance cubes in the example figure are. (a) ab’(b) ab(c) a’b’

Karnaugh Maps in Logic Circuit

Use Karnaugh maps to obtain minimum SOP for these functions: Z=W’X’Y’+W’XY’+WX’Y+WXY D=A’B’C’+AB’+A’B’C E=ABD’+A’BCD’+ABC’D

Do not Care - Logic Circuit 1 x 00 1 x 01D H L F=L’+DH’ L D H F

Digital Logic Circuit Output Decimal Integer BCD abcd ABCDEFG Using Karnaugh map we can minimize F A =a’b’c’d’+a’b’c+a’bd+ab’c’ =b’c’d’+ab’c’+a’bd+a’b’c A C D B

Decimal Integer BCD abcd ABCDEFG Segment A logic function is F A =a’b’c’d’+a’b’c+a’bd+ab’c’ With do not cares F A =a+a’b’c’+bd+cb’ xx 1xxx 0111 A C D B Output A of 7 Segments Decoder

Digital Logic Circuit Output Decimal Integer BCD abcd ABCDEFG Using Karnaugh map we can minimize F B =a’b’+a’bc’d’+a’bcd+ab’c’= =b’c’+a’c’d’+a’cd+ a’b’ B A C D

Digital Logic Circuit Output Decimal Integer BCD abcd ABCDEFG Using Karnaugh map we can minimize F B =a’b’+a’bc’d’+a’bcd+ab’c’= =a’b’+ b’c’+a’c’d’+a’cd With do not cares F B =c’d’+cd+b’ xx 1xx 1011 B A C D