Irredundant Cover After performing Expand, we have a prime cover without single cube containment now. We want to find a proper subset which is also a cover.

Slides:



Advertisements
Similar presentations
Three Special Functions
Advertisements

FUNCTION OPTIMIZATION Switching Function Representations can be Classified in Terms of Levels Number of Levels, k, is Number of Unique Boolean (binary)
Glitches & Hazards.
CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Sum of Products.
ECE C03 Lecture 31 Lecture 3 Two-Level Logic Minimization Algorithms Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Reduce Reduce: Replace each prime by a smaller cube contained in it. | F | = |F| after reduce Since some of cubes of F are not prime, Expand can be applied.
بهينه سازي با روش Quine-McCluskey
MVI Function Review Input X is p -valued variable. Each Input can have Value in Set {0, 1, 2,..., p i-1 } literal over X corresponds to subset of values.
Binary Recursion Tree The recursive Shannon expansion corresponds to a binary recursion tree Example: Path (v) to node v corresponds to cube c(v) Example:
Logic Synthesis 2 Outline –Two-Level Logic Optimization –ESPRESSO Goal –Understand two-level optimization –Understand ESPRESSO operation.
1 Consensus Definition Let w, x, y, z be cubes, and a be a variable such that w = ax and y = a’z w = ax and y = a’z Then the cube xz is called the consensus.
Espresso Speedup ee219b project Yujia Jin. Presentation Overview Unate reduction for SCCC (reduce) –weakly unate –strongly unate –results Single sweep.
EDA (CS286.5b) Day 15 Logic Synthesis: Two-Level.
COE 561 Digital System Design & Synthesis Two-Level Logic Synthesis
COE 561 Digital System Design & Synthesis Two-Level Logic Synthesis Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum.
Chapter 3 Simplification of Switching Functions
1 Multi-Valued Logic Up to now…two-valued synthesis –Binary variables take only values {0, 1} Multi-Valued synthesis –Multi-valued variable X i can take.
Normal Form Design addendum by C. Zaniolo. ©Silberschatz, Korth and Sudarshan7.2Database System Concepts Normal Form Design Compute the canonical cover.
Multi-Valued Input Two-Valued Output Functions. Multi-Valued Input Slide 2 Example Automobile features 0123 X1X1 TransManAuto X2Doors234 X3ColourSilverRedBlackBlue.
ENEE 6441 On Quine-McCluskey Method > Goal: find a minimum SOP form > Why We Need to Find all PIs? f(w,x,y,z) = x’y’ +wxy+x’yz’+wy’z = x’y’+x’z’+wxy+wy’z.
Logic Synthesis n -Basic Concepts and Tools n Tao Lin n Ohio Universtiy n February 17, 1998.
ECE Synthesis & Verification - Lecture 9b 1 ECE 697B (667) Fall 2004 ECE 697B (667) Fall 2004 Synthesis and Verification of Digital Systems Boolean.
Irredundant Cover After performing Expand, we have a prime cover without single cube containment now. We want to find a proper subset which is also a cover.
1 Generalized Cofactor Definition 1 Let f, g be completely specified functions. The generalized cofactor of f with respect to g is the incompletely specified.
Winter 2014 S. Areibi School of Engineering University of Guelph
ECE Synthesis & Verification 1 ECE 667 ECE 667 Synthesis and Verification of Digital Systems Exact Two-level Minimization Quine-McCluskey Procedure.
ECE 667 Synthesis and Verification of Digital Systems
Simple Minimization Loop F = EXPAND(F,D); F = IRREDUNDANT(F,D); do { cost = F ; F = REDUCE(F,D); F = EXPAND(F,D); F = IRREDUNDANT(F,D); } while ( F < cost.
Table of Contents Matrices - Multiplication Assume that matrix A is of order m  n and matrix B is of order p  q. To determine whether or not A can be.
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Two-Level Minimization I.
1 Binary Recursion Tree The recursive Shannon expansion corresponds to a binary recursion tree Example: Path  (v) to node v corresponds to cube c  (v)
Two Level Logic Optimization. Two-Level Logic Minimization PLA Implementation Ex: F 0 = A + B’C’ F 1 = AC’ + AB F 2 = B’C’ + AB product term AB, AC’,
Tautology. Tautology Decision May be able to use unateness to simplify process Unate Function – one that has either the uncomplemented or complemented.
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Two-Level Minimization II.
BOOLEAN FUNCTION PROPERTIES
2-Level Minimization Classic Problem in Switching Theory
Combinatorial Algorithms Unate Covering Binate Covering Graph Coloring Maximum Clique.
2-Level Minimization Classic Problem in Switching Theory Tabulation Method Transformed to “Set Covering Problem” “Set Covering Problem” is Intractable.
Heuristic Two-level Logic Optimization Giovanni De Micheli Integrated Systems Centre EPF Lausanne This presentation can be used for non-commercial purposes.
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
ICS 252 Introduction to Computer Design Lecture 9 Winter 2004 Eli Bozorgzadeh Computer Science Department-UCI.
COE 561 Digital System Design & Synthesis Two-Level Logic Synthesis Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum.
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.
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.
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.
State university of New York at New Paltz Electrical and Computer Engineering Department Logic Synthesis Optimization Lect15: Heuristic Two Level Logic.
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.
ECE Synthesis & Verification - Lecture 3/4 1 ECE 697B (667) Fall 2004 ECE 697B (667) Fall 2004 Synthesis and Verification of Digital Systems Two-level.
Karnaugh Maps (K maps).
Boolean Functions 1 ECE 667 ECE 667 Synthesis and Verification of Digital Circuits Boolean Functions Basics Maciej Ciesielski Univ.
©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.
CHAPTER 6 Quine-McCluskey Method
Logic Synthesis Boolean Division.
Heuristic Minimization of Two-Level Logic
Computer Organisation
CS 352 Introduction to Logic Design
ECE 2110: Introduction to Digital Systems
Synthesis of Two Level Circuits
ECE 331 – Digital System Design
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
MVI Function Review Input X is p-valued variable. Each Input can have Value in Set {0, 1, 2, ..., pi-1} literal over X corresponds to subset of values.
ECB2212-Digital Electronics
MVI Function Review Input X is p-valued variable. Each Input can have Value in Set {0, 1, 2, ..., pi-1} literal over X corresponds to subset of values.
Heuristic Minimization of Two Level Circuits
Heuristic Minimization of Two Level Circuits
Tautology Decision May be able to use unateness to simplify process
Presentation transcript:

Irredundant Cover After performing Expand, we have a prime cover without single cube containment now. We want to find a proper subset which is also a cover. (irredundant)

Irredundant Cover Proposition: A set of cubes C covers a cube p if and only if C p is a tautology. proof: Cp = p =>(Cp) p = p p => C p p p = 1 => C p = 1 <= => C p = 1 => C P P = P => C P = P

Example Ex: p = C = C p = Check tautology(C p ) If (C p ) is a tautology, C covers p.

Divide & Conquer by Cofactor Op.

Property of Unate Function Proposition: A unate cover is a tautology if and only if it contains a row of 2’s. pf: (<=) trivial (=>) Assume the cover represent a monotone increasing function, the function contains 1’s and 2’s. The minterm (0,0,....0) must be covered. Unless the cover contains (2,2,....2), the minterm (0,0,...0) will not be covered.

Tautology Check 1. speed-up by unate variables Let F(x 1,x 2,...x n ), x 1 : positive unate –F(x 1,x 2,...x n ) = x 1 A(x 2,...x n ) + B(x 2,...x n ) A : terms with x 1 B : terms without x 1 F x1 = A + B F x1 ’ = B –If (F x1’ = B) is tautology, F x1 = A + B is a tautology. –If (F x1’ = B) is not a tautology, F is not a tautology. If x is positive unate, test if F is a tautology. F x’ is a tautology

Tautology Check 2. Other techniques – a row of 2’s, answer ‘Yes’ – a column of all 1’s or all 0’s, answer ‘No’ – compute an upper bound on the no. of minterms of on-set Ex: number of minterms n = 16 > 8 answer ‘No’ – n7, test by truth table

A Possible Irredundant Cover Algorithm?

Example of Irredundant Cover a b c d e F =

Example F covers C 3 = ? => Check tautology (F – C 3 ) C 3 a b c d e on-set count= on-set count= < 32, not tautology C 3 cannot be removed from the cover F covers C 7 = ? => Check tautology (F – C 7 ) C 7 a b c d e C 7 can be removed from the cover b b’ tautology

Slides shown below are for your reference.

Irredundant Cover Primes in F (1) relatively essential cube c of F (E) F - {c} is not a cover (2) redundant cubes –Totally redundant (R t ) a cube covered by relatively essential cubes and Don’t care –Partially redundant (R p )

Example F ={c 1,c 2,c 3 } E = {c 1,c 3 } R t = {c 2 } R p =  F ={c 1,c 2,c 3, c 4 } E = {c 1,c 4 } R t =  R p = {c 2,c 3 } Ex: c1c1 c2c2 c3c3 c1c1 c2c2 c4c4 c3c3

Irredundant Cover (1) Check whether cubes are relatively essential 1. tautology (F-c) C 2. If not tautology (F-c) c, c is relatively essential. (2) Check partially, totally redundant 1. tautology (ED) C (D : don’t care) 2. If yes, c istotally redundant If no, c ispartially redundant

Irredundant Cover (3) Minimal Irredundant (R p ) For each rR p, define the minimal set S such that (R p - S)ED is NOT a cover ex: R p = {c 4,c 3,c 2 } S 4 ={{c 4,c 3 }} S 3 = {{c 3,c 4 },{c 3,c 2 }} S 2 = {{c 2,c 3 }} Find a minimum subset of partially irredundant set such that combining with relatively essential cubes, it forms a cover. c1c1 c2c2 c4c4 c3c3 c5c5

Irredundant Cover Define a matrix B. Each rows corresponds to a S i B ij = 1 if R pj in S i 0 otherwise Ex: R p = {c 4,c 3,c 2 } S 4 = {{c 4,c 3 }} S 3 = {{c 3,c 4 },{c 3,c 2 }} S 2 = {{c 2,c 3 }} c 2 c 3 c 4 S S S S minimum column cover of B minimal irredundant cover

Irredundant Cover Two things: 1. find minimal set S 2. find minimal column covering

Find Minimal Set S For each r in R p, find all minimal sets S (R p - S)ED does not cover r Tautology((R p - S)ED) r is not a tautology. Let A = (R p ) r B = (ED) r AB1 determine all minimal subset S A such that (A - S)B1

Find Minimal Set S D =  A = (R p ) r taut(A) If A is a unate cover with (A 1), then there must be at least one row of 2’s in the cover A take S to be the set of all such cubes, then A - S1 Let E else binate select x j split A xj, A xj’ S xj taut(A xj ) S xj’ taut(A xj’ ) merge: S = S x S x’ (A-S)1(A x -S x )1 OR (A x’ - S x’ )1 ) (

Irredundant Cover Let A =(R p ) r B=(E D) r AB1 find subset SA such that (A - S)B1

Example ex: A =(R p ) r B =   x 4 x 5 x 6                              x4x4 x 4’ x5x5 x 5’ x5x5 {5,7} {5,6} {4,7} {4,6} {{5,7},{5,6}} {{4,7},{4,6}}