This article is about NAND Logic in the sense of building other logic gates using just NAND gates. For information on NAND Gates, see NAND gate. For NAND in the purely logical sense, see NAND. For logic gates generally, see Logic gate.. For other uses, see NAND logic (disambiguation).
Like NOR gates, NAND gates can be combined to form any other kind of logic gate.
This is made by joining the legs of a NAND gate. As a NAND gate is equivalent to an AND gate leading to NOT gate, this automatically sees to the "AND" part of the NAND gate, leaving only the NOT part.
If the truth table for a NAND gate is examined, it can be seen that if any of the inputs are 0, then the output will be 1. However to be an OR gate, if any input is 1, the output must also be 1. Therefore, if the inputs are inverted, any high input will trigger a high output.