LESSON 04 – LOGIC GATES (XOR & XNOR) & CIRCUIT SIMPLIFICATION

 

 

LESSON NOTE 1 – XOR AND XNOR

XOR GATE

 

  • An XOR gate, called an exclusive-or gate, is an “either or” gate.  It will result in a 1 (true) only if both inputs are different.

  • The logic diagram for a XOR gate is:

 



  • The logic table for a XOR gate is the following:

 

A

B

Q

0

0

0

0

1

1

1

0

1

1

1

0

XNOR GATE

 

  • An XNOR gate is the logical equivalent of an XOR gate followed by a NOT gate.  It will result in a 1 (true) only when both inputs are the same value.

  • The logic diagram for an XNOR gate is:

 

  • The logic table for a XOR gate is the following:

 

A

B

Q

0

0

1

0

1

0

1

0

0

1

1

1