Kmaps
- Read the truth table, and, in each instance when the expression $E$ is true, put $1$ inside the corresponding cell in the Kmap.
Note that the order of the cells in the Kmap doesn't exactly correspond to the order of rows in the truth table.
For example, in the case of a 3-variable expression, the values of $E$ from the top 4 rows of the truth table should be placed in the Kmap in the following order:
Bit from row $0$ | Bit from row $1$ | Bit from row $3$ | Bit from row $2$ |
That is, instead of adding the bits from rows $0$, $1$, $2$, and then $3$, the 1st row of the Kmap will contain the bits from rows $0$, $1$, $3$, and then $2$.
Tip: The tiny numbers inside the Kmap diagrams' cells tell you what rows each cell corresponds to!