XNOR Gate
The two-input XNOR gate is the complement of XOR and outputs HIGH when its sampled inputs are equal. Combine bitwise XNOR results with AND for word equality.
Overview
The two-input XNOR gate is the complement of XOR and outputs HIGH when its sampled inputs are equal. ANDing bitwise XNOR results implements equality for a wider word.
DigiSim Interface
| Direction | Pins | Behavior |
|---|---|---|
| Input | A, B | Two one-bit operands. |
| Output | Y | Driven equivalence result. |
Truth Table
Y = ¬(A ⊕ B). A relevant driven unknown produces X; a released Z input follows Logic Lab's
LOW sampling convention. This packaged component has exactly two inputs.
Simulation Boundary
The gate is a functional equality primitive; it does not claim a particular internal gate network, IC family, electrical interface, or propagation specification.
Learning Path
Prerequisites
Next Steps
Frequently Asked Questions
What is an XNOR gate?
XNOR (exclusive NOR) is the complement of XOR. It outputs 1 when inputs are equal (both 0 or both 1), and 0 when they are different.
How is XNOR used in comparators?
XNOR gates compare individual bits for equality. ANDing the outputs of multiple XNOR gates checks whether two multi-bit numbers are equal.