Home / Logic Gates / Logic EX-OR Gate

It is the featured image of the logic EX-OR gate

Logic EX-OR Gate

The logic behind the EX-OR logic gate is, “If an odd number of inputs to a logic gate is logic high, then its output is logic high”. EX-OR logic gate is simply known as "Odd 1's detector". It is a complemented version of the logic EX-NOR gate. EX-OR gate is also represented as the X-OR gate. EX-OR means Exclusive-OR.

Introduction :

Logic gates are the digital electronics devices (or) circuits, which accept one (or) more inputs but give only one output.

Why do we need logic gates in the first place? Logic gates are the building blocks for modern digital computation. With the help of logic gates, any kind of logic function can be performed. There are so many different types of logic gates, These are classified depending on their logical operations, ( EX-OR, EX-NOR )among them some are classified as Basic logic gates ( AND, OR, NOT ) and some are classified as Universal logic gates ( NAND, NOR ). Here the EX-OR logic gate is classified depending upon its logical operation. The electronic circuit that performs this EX-OR logic function is called the EX-OR logic gate.

Logic gates are the basic building blocks, for all the modern-day digital electronics devices.

EX-OR logic gate :

The logic behind the EX-OR logic gate is, “If an odd number of inputs to a logic gate is logic high, then its output is logic high”. This type of logic gate is known as the EX-OR logic gate.

EX-OR logic gate is simply known as “Odd 1’s detector”. It is a complemented version of the logic EX-NOR gate.

EX-OR means Exclusive-OR. It is also represented as a logic X-OR gate.

What is meant by logic high?

Here logic high means the input voltage of one of the inputs is slightly higher than the input voltage of the other inputs. The most common logic high input voltages are (+5 V, +1 V, +3.3 V etc.,). In digital terms logic high is represented as “1” in positive logic and as “0” in negative logic. In digital terminology “1” is not a mathematical constant one (1), it’s just a representation of logic high state in positive logic, similarly “0” is not a mathematical constant zero (0), it’s just a representation of logic high state in negative logic.

In Boolean algebra terms,

logic high = 1 = high voltage ( positive logic )

logic high = 0 = high voltage ( negative logic )

What is meant by logic low?

Here logic low means the input voltage of one of the inputs is slightly lower than the input voltage of the other inputs. The most common logic low input voltages are ( 0 V, -5 V, -3.3 V, -1 V etc.,). In digital terms logic low is represented as “0” in positive logic and as “1” in negative logic. In digital terminology “0” is not a mathematical constant zero (0), it’s just a representation of logic low state in positive logic, similarly “1” is not a mathematical constant one (1), it’s just a representation of logic low state in negative logic.

In Boolean algebra terms,

logic low = 0 = low voltage ( positive logic )

logic low = 1 = low voltage ( negative logic )

Note :

  1. EX-OR logic is the same as odd 1’s detector.
  2. If the number of inputs given to the logic EX-OR gate is odd, then the logic operation of the EX-OR logic gate is equal to the logic operation of the EX-NOR logic gate.
  3. If the number of inputs given to the logic EX-OR gate is even, then the logic operation of the EX-OR logic gate is an inverted version of the logic operation of the EX-NOR logic gate.

EX-OR operator :

EX-OR operator is represented as “ It is an EX-OR logic operator “. Read it as “EX-OR”. It is represented as a plus (or) addition operator surrounded by the circle. It acts like odd 1’s detector.

EX :

Boolean Expression = , Read it as A “EX-OR” B

Classification of logic EX-OR gates :

EX-OR gates are classified depending on their number of inputs. The most commonly used EX-OR gates are

  • Two input logic EX-OR gate.
  • Three input logic EX-OR gate.

Two input logic EX-OR gate :

If an EX-OR logic gate accepts two inputs and provides the desired EX-OR logic as output then that type of logic gate is called a two-input logic EX-OR gate.

Boolean logical Expression,

It is the two input EX-OR logic equation

Its logic function is,

Positive logic :

“When both of the inputs are different, i.e. one of the inputs is logic high (1) and the other one is logic low(0) (or) vice versa, only then the output is logic high (1)”. Positive logic gates are widely used.

Negative logic :

“When both of the inputs are different i.e. one of the inputs is logic high (0) and the other one is logic low(1) (or) vice versa, only then the output is logic high (0)”.

Logic Symbol :

It is the logic symbol of two input EX-OR logic gate
Logic symbol of two input EX-OR gate

Switch representation :

It is an electrical switch representation of two input EX-OR gate
Switch representation of two input EX-OR gate

If,

n = number of switches (inputs)

m = maximum possible number of output combination

Equation for Maximum number of possible switch combinations of two input AND gate

Ex :

number of inputs (n) = 2

Maximum possible number of output combination (m) = 22 = 4

Truth table :

Positive logic :
It is the truth table of two input positive logic EX-OR gate
Truth table for positive logic two input EX-OR gate

If any one input is,

0 = EX-OR gate acts as a buffer with the output being the other input.

1 = EX-OR gate acts as an inverter with output being the inverted version of other input.

With this, we can say that,

Positive logic EX-OR gate is equal to the Negative logic EX-NOR gate

Negative logic :
It is the truth table of two input negative logic EX-OR gate
Truth table for negative logic two input EX-OR gate

If any one input is,

0 = EX-OR gate acts as an inverter with output being the inverted version of other input.

1 = EX-OR gate acts as a buffer with the output being the other input.

With this, we can say that,

Negative logic EX-OR gate is equal to the Positive logic EX-NOR gate

Unused input :
TTL logic :

In TTL logic, if any input is open (or) floating, it will act as “1”

It is the two input logic EX-OR gate in TTL logic
Two input EX-OR gate in TTL logic
ECL logic :

In ECL logic, if any input is open (or) floating, it will act as “0”

It is the two input logic EX-OR gate in ECL logic
Two input EX-OR gate in ECL logic

Three input logic EX-OR gate :

If an EX-OR logic gate accepts three inputs and provides the desired EX-OR logic as output then that type of logic gate is called a three-input logic EX-OR gate.

Boolean logical Expression,

It is three input EX-OR logic equation

Its logic function is,

Positive logic :

“When an odd number of the inputs is logic high (1), only then the output is logic high (1)”. Positive logic gates are widely used.

Negative logic :

“When an odd number of the inputs is logic high (0), only then the output is logic high (0)”.

Logic Symbol :

It is the logic symbol of three input EX-OR logic gate
Logic symbol of three input EX-OR gate

Switch representation :

It is an electrical switch representation of three input EX-OR gate
Switch representation of three input EX-OR gate

If,

n = number of switches (inputs)

m = maximum possible number output of combination

Equation for Maximum number of possible switch combinations of two input AND gate

Ex:

number of inputs (n) = 3

Maximum possible number of output combination (m) = 23 = 8

Truth table :

Positive logic :
It is the truth Table of three input positive logic EX-OR gate
Truth table for positive logic three input EX-OR gate

If any one input is,

0 = EX-OR gate gives EX-OR of the other two inputs as output.

1 = EX-OR gate gives EX-NOR of the other two inputs as output.

With this, we can say that,

Positive logic EX-OR gate is equal to the Positive logic EX-NOR gate

Negative logic :
It is the truth Table of three input negative logic EX-OR gate.
Truth table for negative logic three input EX-OR gate

If any one input is,

0 = EX-OR gate gives EX-NOR of the other two inputs as output.

1 = EX-OR gate gives EX-OR of the other two inputs as output.

With this, we can say that,

Negative logic EX-OR gate is equal to the Negative logic EX-NOR gate

Unused input :
TTL logic :

In TTL logic, if any input is open (or) floating, it will act as “1”

It is the three input logic EX-OR gate in TTL logic
Three input EX-OR gate in TTL logic
ECL logic :

In ECL logic, if any input is open (or) floating, it will act as “0”

It is the three input logic EX-OR gate in ECL logic
Three input EX-OR gate in ECL logic

Boolean law :

EX-OR gate follows all these Boolean laws.

  • Commutative law :

This law states that the logical EX-OR operation between the two inputs is equivalent to the logical EX-OR operation performed by changing the order of the same inputs.

i.e.

It is a commutative law for logic EX-OR gate

where, A & B are logic inputs.

  • Associative law :

This law states that if we have three logic inputs, then the logical EX-OR between the logical EX-OR of the second and third logic input, to the first logic input, is equal to the logical EX-OR between the logical EX-OR of the first and second logic input, to the third logic input.

i.e.

It is the associative law for logic EX-OR gate

where, A,B & C are logic inputs.

Statements proof :

Statement 1 :

If the number of inputs given to the logic EX-OR gate is even, then the logic operation of the EX-OR logic gate is an inverted version of the logic operation of the EX-NOR logic gate.

Proof 1 :

It is the two input EX-OR and EX-NOR statement proof
Proof 1

Statement 2 :

If the number of inputs given to the logic EX-OR gate is odd, then the logic operation of the EX-OR logic gate is equal to the logic operation of the EX-NOR logic gate.

Proof 2 :

It shows the three input EX-OR and EX-NOR statement proof
Proof 2

Conclusion :

Now we all know, what is logic EX-OR gate and how it operates. Logic gates are the basic building blocks for any kind of digital electronic device/system. Logic EX-OR gate is also mentioned as logic X-OR gate. It acts as odd 1’s detector. EX-OR means Exclusive-OR.

Add a Comment

Your email address will not be published. Required fields are marked *

Shopping Basket