XOR gate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="wikitable floatright" style="text-align:center" |- ! colspan="3" | XOR gate truth table |- bgcolor="#ddeeff" |colspan=2|'''Input''' || '''Output''' |- bgcolor="#ddeeff" | A || B || A XOR B |- |{{no2|0}} || {{no2|0}} || {{no2|0}} |- |{{no2|0}} || {{yes2|1}} || {{yes2|1}} |- |{{yes2|1}} || {{no2|0}} || {{yes2|1}} |- |{{yes2|1}} || {{yes2|1}} || {{no2|0}} |} In digital electronics, an '''XOR gate''' is a logic gate which produces an output of true when...") |
No edit summary |
||
Line 15: | Line 15: | ||
|{{yes2|1}} || {{yes2|1}} || {{no2|0}} | |{{yes2|1}} || {{yes2|1}} || {{no2|0}} | ||
|} | |} | ||
In [[digital electronics]], an '''XOR gate''' is a [[logic gate]] which produces an output of true when any of its inputs are true, but not both. A LOW (0) output results when all of the inputs to the gate are LOW or all of the inputs are HIGH (1); if any of the inputs are HIGH | In [[digital electronics]], an '''XOR gate''' is a [[logic gate]] which produces an output of true when any one of its inputs are true, but not both. A LOW (0) output results when all of the inputs to the gate are LOW or all of the inputs are HIGH (1); if any one of the inputs are HIGH, a HIGH output results. | ||
== Logic == | == Logic == |
Revision as of 19:08, 8 November 2023
XOR gate truth table | ||
---|---|---|
Input | Output | |
A | B | A XOR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
In digital electronics, an XOR gate is a logic gate which produces an output of true when any one of its inputs are true, but not both. A LOW (0) output results when all of the inputs to the gate are LOW or all of the inputs are HIGH (1); if any one of the inputs are HIGH, a HIGH output results.
Logic
A two-input OR gate can be expressed in Boolean logic as , or .