Combinational outputs depend only on the current inputs, with no memory. This page walks the four steps from truth table to gate diagram and runs one worked example so the order never gets muddled.
The fixed flow is four steps: list a truth table covering every input combination, write the sum of minterms, simplify it on a Karnaugh map into the minimal sum of products, then pick gates or a 74-series chip. When the flow stalls, the truth table itself is usually wrong.
Worked example, an exclusive-OR: output 1 when inputs differ. The two rows with output 1 give Y equals not A and B or A and not B, already minimal on the map, built with two ANDs, two NOTs and one OR, or simply one 74LS86. Clear the table first and gate choice follows naturally.
Do not waste don-t-care terms. In the map you may treat an X as 0 or 1 to make a bigger block and save gates, but only if that input combination truly never occurs on site, otherwise the circuit answers wrongly there.
| Step | Deliverable | Common mistake |
|---|---|---|
| Truth table | All input combinations | Missing a row |
| Expression | Sum of minterms | Wrong minterm |
| K-map | Minimal SOP | Looping non-adjacent |
| Gate pick | Schematic or chip | Too many gate types |
| Don-t-care | X as 0 or 1 | Occurs on site |
| Verify | Spot check | Only typical rows |
The four-step method fits any memoryless logic: alarm interlocks, encoders, comparators. After drawing, substitute several inputs to verify, not just the typical ones.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Combinational design per GB/T 4728, logic devices per IEC 60748. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.