cjdrake / pyeda

Python EDA
BSD 2-Clause "Simplified" License
305 stars 55 forks source link

Algebraic Normal Form #111

Closed cjdrake closed 8 years ago

cjdrake commented 9 years ago
a [b (+) c] <=> ab (+) ac

~a <=> 1 (+) a

a + b + c <=> a (+) b (+) c (+) ab (+) ac (+) bc (+) abc

eq(a, b, c) <=> 1 (+) a (+) b (+) c (+) ab (+) ac (+) bc

a => b <=> 1 (+) a (+) ab

s ? d1 : d0 <=> s * d1 (+) s * d0 (+) d0