cjdrake / pyeda

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

Implement Mux function in pyeda.boolalg.expr #67

Closed cjdrake closed 10 years ago

cjdrake commented 10 years ago

Should implement something like this:

Mux([f0, f1, f2, f3], [s0, s1]) == ~s0 & ~s1 & f0 | s0 & ~s1 & f1 | ~s0 & s1 & f2 | s0 & s1 & f3