AND-OR-INVERT: (A·B + C)′ as one complex gate — circuit to expression

exam standardreads back as (A·B + C)′

Answer

A′ · C′ + B′ · C′ (output column 10101000)

Why this example is worth doing

An AOI21 cell — AND-OR-Invert with a two-input AND and one straight input — drawn as one symbol because that is how it exists in a standard cell library. In CMOS it is a single stage of six transistors, cheaper and faster than the AND, OR and inverter it replaces. The page uses it to explain why synthesised netlists look nothing like the textbook AND-OR drawings, and why an inverting output is the default rather than an inconvenience.

Try your own input in the Logic circuit → expression. Wire up gates and read the Boolean expression and truth table back out.

How the answer is reached

Gate list

Gate list — columns Node, Gate, Inputs
NodeGateInputs
a1andA, B
o1ora1, C
invnoto1

Quine–McCluskey

Prime implicants — Quine–McCluskey
#Term
1A′ · C′
2B′ · C′
Minimum cover — Quine–McCluskey
#Cover
1A′ · C′ + B′ · C′
Warning:

2 term(s), 4 literal(s); 2 essential prime implicant(s).

Truth table

Truth table — columns #, A, B, C, F
#ABCF
00001
10010
20101
30110
41001
51010
61100
71110

Compare with

Open the Logic circuit → expression

This input is entered in the tool itself — it is too rich for a link to carry.

Note:

Notation this page assumes

  • Symbols: · is AND, + is OR, ⊕ is XOR, a prime or an overline is NOT. The field also takes ∧ ∨ ¬ ~ ! & | and the words.
  • Operator precedence, tightest first: NOT, then AND (including juxtaposition), then XOR/XNOR, then NAND/NOR, then OR, then IMPLIES, then IFF.
  • Gate symbols follow whichever standard the header toggle is set to: ANSI/IEEE Std 91-1984 distinctive shapes, or IEC 60617-12 rectangles.

Sources

  • Shannon, “A Symbolic Analysis of Relay and Switching Circuits” (1938)
  • ANSI/IEEE Std 91-1984, Graphic Symbols for Logic Functions