Exclusive OR/X-OR gate(Inequality detector)

#Technical studies- study 8


X-OR or Exclusive OR gate is a two input one output digital circuit. It gives a HIGH output when only one of its inputs is HIGH.

It gives a LOW output when both of its inputs are HIGH or LOW.

The output is high when the inputs are unequal so it is called inequality detector.

The symbol of X-OR operation is ⊕.

X-OR symbol and truth table

Three input X-OR gate doesn’t exist. When more than two inputs are to be X-ORed, a number of two inputs X-OR gates are used.

The output of X-OR gate becomes high when odd number of inputs are high. So it is an odd function.

Equivalent circuit of X-OR gate:

The expression of X-OR gate is X= A⊕B= \overline{A}B+A\overline{B}

So the equivalent circuit using AND,OR, INVERTER logic can be:

Equivalent circuit of X-OR gate

X-OR gate as inverter:

X-OR gate can be used as an inverter. When we keep one input constant HIGH and vary other one it will act as an INVERTER.

In that case, when variable input is HIGH:   


        =0 + 0


When variable input is LOW:

1\oplus 0=\overline{1}.0+1.\overline{0}




X-OR inverter

X-OR gate ICs:

IC Name Number of X-OR gates
TTL IC 7486 4
CMOS IC 74C86 4

Properties of X -OR gate:

  1. A\oplus A=0


        A\oplus A= \overline{A}.A+A.\overline{A}

                     = 0 + 0

                     = 0

   2. A\oplus 1=\overline{A}


    \overline{A}\oplus 1= \overline{A}.1+A.\overline{1}

                = \overline{A}+A.0


  3. A\oplus 0=A


      A\oplus 0=\overline{A}.0+A.\overline{0}

                   = 0 +A.1

                   = A

  4. AB\oplus AC=A(B\oplus C)


      AB\oplus AC=\overline{AB}.AC+AB.\overline{AC}




                        = A(B\oplus C)                  

     5. A\oplus \overline{A}=1


      A\oplus \overline{A}=\overline{A}.\overline{A}+A.\overline{\overline{A}}



                  = 1



Please write in the comment box below if you have any questions.