Lecture # 5 University of Tehran

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Minimization of Circuits
Gate-Level Minimization
K-Map Simplification COE 202 Digital Logic Design Dr. Aiman El-Maleh
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
KARNAUGH MAP Introduction Strategy for Minimization Minimization of Product-of-Sums Forms Minimization of More Complex Expressions Don't care Terms 1.
Gate-level Minimization
ECE C03 Lecture 21 Lecture 2 Two Level Minimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
ECE 331 – Digital System Design
Karnaugh Maps for Simplification
ENEE244-02xx Digital Logic Design Lecture 10. Announcements HW4 assigned, due 10/9.
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
ECE 301 – Digital Electronics Karnaugh Maps and Determining a Minimal Cover (Lecture #8) The slides included herein were taken from the materials accompanying.
Logic gate level Part 3: minimizing circuits. Improving circuit efficiency Efficiency of combinatorial circuit depends on number & arrangement of its.
EECC341 - Shaaban #1 Lec # 7 Winter Combinational Circuit Minimization Canonical sum and product logic expressions do not provide a circuit.
IKI a-Simplification of Boolean Functions Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture.
Chapter 2: Boolean Algebra and Logic Functions
Digital Logic Design Lecture # 8 University of Tehran.
Digital Logic Design Lecture # 7 University of Tehran.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Department of Computer Engineering
Digital Logic Design Lecture # 9 University of Tehran.
Logic and Computer Design Simon Petruc-Naum CS 147 – Dr. S.M. Lee.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
UM EECS 270 Spring 2011 – Taken from Dr.Karem Sakallah Logic Synthesis: From Specs to Circuits Implementation Styles –Random –Regular Optimization Criteria.
Circuit Minimization. It is often uneconomical to realize a logic directly from the first logic expression that pops into your head. Canonical sum and.
PRASAD A. PAWASKAR SPN. NO DETE 2 SEMESTER lec1-11.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
07 KM Page 1 ECEn/CS 224 Karnaugh Maps. 07 KM Page 2 ECEn/CS 224 What are Karnaugh Maps? A simpler way to handle most (but not all) jobs of manipulating.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
LOGIC GATES & BOOLEAN ALGEBRA
February 2, 2004CS 2311 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are AND, OR and.
CS231 Boolean Algebra1 Summary so far So far: – A bunch of Boolean algebra trickery for simplifying expressions and circuits – The algebra guarantees us.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
Digital Logic Design Lecture # 6 University of Tehran.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
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.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
Digital Logic.
CHAPTER 3 Simplification of Boolean Functions
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Minimization of Circuits
ECE 2110: Introduction to Digital Systems
Computer Organisation
ECE 3110: Introduction to Digital Systems
CS 352 Introduction to Logic Design
ECE 2110: Introduction to Digital Systems
Lecture 3 Gunjeet Kaur Dronacharya Group of Institutions
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Lecture 4 Sums of Product Circuits Simplification
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Dr. Clincy Professor of CS
Instructor: Alexander Stoytchev
Karnaugh maps Last time we saw applications of Boolean logic to circuit design. The basic Boolean operations are AND, OR and NOT. These operations can.
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Circuit Simplification and
Presentation transcript:

Lecture # 5 University of Tehran Digital Logic Design Lecture # 5 University of Tehran

Outline Minterms and Maxterms Simplification of a Function by KM Minimization’s Effects on a Circuit Timing Parameters of a Circuit

Minterms and Maxterms We define a Minterm to be a product that contains all variables of that particular switching function in either complemented or non-complemented form. A simpler shorthand form of representing a SSOP is to use the number of the minterms that appear in that representation. In the following example for instance we could have written:

Minterms and Maxterms (continued…) We define a Maxterm to be a sum that contains all variables of that particular switching function in either complemented or non-complemented form. Sometimes writing an expression in a POS form is easier as seen in the following example:

Simplification of a Function by KM As said in the last lecture, in a karnaugh map, we consider physically adjacent 1s to be boolean adjacent terms too. This is our main concern in the construction and use of a karnaugh map -keeping the equality of physical adjacency and boolean adjacency. Considering this equality, each two adjacent boxes in the karnaugh map should only differ in a single literal. All of the above is exactly applied to maps with a larger number of variables.

Simplification of a Function by KM (continued…) Example:

Simplification of a Function by KM (continued…) Example:

Simplification of a Function by KM (continued…) Observing the last example shows us that our definition of physical adjacency doesn’t satisfy our need, thus a small change is needed in this definition. Hence from this point onwards we consider the top and bottom rows of the map adjacent (the first stands for the first and last columns). Note: There is no formal way to prove the resulted expression is minimal but it can be visually observed to be minimal.

Simplification of a Function by KM (continued…) Note: A standard SOP is unique for any given function whereas a minimal SOP form may not be so. Note: Karnaugh maps will only help with functions of less that 7 variables.

Simplification of a Function by KM (continued…) We will now consider another example: This example shows us that seeing 4 or 8 adjacent 1s must also result in a combination that only has variables that don’t differ in any of the corresponding terms.

Simplification of a Function by KM (continued…) Let’s see another example of the last situation:

Simplification of a Function by KM (continued…) Now we consider the simplification method for a function of 4 variables. Pay attention to the example in the next slide.

Simplification of a Function by KM (continued…) The stars shown in the above karnaugh map show that the particular map containing those stars would be an essential choice, because those terms aren’t covered by any other map. In covering the 1s of a karnaugh map we look to satisfy three aims: Covering all minterms Fewer maps Larger maps (In order to cover more 1s in one map)

Simplification of a Function by KM (continued…) We will now see some definitions: Implicant: Any term that it’s being one causes the result of the function to be one, in other words any term that implies a function. In a karnaugh map, each 1 or combination of 1s is an implicant. Prime Implicant: An implicant that is not included in any larger implicant. Essential Prime Implicant: A prime implicant that covers at least one ‘1’ not covered by any other prime implicant.

Simplification of a Function by KM (continued…) Note: When forming a minimized expression, first the essential prime implicants are written and then the prime implicants which have covered the 1s not included by the EPIs are written. We now apply the above to the following example:

Simplification of a Function by KM (continued…) The resulting circuit of the preceding example is a 2-level network, as can be seen in the figure:

Simplification of a Function by KM (continued…) Two level networks are the most a karnaugh map can minimize an expression to, while more minimization may be done by the use of more boolean algebra. This doesn’t necessarily mean the number of levels will decrease but the number of transistors may. For instance the three level network shown below uses less transistors than the design shown in the last example:

Simplification of a Function by KM (continued…) To realize the expression , using only nand or nor gates, we use the following method:

Minimization’s Effects on a Circuit Minimization decreases our use of transistors. Minimization affects circuit timing . Minimization affects power consumption.

Timing Parameters of a Circuit Consider the following structure: In the situation where ‘a’ goes ‘1’, after a considerable amount of time of it being ‘0’, the capacitance on the pull-down will discharge through the resistance of the first pull-down. An instance of time in the exponential phase of this discharge will come when the PMOS can no longer conduct a ‘1’ to the output on ‘b’ and the NMOS transistor starts conducting.

Timing Parameters of a Circuit (continued…) Now we consider 2 delay times, trise and tfall, for the signals, the first being the time needed for a signal to reach 90% of its total value from the instance it had 10% of that value and the second the time for transition from 90% to 10%, as seen in the following figure:

Timing Parameters of a Circuit (continued…) Paying attention to the following figure, it is clear that td is considered to be the time needed for the output to reach 50% of its full amount from the instance where the input has 50% of its full value.

Timing Parameters of a Circuit (continued…) In practice, usually a delay time is considered for a whole gate. For instance a 5ns delay for a NAND gate would give. Analog analysis of the mentioned matters may be used where timing is a very important issue.