Mantu

Exclusive-NOR Gate Tutorial

The Exclusive-NOR Gate function is a digital logic gate that is the reverse or complementary form of the Exclusive-OR function

Basically the “Exclusive-NOR” gate is a combination of the Exclusive-OR gate and the NOT gate but has a truth table similar to the standard NOR gate in that it has an output that is normally at logic level “1” and goes “LOW” to logic level “0” when ANY of its inputs are at logic level “1”.

However, an output “1” is only obtained if BOTH of its inputs are at the same logic level, either binary “1” or “0”. For example, “00” or “11”. This input combination would then give us the Boolean expression of:  Q = (A ⊕ B) = A.B + A.B

Then the output of a digital logic Exclusive-NOR gate ONLY goes “HIGH” when its two input terminals, A and B are at the “SAME” logic level which can be either at a logic level “1” or at a logic level “0”. In other words, an even number of logic “1’s” on its inputs gives a logic “1” at the output, otherwise is at logic level “0”.

Then this type of gate gives and output “1” when its inputs are “logically equal” or “equivalent” to each other, which is why an Exclusive-NOR gate is sometimes called an Equivalence Gate.

The logic symbol for an Exclusive-NOR gate is simply an Exclusive-OR gate with a circle or “inversion bubble”, ( Î¿ ) at its output to represent the NOT function. Then the Logic Exclusive-NOR Gate is the reverse or “Complementary” form of the Exclusive-OR gate, (A ⊕ B) we have seen previously.

Ex-NOR Gate Equivalent

exclusive-nor gate

 

The Exclusive-NOR Gate, also written as: “Ex-NOR” or “XNOR”, function is achieved by combining standard gates together to form more complex gate functions and an example of a 2-input Exclusive-NOR gate is given below.

The Digital Logic “Ex-NOR” Gate

2-input Ex-NOR Gate

SymbolTruth Table
2-input exclusive-nor gate

2-input Ex-NOR Gate
BAQ
001
010
100
111
Boolean Expression Q = A ⊕ BRead if A AND B the SAME
gives Q
 

Giving the Boolean expression of:  Q = AB + AB

The logic function implemented by a 2-input Ex-NOR gate is given as “when both A AND B are the SAME” will give an output at Q. In general, an Exclusive-NOR gate will give an output value of logic “1” ONLY when there are an EVEN number of 1’s on the inputs to the gate (the inverse of the Ex-OR gate) except when all its inputs are “LOW”.

Then an Ex-NOR function with more than two inputs is called an “even function” or modulo-2-sum (Mod-2-SUM), not an Ex-NOR. This description can be expanded to apply to any number of individual inputs as shown below for a 3-input Exclusive-NOR gate.

3-input Ex-NOR Gate

SymbolTruth Table
3-input exclusive-nor gate

3-input Ex-NOR Gate
CBAQ
0001
0010
0100
0111
1000
1011
1101
1110
Boolean Expression Q = A ⊕ B ⊕ CRead as “any EVEN number of Inputs”
gives Q
 

Giving the Boolean expression of:  Q = ABC + ABC + ABC + ABC

We said previously that the Ex-NOR function is a combination of different basic logic gates Ex-OR and a NOT gate, and by using the 2-input truth table above, we can expand the Ex-NOR function to: Q = A ⊕ B = (A.B) + (A.B) which means we can realise this new expression using the following individual gates.

Ex-NOR Gate Equivalent Circuit

exclusive-nor gate equivalent

 

One of the main disadvantages of implementing the Ex-NOR function above is that it contains three different types logic gates the ANDNOT and finally an OR gate within its basic design. One easier way of producing the Ex-NOR function from a single gate type is to use NAND gates as shown below.

Ex-NOR Function Realisation using NAND gates

exclusive-nor gate using nand gates

 

Ex-NOR gates are used mainly in electronic circuits that perform arithmetic operations and data checking such as AddersSubtractors or Parity Checkers, etc. As the Ex-NOR gate gives an output of logic level “1” whenever its two inputs are equal it can be used to compare the magnitude of two binary digits or numbers and so Ex-NOR gates are used in Digital Comparator circuits.

Commonly available digital logic Exclusive-NOR gate IC’s include:

TTL Logic Ex-NOR Gates

  • 74LS266 Quad 2-input

CMOS Logic Ex-NOR Gates

  • CD4077 Quad 2-input

74266 Quad 2-input Ex-NOR Gate

74266 exclusive-nor gate

 

In the next tutorial about Digital Logic Gates, we will look at the digital Tri-state Buffer also called the non-inverting buffer as used in both TTL and CMOS logic circuits as well as its Boolean Algebra definition and truth table.

Previous Post Next Post

Hig

Pogotv