Tautology. Tautology Decision May be able to use unateness to simplify process Unate Function – one that has either the uncomplemented or complemented.

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.
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
Figure 4.1. The function f (x1, x2, x3) =  m(0, 2, 4, 5, 6).
Gate-Level Minimization
ECE 3110: Introduction to Digital Systems Simplifying Sum of Products using Karnaugh Maps.
4.2 Strategy for minimization So far, we used an intuitive approach to decide how the 1s in the K-map should be grouped together to obtain the minimum-cost.
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.
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
COE 561 Digital System Design & Synthesis Two-Level Logic Synthesis
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
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.
Multi-Valued Input Two-Valued Output Functions. Multi-Valued Input Slide 2 Example Automobile features 0123 X1X1 TransManAuto X2Doors234 X3ColourSilverRedBlackBlue.
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.
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
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’,
Chapter 2: Boolean Algebra and Logic Functions
BOOLEAN FUNCTION PROPERTIES
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
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.
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Multi-Valued Logic.
2-Level Minimization Classic Problem in Switching Theory Tabulation Method Transformed to “Set Covering Problem” “Set Covering Problem” is Intractable.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
Chapter 6. Threshold Logic. Logic design of sw functions constructed of electronic gates different type of switching element : threshold element. Threshold.
Combinational Logic Part 2: Karnaugh maps (quick).
Chapter 6 Quine-McCluskey Method Mei Yang ECG Logic Design 1.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 4: Logic Optimization Chapter 4.
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
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
Karnaugh Maps (K maps).
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.
CHAPTER 2 Boolean algebra and Logic gates
Computer Science 210 Computer Organization
Chapter 2: Boolean Algebra and Logic Functions
Heuristic Minimization of Two-Level Logic
Computer Organisation
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
ECE 2110: Introduction to Digital Systems
ECE 331 – Digital System Design
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Optimization Algorithm
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.
MINTERMS and MAXTERMS Week 3
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
Instructor: Alexander Stoytchev
Overview Part 2 – Circuit Optimization
Heuristic Minimization of Two Level Circuits
Instructor: Alexander Stoytchev
Analysis of Logic Circuits Example 1
Tautology Decision May be able to use unateness to simplify process
Propositional Satisfiability
Presentation transcript:

Tautology

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 X i when there is a variable X i and at least one constant a  P i satisfying F(|X i = a)  F (X 1,.., X i,.., X n ) The SOP F is weakly unate with respect to the variable X i when in an array F there is a sub-array of cubes that depend on X i and in this sub-array all the values in a column are 0.

Weakly Unate SOP F Example c 3 and c 4 depend on variable X 1 first column of c 3 and c 4 are all 0. Therefore F is weakly unate with respect to the variable X 1 X 1 X 2 X – 1110 – 1110 c – 1101 – 1101 c – 0110 – 1101 c – 0111 – 1101 c 4 F =F =

Tautology Decision - Weakly Unate Simplification Theorems Theorem 9.6 Let an SOP F be weakly unate with respect to the variable X j. Among the cubes of F, let G be the set of cubes that do not depend on the variable X j. Then, G  1  F  1. Theorem 9.7 Let c 1 = X j S A and c 2 = X j S B where S A  S B = P j and S A  S B =  Then, F  1  F(|c 1 )  1 and F(|c 2 )  1.

Tautology Decision Algorithm 1.If F has a column with all 0’s, then F is not a tautology. 2.Let F = { c 1,c 2,...,c k }, where c i is a cube. If the sum of the number of minterms in all cubes c i is less the total number in the univeral, cube then F is not a tautology. 3.If there is a cube with all 1’s in F, then F is a tautology. 4.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) 5.When there is a weakly unate variable, simplify the problem by using Theorem When F consists of more than one cube: F is a tautology iff F(|c 1 )  1 and F(|c 2 )  1 where c 1 = X j S A and c 2 = X j S, S A  S B = P j and S A  S B = .

Tautology Decision Examples: 1. X 3 variable has column with all 0’s, so not a tautology. 2. F does not depend on X 1. Let c 1 = ( ) and c 2 = ( ) By Thm 9.7, F is a tautology. G =G = 01 – 100 – – 111 – 0010 F= 11 – 111 – 1111 F 2 = F(|c 2 ) = 11 – 110 – – 110 – – 001 – 1111 F 1 = F(|c 1 ) = 11 – 111 – – 111 – 0001  1 11 – 111 – 1111  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 X i, then F is weakly unate with respect to X i.

Strongly Unate Example F(|X 1 = 0) = (1111 – 1001) F(|X 1 = 1) = F(|X 1 = 2) = F(|X 1 = 3) = F(|X 1 = 0) < F(|X 1 = 1) = F(|X 1 = 2) = F(|X 1 = 3) F is strongly unate with respect to X 1 and to X – – – – 0101 F =F = 1111 – – – – – – – – – 0101 F(|X 2 = 0) = (1111 – 1111) F(|X 2 = 1) = F(|X 2 = 2) = F(|X 2 = 3) = F(|X 2 = 2) < F(|X 2 = 1) < F(|X 2 = 0) = F(|X 2 = 3) 0111 – – – – – – – – 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  ( 3 n / 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 2 n cubes.

Sharp Operation

Example:

Sharp Operation Example:

Sharp Operation Example:

Sharp Operation Example:

Problems to think and to Solve 1.Sharp operation for MV logic in Cube Calculus. 2.Realization of MV circuits and optimization using Sharp. 3.Applications of MV Tautology. 4.Strongly Unspecified MV functions. 5.Generation of Prime Implicants 6.Unate MV functions.