Samiksha Jaiswal (Editor)

XNOR gate

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The XNOR gate (sometimes, EXNOR, ENOR, and, rarely, NXOR, XAND) is a digital logic gate whose function is the logical complement of the exclusive OR (XOR) gate. The two-input version implements logical equality, behaving according to the truth table to the right. A high output (1) results if both of the inputs to the gate are the same. If one but not both inputs are high (1), a low output (0) results.

Contents

Symbols

There are 2 symbols for XNOR gates: one with distinctive shape and one with rectangular shape and label. The distinctive symbol for the XNOR gate is that of the XOR gate with an added inversion bubble.

The XNOR gate with inputs A and B implements the logical expression A B + A ¯ B ¯ .

Hardware description and pinout

XNOR gates are represented in most TTL and CMOS IC families. The standard 4000 series CMOS IC is the 4077 and the TTL IC is the 74266. Both include four independent, two-input, XNOR gates. The pinout diagram is as follows:

Pinout diagram of a 74266 quad XNOR DIP-format IC.

This device is available from most semiconductor manufacturers such as NXP. It is usually available in both through-hole DIP and SOIC format. Datasheets are readily available in most datasheet databases. DIL is a dual in-line package, and SIL is a single in-line package.

Alternatives

If no specific XNOR gates are available, one can be made from four NOR gates or five NAND gates in the configurations shown below. In fact, any logic gate can be made from combinations of only NAND gates or only NOR gates.

References

XNOR gate Wikipedia