Wire: Difference between revisions

133 bytes added ,  1 January 2021
no edit summary
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 175: Line 175:
The '''NAND gate''' accepts two inputs. It is generally equivalent to an AND gate immediately followed by an inverter. If both input signals are ON, the output signal will be OFF. Otherwise, the output signal will be ON.
The '''NAND gate''' accepts two inputs. It is generally equivalent to an AND gate immediately followed by an inverter. If both input signals are ON, the output signal will be OFF. Otherwise, the output signal will be ON.


Oddly enough, no corresponding NOR gate for OR is provided. NAND being provided at all may just be a demonstration of [[NAND logic]]; perhaps, if CC2 development were slightly different, we would've ended up with only NOR gates, as a separate demonstration of [[NOR logic]].
The point of including a NAND gate when an inverter can simply be placed after a regular AND gate, aside from speed and compactness, may be to demonstrate [http://en.wikipedia.org/wiki/NAND_logic NAND logic]: all other logic gates can be constructed with only combinations of NAND gates. Its inclusion over a NOR gate would be arbitrary, as similar [http://en.wikipedia.org/wiki/NOR_logic NOR logic] exists.


{| class="wikitable"
{| class="wikitable"
trusted-editors
331

edits