Functional Completeness - Examples

Examples

  • Examples of using the NAND completeness. As illustrated by,
    • ¬A = A NAND A
    • A ∧ B = (A NAND B) NAND (A NAND B)
    • A ∨ B = (A NAND A) NAND (B NAND B)
  • Examples of using the NOR completeness. As illustrated by,
    • ¬A = A NOR A
    • A ∧ B = (A NOR A) NOR (B NOR B)
    • A ∨ B = (A NOR B) NOR (A NOR B)

Note that, an electronic circuit or a software function is optimized by the reuse, that reduce the number of gates. For instance, the "A ∧ B" operation, when expressed by NAND gates, is implemented with the reuse of "A NAND B",

X = (A NAND B); A ∧ B = X NAND X

Read more about this topic:  Functional Completeness

Famous quotes containing the word examples:

    No rules exist, and examples are simply life-savers answering the appeals of rules making vain attempts to exist.
    André Breton (1896–1966)

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)

    It is hardly to be believed how spiritual reflections when mixed with a little physics can hold people’s attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.
    —G.C. (Georg Christoph)