retagged by
1,981 views
1 votes
1 votes
1. Xor and xnor are same in case number of inputs of odd?

2.If above is yes,then why do we say these ae complement?

3.Are these associative and commutative for more than 2 i/p?

4.How do we correctly define them for more than 2 i/p?Is it just that exor checks odd no. of 1's and xnor checks even number of 1'a?

5.Why exnor is called as even function?
retagged by

1 Answer

0 votes
0 votes

3 input XOR Gate is not same as 3 input XNOR Gate 

3 input XNOR is not same as cascading  two 2 input XNOR gates

A XNOR B XNOR C !=
(A XNOR (B XNOR C))

N-input XNOR gate is complement of N-input  XOR gate

Wikipedia definition:

The XNOR gate (sometimes XORN'TENOREXNOR or NXOR and pronounced as Exclusive NOR) is a digital logic gate whose function is the logical complement of the exclusive OR (XOR) gate.

*XOR gate(odd function) is odd parity checker and even parity generator

*XNOR(even function)  is Even parity checker and Odd parity generator  

For N(fanin)>2,

XOR gate can be associated:

XOR b XOR c = (a XOR( b XOR c ))=((a XOR b) XOR c)

 

For n>=2,

Odd input XNOR gate cannot be associated:

XNOR b XNOR c != (a XNOR( b XNOR c ))=((a XNOR b) XNOR c)

Even input XNOR gate can be associated

edited by

Related questions

3 votes
3 votes
2 answers
1
1 votes
1 votes
1 answer
3
lolalo asked Jul 14, 2022
2,714 views
In the equation, a(xor)b(xnor)c, does b belong to xor or xnor? that equation detects even one’s !?