بهينه سازي با روش Quine-McCluskey

Slides:



Advertisements
Similar presentations
FUNCTION OPTIMIZATION Switching Function Representations can be Classified in Terms of Levels Number of Levels, k, is Number of Unique Boolean (binary)
Advertisements

CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
ECE C03 Lecture 31 Lecture 3 Two-Level Logic Minimization Algorithms Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
ELEC Digital Logic Circuits Fall 2008 Logic Minimization (Chapter 3) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
Quine-McCluskey (Tabular) Minimization  Two step process utilizing tabular listings to:  Identify prime implicants (implicant tables)  Identify minimal.
Quine-McClusky Minimization Method Module M4.3 Section 5.3.
بهينه سازي با نقشة کارنو
EDA (CS286.5b) Day 15 Logic Synthesis: Two-Level.
Chapter 3 Simplification of Switching Functions
CS 140 Lecture 6 Professor CK Cheng Tuesday 10/15/02.
Gate Logic: Two Level Canonical Forms
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 4-1 Chapter #2: Two-Level Combinational Logic Section 2.3, Switches and Tools.
CS 140 Lecture 6 Professor CK Cheng UC San Diego.

بهينه سازي با نقشة کارنو Karnaugh Map. 2  Method of graphically representing the truth table that helps visualize adjacencies 2-variable K-map 3-variable.
Chapter #2: Two-Level Combinational Logic
2-Level Minimization Classic Problem in Switching Theory
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.
Quine-McCluskey (Tabular) Minimization Two step process utilizing tabular listings to: Identify prime implicants (implicant tables) Identify minimal PI.
2-Level Minimization Classic Problem in Switching Theory Tabulation Method Transformed to “Set Covering Problem” “Set Covering Problem” is Intractable.
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
Examples. Examples (1/11)  Example #1: f(A,B,C,D) =  m(2,3,4,5,7,8,10,13,15) Fill in the 1’s. 1 1 C A B CD AB D 1 1.
Combinational Logic Part 2: Karnaugh maps (quick).
Two Level Networks. Two-Level Networks Slide 2 SOPs A function has, in general many SOPs Functions can be simplified using Boolean algebra Compare the.
Chapter 6 Quine-McCluskey Method Mei Yang ECG Logic Design 1.
Copyright © 2004 by Miguel A. Marin Revised McGILL UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING COURSE ECSE DIGITAL SYSTEMS.
2-1 Introduction Gate Logic: Two-Level Simplification Design Example: Two Bit Comparator Block Diagram and Truth Table A 4-Variable K-map for each of the.
Simplification of incompletely specified functions using QM Tech.
ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 Topic 5: Quine-McCluskey Method José Nelson Amaral.
1 ECE2030 Introduction to Computer Engineering Lecture 8: Quine-McCluskey Method Prof. Hsien-Hsin Sean Lee School of ECE Georgia Institute of Technology.
1 Quine-McCluskey Method. 2 Motivation Karnaugh maps are very effective for the minimization of expressions with up to 5 or 6 inputs. However they are.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
Computer Engineering (Logic Circuits) (Karnaugh Map)
Chapter3: Gate-Level Minimization Part 1 Origionally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
CS2100 Computer Organisation
Quine-McCluskey Algorithm Gautam Singh. Outline: step 1 Find Prime Implicants: 1)Find all the minterms and sort by number of 1 bits (these are implicants)
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 15: March 4, 2002 Two-Level Logic-Synthesis.
ELEC Digital Logic Circuits Fall 2015 Logic Minimization (Chapter 3) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
1 Example: Groupings on 3-Variable K-Maps BC F(A,B,C) = A ’ B ’ A BC F(A,B,C) = B ’ A
Key Observation Adjacencies in the K-Map
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Karnaugh Maps (K maps).
Lecture 4: Four Input K-Maps CSE 140: Components and Design Techniques for Digital Systems CK Cheng Dept. of Computer Science and Engineering University.
State university of New York at New Paltz Electrical and Computer Engineering Department Logic Synthesis Optimization Lect10: Two-level Logic Minimization.
CEC 220 Digital Circuit Design Implicants Wed, Sept. 23 CEC 220 Digital Circuit Design Slide 1 of 10.
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 6 QUINE-McCLUSKEY METHOD Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
Technical Seminar II Implementation of
CHAPTER 6 Quine-McCluskey Method
Lecture 6 Quine-McCluskey Method
Computer Organisation
Lecture #6 EGR 277 – Digital Logic
QUINE-McCLUSKEY METHOD
Plotting functions not in canonical form
CS 352 Introduction to Logic Design
Chapter 6 Quine-McCluskey Method
ECE 331 – Digital System Design
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
Karnaugh Maps Introduction Venn Diagrams 2-variable K-maps
Chapter 3 Gate-level Minimization.
SYEN 3330 Digital Systems Chapter 2 – Part 6 SYEN 3330 Digital Systems.
COE 202: Digital Logic Design Combinational Logic Part 3
Minimization of Switching Functions
CHAPTER 6 QUINE-McCLUSKEY METHOD
ECE 331 – Digital System Design
Presentation transcript:

بهينه سازي با روش Quine-McCluskey

آزمون ميان ترم: چهارشنبه: 15 ارديبهشت

Quine-McCluskey Method Tabular method to systematically find all prime implicants Provides basis for computer simplification (CAD tools). Two Stages: Generate all the PIs, and make a PI table. Obtain the minimum cover of the PI table.

Stage 1 (N 1's against those with N+1 1's) f(A,B,C,D) = Sm(0,4,5,6,7,8,9,10,13,15) 1: Column 1: ON-set minterm indices. - Group by number of 1's. Implication Table Column I Column II 0000 0100 1000 0101 0110 1001 1010 0111 1101 1111 Column III √ 0-00 * 01-- * 2: Apply Uniting Theorem - Compare elements of group: (N 1's against those with N+1 1's) - Eliminate variable and place in next column. E.g., 0000 vs. 0100 yields 0-00 0000 vs. 1000 yields -000 -000 * -1-1 * √ 010- √ √ 01-0 √ √ 100- * √ 10-0 * √ √ 01-1 √ -101 √ √ 011- √ Check mark: when used in a combination, Star: if cannot be combined. (These are the prime implicants). 1-01 √ * -111 √ √ 11-1 √

Stage 1 (continued) Prime Implicants: 0-00 = A' C' D' -000 = B' C' D' AB CD 00 01 11 10 D B C A 1 Prime Implicants: 0-00 = A' C' D' 100- = A B' C' 1-01 = A C' D -1-1 = B D -000 = B' C' D' 10-0 = A B' D' 01-- = A' B Stage 2: find smallest set of prime implicants that cover the ON-set

Stage 2 Stage 2: find smallest set of prime implicants that cover the ON-set recall that EPIs must be in all covers  Another tabular method: the prime implicant chart

Stage 2 (continued) √ √ √ √ √ √ √ √ √ rows = prime implicants columns = ON-set elements place an "√" if ON-set element is covered by the prime implicant If column has a single √, then the implicant associated with the row is essential.  It must appear in minimum cover Eliminate all columns covered by essential primes Find minimum set of rows that cover the remaining columns 4 5 6 7 8 9 10 13 15 0,4 (0-00) √ 0,8 (-000) 8,9 (100-) 8,10 (10-0) 9,13 (1-01) 4,5,6,7 (01--) 5,7,13,15 (-1-1) √ √ √ √ √ √ √ √ f = A C' D' + A B' C' + A B' D' + A' B + B D

Handle Don’t Cares: Stage 1 f(A,B,C,D) = Sm(4,5,6,8,9,10,13) + Sd(0,7,15) 1: Fill Column 1 with ON-set and DC-set minterm indices. Group by number of 1's. Implication Table Column I Column II 0000 0100 1000 0101 0110 1001 1010 0111 1101 1111 Column III √ 0-00 * 01-- * 2: … -000 * -1-1 * √ 010- √ √ 01-0 √ √ 100- * √ 10-0 * √ √ 01-1 √ -101 √ √ 011- √ 1-01 √ * -111 √ √ 11-1 √

Stage 1 (continued) Prime Implicants: 0-00 = A' C' D' -000 = B' C' D' 100- = A B' C' 1-01 = A C' D -1-1 = B D -000 = B' C' D' 10-0 = A B' D' 01-- = A' B Stage 2: find smallest set of prime implicants that cover the ON-set

Stage 2 Stage 2: find smallest set of prime implicants that cover the ON-set Don’t care sets need not be covered

Stage 2 (continued) √ √ √ √ √ √ f = A B' D' + A C' D + A' B 4 5 6 8 9 10 13 0,4 (0-00) √ 0,8 (-000) 8,9 (100-) 8,10 (10-0) 9,13 (1-01) 4,5,6,7 (01--) 5,7,13,15 (-1-1) √ √ √ √ √ f = A B' D' + A C' D + A' B