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:

    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)

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)

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