NAND — AND with an output bubble — logic gate symbols

corethe bubble as a composable modifier

Answer

output column 1110

Why this example is worth doing

NAND is drawn as the AND symbol with a bubble on its output, in both standards, which demonstrates that the bubble composes with any body rather than being part of a fixed symbol. The page makes the practical point that NAND is the cheapest gate in CMOS, so the bubbled forms are the primitives and the clean AND shape is the derived one — the opposite of the order they are taught in. A plain AND is a NAND followed by an inverter.

Try your own input in the Logic gate symbols. Every gate in both symbol standards, side by side, on a printable one-page chart.

How the answer is reached

Truth table

Truth table — columns #, A, B, A ↑ B
#ABA ↑ B
0001
1011
2101
3110

Compare with

Open the Logic gate symbols

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

  • ANSI/IEEE Std 91-1984, Graphic Symbols for Logic Functions
  • IEC 60617-12, Graphical Symbols for Diagrams — Binary Logic Elements