XNOR & XOR Gate using Diodes & Transistor

Опубликовано: 21 Май 2026
на канале: Electronics Byte
1,350
17

XOR Gate:
The exclusive-OR (XOR), operator uses the symbol ⊕, and it performs the following logic operation:
A ⊕ B = A B’ + A’ B

The XOR gate outputs a 1 when either A is high or B is high, but not when both are high. In other words, the XOR gate outputs a 1 when an odd number of inputs are asserted. XOR gates are also called "inequality detectors".

The exclusive-NOR (XNOR), operator uses the symbol, and it performs the following logic operation
A (.) B = AB + A’ B’ = (A⊕ B)’

The exclusive-NOR (XNOR) gate is very similar to the XOR gate, except with the addition of a NOT gate on the output. The XNOR gate outputs a 1 when an even number of inputs are asserted. XNOR gates are also called "equality detectors".