1 Combinational Logic Network design Chapter 4 (continued ….)

Slides:



Advertisements
Similar presentations
CS370 – Spring 2003 Hazards/Glitches. Time Response in Combinational Networks Gate Delays and Timing Waveforms Hazards/Glitches and How To Avoid Them.
Advertisements

Glitches & Hazards.
IKI b-Simplification of Boolean Functions Bobby Nazief Semester-I The materials on these slides are adopted from Prof. Daniel Gajski’s.
ECE 3110: Introduction to Digital Systems
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 8 – Systematic Simplification.
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
EECC341 - Shaaban #1 Lec # 8 Winter Combinational Logic Circuit Transient Vs. Steady-state Output Gate propagation delay: The time between.
Give qualifications of instructors: DAP
Chapter 3 Simplification of Switching Functions
CHAPTER 3 Digital Logic Structures
Quine-McClusky Minimization Method Discussion D3.2.


Computer Engineering (Logic Circuits) (Karnaugh Map)
CS 151 Digital Systems Design Lecture 32 Hazards
بهينه سازي با نقشة کارنو Karnaugh Map. 2  Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable.
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.
Simplifying Boolean Expressions Using K-Map Method
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Digital Logic Design Lecture # 7 University of Tehran.
EECS 465: Digital Systems Lecture Notes # 2
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.
Chapter 3 The Karnaugh Map. These K-maps are described by the location. Next, each square will be 1 or 0 depending on the value of the function. ABfm.
Department of Computer Engineering
The covering procedure. Remove rows with essential PI’s and any columns with x’s in those rows.
EE 261 – Introduction to Logic Circuits
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
ECE 3110: Introduction to Digital Systems Symplifying Products of sums using Karnaugh Maps.
Computer Engineering (Logic Circuits) (Karnaugh Map)
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
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Lecture 11 Timing diagrams Hazards.
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
1 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Lecture # 5 University of Tehran
EECS 270 Lecture 10. K-map “rules” – Only circle adjacent cells (remember edges are adjacent!) – Only circle groups that are powers of 2 (1, 2,
ECE 171 Digital Circuits Chapter 9 Hazards Herbert G. Mayer, PSU Status 2/21/2016 Copied with Permission from prof. Mark PSU ECE.
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
©2010 Cengage Learning SLIDES FOR CHAPTER 5 KARNAUGH MAPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Chapter 4. Combinational Logic Design Principles
ECE 2110: Introduction to Digital Systems
Computer Organisation
ECE 3110: Introduction to Digital Systems
Lecture 8 Combinational Network Design and Issues
CS 352 Introduction to Logic Design
ECE 2110: Introduction to Digital Systems
Hazard.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Introduction to Digital Systems
Karnaugh Maps Introduction Venn Diagrams 2-variable K-maps
Chapter 3 Gate-level Minimization.
Hazard-free Karnaugh Map Minimisation
Minimization of Switching Functions
Overview Part 2 – Circuit Optimization
Hazard-free Karnaugh Map Minimisation
Laws & Rules of Boolean Algebra
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
Presentation transcript:

1 Combinational Logic Network design Chapter 4 (continued ….)

2 Combinational Logic Network design K-MAP: Summary  Row and columns are labeled so that adjacent Rows (columns) labels differ only by one variable  1-cells represent minterms while 0-cell are maxterms  Minimization of SOP (sum of product terms) – Make groups of 1-cells –Size of a group is a power of 2 (2, 4, 8 ….) –When possible include each 1-cell in largest possible group –A group of 2 k 1-cell allows the elimination of k variables from the product terms –A variable that changes over the labels associated with a group is dropped –In the logic of a grooup only variables that remains constant over the group are kept ( 1 corresponds to the non completed form of the variable and à corresponds to the complemented form)  Don’t care in K-Map (d-cells) –They correspond to input combinations for which the output is not defined (invalid) –A don’t care d is considered as 1 only if it helps create a larger group of 1-cell

3 Combinational Logic Network design K-MAP: Minimizing Sums of Products  Minimal Sum of a Logic function one variable A sum of product expression of F such that –No sum S’ has fewer product terms –If a sum S’ has the same number of terms, then S’ can’t have fewer variables  Prime implicant – An implicant F is a prime implicant if it is not contained in a larger block of minterms (1-cells) : Note: Larger implicant contain fewer terms –Prime implicant theorem: A minimum sum of a function F is a sum of prime implicant  Distinguished 1-cell: A minterm that is covered by only one prime implicant  Essential prime implicant A prime implicant that covers one or more distinguished cells  Minimal cover of a logic function –Select all essential prime implicants ( they cover some or all 1-cells of the function) –Select a set of non essential prime implicants to cover remaining 1-cells that are not covered by the essential prime implicants

4 Combinational Logic Network design K-MAP: Minimizing Sums of Products F =  W,X,,Y,Z (0,1,2,3,4,5,7,14,15) WX YZ Prime implicantImplicant (non prime) * : Distinguished cells * * * Prime implicants: W’X’ W’Y’ W’Z XYZ WXY Note: Implicants W’Y’Z’, W’Y’Z are not prime are contained in larger block W’Y’ Example Essential prime implicants: W’X’ W’Y’ WXY W’XY’Z’, W’X’YZ’, WXYZ’

5 Combinational Logic Network design K-MAP: Minimizing Sums of Products F =  W,X,,Y,Z (0,1,2,3,4,5,7,14,15) WX YZ F = W’Y’ + W’X’ + WXY + W’Z Only one minterm is not covered by essential prime implicants: W’XYZ Example: minimum coverage of F To cover the remaining 1-cell, choose the largest containing block (prime implicant): W’Z

6 Combinational Logic Network design Timing diagram - Hazards 1 0 t F  Timing Diagram Plot a logic expression as a function time (Discrete function ….)  Circuit Delay –Time it takes a gate or circuit to react to input and produce the corresponding output –Circuit delay is non zero X Y Z  : gate delay

7 Combinational Logic Network design Timing diagram - Hazards  Circuit delay Y X Z  X Y Z  : gate delay

8 Combinational Logic Network design Timing diagram - Hazards  Transient behavior of a circuit: Intermediate non desired output may be produced before the circuit reaches a steady state –Glitch –Short pulse in the output –Hazards  Types of hazards –Static hazard  Static-1 hazard  Static-0 hazard –Dynamic hazard

9 Combinational Logic Network design Timing diagram - Hazards  Static-1 hazard We expect the output to stay at 1, but output dips temporary to 0 and goes back to > 0 ---> > 1  Static-0 hazard We expect the output to stay at 0, but output goes temporary to 1 and back to > 1 ---> > 0 Static hazard glitch 1 0 Expected output glitch 1 0 Expected output

10 Combinational Logic Network design Timing diagram - Hazards Example: Given F = AB’ + BC Static hazard A: 1 B: >0 C: 1 Initial values: ABC = 111, F = 1 F Input change: B 1 ---> 0, F = ? AB’ BC Steady state analysis (Zero circuit delay) : When B 1----> 0, AB’ =1, BC=0 and F=1 Transient behavior (Non zero circuit delay) : Two different paths arrive at the OR gate Unequal propagation delays associated with the paths One path has B (non complemented) and the other has B’ (complemented form) Output of the top AND gate takes longer than the output of the botom AND gate

11 Combinational Logic Network design Timing diagram - Hazards Example: Given F = AB’ + BC Static hazard A B C Initial values: ABC = 111, F = 1 F Input change: B 1 ---> 0, F = ? AB’ BC B’ B A AB’ 0 1 BC 0 1 F 0 1  0 Glitch

12 Combinational Logic Network design Timing diagram - Hazards Example: Given F = AB’ + BC Static hazard A B C Initial values: ABC = 111, F = 1 F Input change: B 1 ---> 0, F = ? AB’ BC B’ K-Map to find static hazard BC A This transaction is hazardous, no prime implicant covers both input ABC=111 and ABC = 101 Solution: add the consensus term to cover the above input (See example on page 247 text, figure 4-48)

13 Combinational Logic Network design Timing diagram - Hazards Static hazard: Another example WX YZ F Possible hazards To get rid of hazards, add extra product terms F = XY’Z’ + W’Z + WY

14 Combinational Logic Network design Timing diagram - Hazards Static hazard: Another example To get rid of hazards, add extra product terms WX YZ F 1 1 1

15 Combinational Logic Network design Timing diagram - Hazards Output changes 3 or more times, instead of changing once: Dynamic hazard 1 0 Expected output > > 0 ---> 1 ---> 0 Transient behavior > 1 ---> 0 ---> 1 Transient behavior 1 0 Expected output > 0 Case 1 Case 2

16 Combinational Logic Network design Timing diagram - Hazards Example: Given F = A(A’ + B’) + ABC Dynamic hazard Multiple paths from the changing input to the changing output WXYZ = > WXYZ = 0101  <  ’ W 0 F X 0 1 Y 0 Z  ’’

The END