Home › Practice › Digital Fundamentals › K-map: fill it from a table
K-map: fill it from a table
EasyK-mapcombinationallogic
A small controller has three inputs A, B, C and one output F. Its truth table is:
| A B C | F | A B C | F |
|---|---|---|---|
| 0 0 0 | 0 | 1 0 0 | 1 |
| 0 0 1 | 1 | 1 0 1 | 1 |
| 0 1 0 | 0 | 1 1 0 | 1 |
| 0 1 1 | 1 | 1 1 1 | 1 |
Concept first. A group on a K-map must be a rectangle of 1s with 1, 2, 4 or 8 cells. A group of 2 removes one input from the term, a group of 4 removes two, and a group of 8 (the whole map) removes all three. So a bigger group means fewer letters, which means fewer gates in hardware. That is why you always look for the largest group first, and let groups overlap if that makes them larger. On a three-input map, a group of 4 is either a whole row or two neighbouring columns across both rows. Do not forget that a group has to be a rectangle, so a lonely 1 that sits next to a large group should join that group instead of being circled alone.
What to do. Click cells to copy the table into the map (find each cell by its A, B, C values), then group the 1s with New group and Done, and press Check.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.