The following boolean function is given $$ f = (\neg a \land b \land \neg c) \lor (a \land b \land \neg c) \lor (a \land b \land c)$$
which should be implemented with a 8:1 mux.
Write down the truth table.
I have the following truth table (abc - variables and f the function described above)
abcf
0000
0010
0101
0110
1000
1010
1101
1111
Is this correct?
1 Answer 1
Yes, what’s shown in your table is correct. A mux (this is, a lookup table) is a valid way of making logic. It’s how FPGA logic works.
You can also express the function as a sum of products, as three 3-input AND gates followed by a 3-input OR. This is how it would work in programmable logic like a CPLD, or in an actual custom ASIC. This is more area-efficient than a full lookup table.
1
s on the lines corresponding to1
s in the truth table, and use the selector inputs as an input. \$\endgroup\$d0
throughd7
as the output values. \$\endgroup\$d
s the corresponding values. \$\endgroup\$