| Gates: XNOR | |||||||||||||||
| XNOR gate: implements XNOR (negated exclusive-OR) function | |||||||||||||||
| Input: 2 bits | |||||||||||||||
| Output: 1 bit | |||||||||||||||
| Truth table: | Symbol: | ||||||||||||||
| Input | Output | ||||||||||||||
| x0 | x1 | z | |||||||||||||
| 0 | 0 | 1 |
|
||||||||||||
| 0 | 1 | 0 | |||||||||||||
| 1 | 0 | 0 | |||||||||||||
| 1 | 1 | 1 | |||||||||||||
| z = x0 XNOR x1 = ~(x0 ^ x1) | |||||||||||||||
| Properties: | |||||||||||||||
| symmetric: | x XNOR y = y XNOR x | ||||||||||||||
| associative: | (x XNOR y) XNOR z = x XNOR (y XNOR z) | ||||||||||||||
| n inputs: | |||||||||||||||
| XNORn (x0, x1, . . . , xn) = x0 XNOR x1 XNOR . . . xn | |||||||||||||||