XNOR gate: Difference between revisions

From Fox Labs Wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable floatright" style="text-align:center" |- ! colspan="3" | XNOR gate truth table |- bgcolor="#ddeeff" |colspan=2|'''Input''' || '''Output''' |- bgcolor="#ddeeff" | A || B || A XNOR B |- |{{no2|0}} || {{no2|0}} || {{yes2|1}} |- |{{no2|0}} || {{yes2|1}} || {{no2|0}} |- |{{yes2|1}} || {{no2|0}} || {{no2|0}} |- |{{yes2|1}} || {{yes2|1}} || {{yes2|1}} |} thumb|165x165px|ANSI XNOR gate symbol In digital electronics, a '''XNOR ga...")
 
mNo edit summary
 
Line 17: Line 17:
[[File:XNOR ANSI.svg|thumb|165x165px|ANSI XNOR gate symbol]]
[[File:XNOR ANSI.svg|thumb|165x165px|ANSI XNOR gate symbol]]
In [[digital electronics]], a '''XNOR gate''' or '''Exclusive NOR gate''' is a [[logic gate]] which produces an output of true only when either all the inputs are false or true. A LOW (0) output results when any of the inputs are HIGH (1) both not all of them; if all the inputs are LOW, the result is also a HIGH output.
In [[digital electronics]], a '''XNOR gate''' or '''Exclusive NOR gate''' is a [[logic gate]] which produces an output of true only when either all the inputs are false or true. A LOW (0) output results when any of the inputs are HIGH (1) both not all of them; if all the inputs are LOW, the result is also a HIGH output.
The XNOR gate (along with the [[XOR gate]]) is one of the only two logic gates that does not have an [[integrated circuit]] containing more than two inputs.


= Logic =
= Logic =

Latest revision as of 06:12, 9 November 2023

XNOR gate truth table
Input Output
A B A XNOR B
0 0 1
0 1 0
1 0 0
1 1 1
ANSI XNOR gate symbol

In digital electronics, a XNOR gate or Exclusive NOR gate is a logic gate which produces an output of true only when either all the inputs are false or true. A LOW (0) output results when any of the inputs are HIGH (1) both not all of them; if all the inputs are LOW, the result is also a HIGH output.

The XNOR gate (along with the XOR gate) is one of the only two logic gates that does not have an integrated circuit containing more than two inputs.

Logic

A two-input XNOR gate can be expressed in Boolean logic as , or .

Alternatives

If a specific type of gate is not available, a circuit that implements the same function can be constructed from other available gates. Through the use of the "universal" NAND gates and NOR gates, almost any other Boolean logic gate can be constructed.

A XNOR gate can be constructed using five NAND gates or four NOR gates in the following topologies:

An AND gate constructed from two NAND gates
An AND gate constructed from two NAND gates

Additionally, using a different topology, the same can be achieved as follows:

See also