Sunday, July 7, 2013

on

The Exclusive-NOR Gate

Definition

The Exclusive-NOR Gate function or Ex-NOR for short, is a digital logic gate that is the reverse or complementary form of the Exclusive-OR function we look at in the previous section. 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 = (    B) = A.B + A.B
In other words, the output of an 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". An even number of logic "1's" on its inputs gives a logic "1" at the output. 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, (      ) we have seen previously.

Ex-NOR Gate Equivalent

exclusive-nor gate

The Exclusive-NOR Gate 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 Logic Gate
2-input Ex-NOR Gate
BAQ
001
010
100
111
Boolean Expression Q =     B Read if A AND B the SAME gives Q

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 EX-Nor gate
3-input Ex-NOR Gate
CBAQ
0001
0010
0100
0111
1000
1011
1101
1110
Boolean Expression Q =     B     C Read as "any EVEN number of Inputs" gives Q

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 =     B = (A.B) + (A.B)  which means we can realise this new expression using the following individual gates.

Ex-NOR Gate Equivalent Circuit

2-input EX-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 AND, NOT 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 Adders, Subtractors 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 Exclusive-NOR gate IC's include:
  TTL Logic Types
  •  
  • 74LS266 Quad 2-input
  CMOS Logic Types
  •  
  • CD4077 Quad 2-input

Quad 2-input Ex-NOR Gate 74266

74LS266 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.

0 comments:

Post a Comment