Build a truth table and Karnaugh map for any expression over variables A–D. Supports AND (&&), OR (||), NOT (!), XOR (^), NAND, NOR and XNOR, and derives the canonical Sum of Products.
| # | A | B | C | Output |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 2 | 0 | 1 | 0 | 0 |
| 3 | 0 | 1 | 1 | 1 |
| 4 | 1 | 0 | 0 | 0 |
| 5 | 1 | 0 | 1 | 1 |
| 6 | 1 | 1 | 0 | 1 |
| 7 | 1 | 1 | 1 | 1 |
| A \ BC | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 0m0 | 0m1 | 1m3 | 0m2 |
| 1 | 0m4 | 1m5 | 1m7 | 1m6 |
Neighbouring 1s (including across the edges) form groups that collapse into a simpler term.
(!A && B && C) || (A && !B && C) || (A && B && !C) || (A && B && C)marduc812
© 202620260824_1c411cc