MEPLAT.

Karnaugh Map minimisation

Rules

A Karnaugh map with rows and columns in Gray-code order. A' means NOT A.

Pick the minimal sum of products: the fewest groups, each as large as possible. Press 1 to 4 or click.

The other options are either not the same function or not minimal. An x cell is a don't-care: use it or not.

Difficulty grows from two variables to three and four, then more groups, then don't-cares.

Examples

1. 2 variables, 1s where A = 1
A

2. 3 variables, 1s at ABC = 001, 011, 101, 111
C

3. 4 variables, 1s in the four corners
B'D'

Time (min/sec):