Is XNOR Gate Logic Correct for More Than 2 Inputs?

  • Thread starter fcbarcelona
  • Start date
  • Tags
    Gate Logic
In summary, the conversation discusses the logic of XNOR gates for more than 2 inputs. The correct logic is an even function of 1's, which can be written as NOT(A XOR B XOR C XOR D). The order of operations and inputs does not matter.
  • #1
fcbarcelona
2
0
hi,,
i m a bit confused in XNOR gate logic for MORE THAN 2 INPUTS..
is this logic correct "even function of 0's"..
need help in this regard,thanks in advance.. :confused:
 
Engineering news on Phys.org
  • #3
I don't think they found the right answer there.

The generalization of an XOR gate is the Parity - it is 1 if there is an odd number of "1" inputs.
XNOR is an inversed XOR - it is 1 if there is an even number of "1" inputs.

It can be written as NOT(A XOR B XOR C XOR D) - and as interesting feature, the order of operations (and inputs) does not matter.
 
  • #4
so it is even function of 1's... ??
 
  • #5


Yes, the XNOR gate logic is correct for more than 2 inputs. It is known as an "even function of 0's" because the output is only 1 when all the inputs are either 0 or all the inputs are 1. This is because XNOR stands for "exclusive NOR" and it follows the same logic as an XOR gate, except the output is inverted. So if all the inputs are the same, the output will be 1, and if they are different, the output will be 0. This is true for any number of inputs, not just 2. I hope this helps clarify your confusion.
 

What is an Exclusive NOR gate logic?

An Exclusive NOR gate logic is a digital logic gate that produces an output of 1 only when both its inputs are equal.

What is the truth table for an Exclusive NOR gate logic?

The truth table for an Exclusive NOR gate logic is as follows:

Input A Input B Output
0 0 1
0 1 0
1 0 0
1 1 1

What is the symbol for an Exclusive NOR gate logic?

The symbol for an Exclusive NOR gate logic is a circle with a small circle at its output, and the inputs are represented by the letters A and B.

What is the difference between an Exclusive NOR gate logic and an Exclusive OR gate logic?

The difference between an Exclusive NOR gate logic and an Exclusive OR gate logic is that an Exclusive NOR gate produces an output of 1 only when both its inputs are equal, while an Exclusive OR gate produces an output of 1 when either of its inputs is 1.

What are some common applications of Exclusive NOR gate logic?

Exclusive NOR gate logic is commonly used in digital circuits for error detection, data encryption, and parity checkers. It is also used in combination with other logic gates to create more complex circuits for controlling electronic devices.

Similar threads

Replies
2
Views
2K
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
4K
  • Advanced Physics Homework Help
Replies
12
Views
2K
Replies
5
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
13
Views
4K
  • Introductory Physics Homework Help
Replies
3
Views
1K
Replies
10
Views
1K
Replies
2
Views
194
  • Advanced Physics Homework Help
Replies
1
Views
777
Back
Top