Tautology Decision May be able to use unateness to simplify process

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Presented by: Ms. Maria Estrellita D. Hechanova, ECE
Three Special Functions
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
FUNCTION OPTIMIZATION Switching Function Representations can be Classified in Terms of Levels Number of Levels, k, is Number of Unique Boolean (binary)
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.
CSEE 4823 Advanced Logic Design Handout: Lecture #2 1/22/15
Logical Systems Synthesis.
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
Chapter 3 Simplification of Switching Functions. Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
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.
Multi-Valued Input Two-Valued Output Functions. Multi-Valued Input Slide 2 Example Automobile features 0123 X1X1 TransManAuto X2Doors234 X3ColourSilverRedBlackBlue.
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.
ECE 667 Synthesis and Verification of Digital Systems
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
Tautology. Tautology Decision May be able to use unateness to simplify process Unate Function – one that has either the uncomplemented or complemented.
BOOLEAN FUNCTION PROPERTIES
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 2.
Combinatorial Algorithms Unate Covering Binate Covering Graph Coloring Maximum Clique.
Chapter 3. Minimization of Switching Functions. Given a sw function f(x 1, x 2, …, x n ) and some cost criteria, find a representation of f which minimizes.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Combinational Logic Part 2: Karnaugh maps (quick).
Chapter 6 Quine-McCluskey Method Mei Yang ECG Logic Design 1.
Karnaugh Maps (K-Map) A K-Map is a graphical representation of a logic function’s truth table.
Boolean Functions 1 ECE 667 ECE 667 Synthesis and Verification of Digital Circuits Boolean Functions Basics Maciej Ciesielski Univ.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
More NP-Complete and NP-hard Problems
Understanding the basics of the decomposition methods, discussed in the earlier lectures, leads to devising a general and complete decomposition method.
Chapter 11 (Part 1): Boolean Algebra
Chapter 2: Boolean Algebra and Logic Functions
Heuristic Minimization of Two-Level Logic
Computer Organisation
Chapter 4 Simplification of Boolean Functions Karnaugh Maps
CS 105 Digital Logic Design
QUINE-McCLUSKEY METHOD
Recovering and Exploiting Structural Knowledge from CNF Formulas
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Boolean Algebra A Boolean algebra is a set B of values together with:
ECE 2110: Introduction to Digital Systems
September 7 Notes Boolean Algebra.
Karnaugh Maps.
ECE 331 – Digital System Design
Boolean Algebra.
ICS 353: Design and Analysis of Algorithms
Instructor: Alexander Stoytchev
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.
Richard Anderson Lecture 28 NP-Completeness
Basic notions contd... Definition:
SYEN 3330 Digital Systems Chapter 2 – Part 5 SYEN 3330 Digital Systems.
Applied Discrete Mathematics Week 4: Functions
MINTERMS and MAXTERMS Week 3
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.
Minimization of Switching Functions
Heuristic Minimization of Two Level Circuits
A logic function f in n inputs x1, x2, ...xn and
Heuristic Minimization of Two Level Circuits
CHAPTER 6 QUINE-McCLUSKEY METHOD
design entry (schematic capture, VHDL, truth table and etc.)
Analysis of Logic Circuits Example 1
A logic function f in n inputs x1, x2, ...xn and
ECE 331 – Digital System Design
Presentation transcript:

Tautology Decision May be able to use unateness to simplify process Unate Function – one that has either the uncomplemented or complemented literals for each variable Function F is weakly unate with respect to the variable Xi when there is a variable Xi and at least one constant a  Pi satisfying F(|Xi = a)  F (X1 , . . , Xi , . . , Xn ) The SOP F is weakly unate with respect to the variable Xi when in an array F there is a sub-array of cubes that depend on Xi and in this sub-array all the values in a column are 0.

Weakly Unate SOP F Example c3 and c4 depend on variable X1 first column of c3 and c4 are all 0. Therefore F is weakly unate with respect to the variable X1 X1 X2 X3 1111 – 1110 – 1110 c1 1111 – 1101 – 1101 c2 0110 – 0110 – 1101 c3 0101 – 0111 – 1101 c4 F =

Tautology Decision - Weakly Unate Simplification Theorems Let an SOP F be weakly unate with respect to the variable Xj. Among the cubes of F, let G be the set of cubes that do not depend on the variable Xj. Then, G  1  F  1. Theorem 9.7 Let c1 = XjSA and c2 = XjS B where SA  SB = Pj and SA  SB =  Then, F  1  F(|c1)  1 and F(|c2)  1.

Tautology Decision Algorithm If F has a column with all 0’s, then F is not a tautology. Let F = {c1,c2 , . . . ,ck}, where ci is a cube. If the sum of the number of minterms in all cubes ci is less the total number in the univeral, cube then F is not a tautology. If there is a cube with all 1’s in F, then F is a tautology. When we consider only the active columns in F, if they are all two-valued, and if the number of variables is less than 7, then decide the tautology of F by the truth table.

Tautology Decision Algorithm (continued) When there is a weakly unate variable, simplify the problem by using Theorem 9.6 When F consists of more than one cube: F is a tautology iff F(|c1)  1 and F(|c2)  1 where c1 = XjSA and c2 = XjS , SA  SB = Pj and SA  SB =  .

Tautology Decision Examples: G = 01 – 100 – 1100 11 – 111 – 0010 Examples: X3 variable has column with all 0’s, so not a tautology. F does not depend on X1. Let c1= (11- 110 - 1111) and c2= (11- 110 - 1111) By Thm 9.7, F is a tautology. G = 11 – 110 – 1110 11 – 110 – 0001 11 – 001 – 1111 F= 11 – 111 – 1110 11 – 111 – 0001 11 – 111 – 1111 F1= F(|c1) =  1  11 – 111 – 1111 F2= F(|c2) =  1

Generation of Prime Implicants Definitions: Prime Implicant - an implicant contained by no other implicant. A set of prime implicants for a function F is denoted by PI(F ) Strongly Unate - Let X be a variable that takes a value in P={0, 1, 2, …, p-1}. If there a total order () on the values of variable X in function F, such that j  k ( j, k  P) implies F(| X = j)  F(| X = k), then the function F is strongly unate with respect to X. If F is strongly unate with respect to all the variables, then the function F is strongly unate.

Generation of Prime Implicants Definitions: Strongly Unate – Next, assume that F is an SOP. If there is a total order () among the values of variable X, and if j  k ( j, k  P), then each product term of the SOP F(| X = j) is contained by all the product term of the SOP F(| X = k). In this case the SOP F is strongly unate with respect to X. If F is strongly unate with respect to Xi, then F is weakly unate with respect to Xi.

Strongly Unate Example 1111 – 1001 0111 – 0111 0011 – 0110 0001 – 0101 F(|X2= 0) = (1111 – 1111) F(|X2= 1) = F(|X2= 2) = F(|X2= 3) = F(|X2= 2) < F(|X2= 1) < F(|X2= 0) = F(|X2= 3) F = F(|X1= 0) = (1111 – 1001) F(|X1= 1) = F(|X1= 2) = F(|X1= 3) = F(|X1= 0) < F(|X1= 1) = F(|X1= 2) = F(|X1= 3) F is strongly unate with respect to X1 and to X2 0111 – 1111 0011 – 1111 0001 – 1111 1111 – 1001 1111 – 0111 1111 – 1001 1111 – 0111 1111 – 0110 0111 – 1111 0011 – 1111 1111 – 1001 1111 – 0111 1111 – 0110 1111 – 0101 1111 – 1111 0111 – 1111 0001 – 1111

Generation of Prime Implicants Generation of Prime Implicants Algorithm

Generation of Prime Implicants Example:

Generation of Prime Implicants Example:

Generation of Prime Implicants Example:

Sharp Operation Sharp Operation: (#) Used to computer F  G, assume For 2-valued inputs and F = U, n-variable function generates  (3n / n) prime implicants, so sharp function time consuming. Disjoint Sharp Operation: ( # ) Used to compute F  G. Cubes are disjoint, n-variable function has at most 2n cubes.

Sharp Operation

Sharp Operation

Sharp Operation Example:

Sharp Operation Example:

Sharp Operation Example:

Sharp Operation Example: