Boolean Algebra and Binary Decision Diagrams - University of California ...
Boolean Algebra and Binary Decision Diagrams
Profs. Sanjit Seshia & Kurt Keutzer EECS
UC Berkeley
With thanks to Rob Rutenbar, CMU
1
Today's Lecture
? Boolean algebra basics ? Binary Decision Diagrams
? Representation, size ? Building BDDs
? Finish up with equivalence checking
S. Seshia
2
1
Recap
What is a ? Literal? ? Cube? ? Minterm?
S. Seshia
3
Boolean function
A Boolean function F of n variables x1, x2, ..., xn F : {0,1}n {0,1}
Mapped to 0
Mapped to 1
S. Seshia
4
2
Cofactors
A Boolean function F of n variables x1, x2, ..., xn F : {0,1}n {0,1}
Suppose we define new Boolean functions of n-1 variables as follows: Fx1 (x2, ..., xn) = F(1, x2, x3, ..., xn) Fx1' (x2, ..., xn) = F(0, x2, x3, ..., xn)
Fx1 and Fx1' are cofactors of F. What does their input state space look like?
S. Seshia
5
Examples of Cofactors
F(x, y, z) = xy + xz' + y(x'z + z') What's Fx ? y + z' + yz' Fx' ? yz + yz'
OK, so why are cofactors useful?
S. Seshia
6
3
Analogy: Taylor series expansion
Represent complex function using simpler functions
f(x) = f(0) + x f'(0) + x2/2! f"(0) + ...
Anything like this for Boolean functions? ANS: Yes, using cofactors!
S. Seshia
7
Shannon Expansion
F(x1, ..., xn) = xi . Fxi + xi' . Fxi'
Proof?
S. Seshia
8
4
Shannon expansion with many variables
F(x, y, z, w) = xy Fxy + x'y Fx'y + xy' Fxy' + x'y' Fx'y' Assuming previous slide, how would you derive the
above? Is Cofactoring commutative? i.e. (Fx)y = (Fy)x ?
S. Seshia
9
Properties of Cofactors
? Suppose you construct a new function H from two existing functions F and G: e.g.,
? H = F' ? H = F.G ? H=F+G ? Etc.
? What is the relation between cofactors of H and those of F and G?
S. Seshia
10
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- boolean functions and digital circuits
- chapter 3 boolean algebra and digital logic
- boolean functions and truth functional completeness
- truth tables and boolean algebra
- converting truth table abcdz to boolean equation
- karnaugh maps truth tables and boolean expressions idc online
- solutions for boolean functions and computer arithmetic
- truth table of a boolean function pennsylvania state university
- boolean expression truth table generator
- eecs 219c formal methods binary decision diagrams bdds
Related searches
- university of california essay prompts
- university of california supplemental essays
- university of california free tuition
- university of california campuses
- university of california online certificates
- address university of california irvine
- university of california at irvine ca
- university of california irvine related people
- university of california irvine staff
- university of california irvine employment
- university of california irvine address
- university of california irvine online