Component/XOR: Difference between revisions

From Turing Complete
(Added basic definition)
 
No edit summary
Line 1: Line 1:
The 1-bit Xor gate, also called exclusive OR, outputs an ON (1) state, but only if ONE of the inputs is in an ON (1) state.  If both inputs are ON, it outputs an OFF.  If neither input is ON, it outputs an OFF.  It is useful when you want to make sure that only 1 of 2 bits is ON.
The 1-bit Xor gate, also called exclusive OR, outputs a {{On}} or 1 state, but only if ONE of the inputs is in a {{On}} or 1 state.  If both inputs are {{On}}, it outputs an {{Off}}.  If neither input is {{On}}, it outputs an {{Off}}.  It is useful when you want to make sure that only 1 of 2 bits is {{On}}.

Revision as of 21:24, 30 December 2023

The 1-bit Xor gate, also called exclusive OR, outputs a or 1 state, but only if ONE of the inputs is in a or 1 state. If both inputs are , it outputs an . If neither input is , it outputs an . It is useful when you want to make sure that only 1 of 2 bits is .