Designing a Binary Decoder Circuit with K-Maps

A binary decoder takes an n-bit input and activates exactly one of 2ⁿ outputs — the one matching the input code. It's one of the simplest circuits to minimize with a K-map, for a reason worth understanding rather than just accepting: every output is already a single minterm by definition, before any simplification is even attempted.

The 2-to-4 decoder

Two inputs (A, B), four outputs, each active for exactly one input combination:

ABY0Y1Y2Y3
001000
010100
100010
110001

Verified minimal expression for each output:

Y0 = A′B′    Y1 = A′B    Y2 = AB′    Y3 = AB

Why there's nothing left to simplify

Each output is 1 for exactly one input row and 0 everywhere else — which means each output's K-map has exactly one filled cell, with every neighboring cell empty. A single isolated cell has no adjacent 1 to combine with, so the "group" is just that one cell by itself, already at minimum size. This isn't a coincidence of this particular decoder — it's guaranteed by what a decoder's job actually is: activate one and only one output per input, which structurally means every output's truth table has exactly one 1 in it, always.

Does this scale to larger decoders?

Yes, exactly the same way — a 3-to-8 decoder has eight single-minterm outputs, a 4-to-16 decoder has sixteen, and so on. The literal count per output grows with the number of input bits (each output needs one literal per input, since it's still just a single minterm), but there's never any grouping opportunity to look for, at any size, for the same structural reason.

The practical takeaway

Decoders are a case where reaching for K-map grouping techniques (looking for larger rectangles, checking wraparound, worrying about essential prime implicants) is wasted effort — every output is already at its simplest possible form the moment it's written down. Recognizing that on sight, rather than working through a full K-map process out of habit, saves real time.

Confirm any decoder output directly: try the 2-variable solver or scale up with 3-variable and beyond.

Try it on the solver

Work through the examples above directly — enter the same minterms or expression into the live tool.

Open the K-Map Solver