Home / Logic Gates / Logic NAND gate

Logic NAND gate's Featured image

Logic NAND gate

The logic behind the NAND logic gate is, “If all the inputs to a logic gate is logic high, then only it’s output is logic low”. It’s operation is equivalent to the complement of logic AND gate.

Introduction :

Logic gates are the digital electronics devices (or) circuits, which accepts one (or) more number of inputs, but gives only one number of output.

Why do we need logic gates in the first place? Logic gates are the building blocks for the modern digital computation. With the help from the logic gates, any kind of logic functions can be performed. There are so many different types of logic gates, These are classified depends 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 NAND logic gate is classified as Universal logic gate. The electronic circuit which performs this NAND logic function is called NAND logic gate.

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

NAND logic gate :

The logic behind the NAND logic gate is, “If all the inputs to a logic gate is logic high, then only it’s output is logic low”. These type of logic gate is known as NAND logic gate.

It’s operation is equivalent to the complement of logic AND gate.

i.e.

It shows the combination of AND logic gate and NOT logic gate forms the NAND logic gate.
Logic NAND gate using NOT + AND 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 term,

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 term,

logic low = 0 = low voltage ( positive logic )

logic low = 1 = low voltage ( negative logic )

Note :

  1. NAND logic is same as the complement of binary multiplication.
  2. Any open ended input is treated as logic “1” in Positive logic NAND gate.
  3. Any open ended input is treated as logic “0” in Negative logic NAND gate.

Universal logic gates :

NAND gate and NOR gate are called as Universal logic gates. Why are they called as Universal logic gates?

Any logic function (or) logic gate can be created by using only the NAND (or) NOR logic gates. This is why these gates are called as Universal logic gates.

Ex :

It is the representation of AND gate using only the NAND gate
AND gate designed only using NAND gate
It is the OR gate using only the NAND gate
OR gate designed only using NAND gate

NAND operator :

NAND operator is represented as “ .̅ ”, Read it as “NAND”. It is represented by an overline placed above AND operator. It acts like a complement of binary multiplication.

EX :

Boolean expression = It represents the A NAND B in mathematical notation , Read it as A “NAND” B

Classification of logic NAND gates :

NAND gates are classified depends upon their number of inputs. The most commonly used logic NAND gates are

  • Two input logic NAND gate.
  • Three input logic NAND gate.

Two input logic NAND gate :

If a NAND logic gate, which accepts two inputs and provide the desired NAND logic as output then that type of logic gate is called as Two input logic NAND gate.

It’s logic function is,

Positive logic :

“When two inputs are logic high (1), only then the output is logic low (0)”.

Positive logic gates are widely used.

Negative logic :

“When two inputs are logic high (0), only then the output is logic low (1)”.

Logic Symbol :

It shows the logic symbol of two input NAND logic gate
Logic symbol of two input NAND gate

Switch representation :

It shows the Electrical switch representation of two input NAND gate.
Switch representation of two input NAND 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 for two input positive logic NAND gate
Truth table for positive logic two input NAND gate

If any one input is,

0 = NAND gate is disabled with output is one (1).

1 = NAND gate is act as an inverter. Here output being the inverted version of other input.

With this we can say that,

Positive logic NAND gate is equals to the Negative logic NOR gate

Unused input :
TTL logic :

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

ECL logic :

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

It is the two input Logic NAND gate in TTL logic
Two input NAND gate in TTL logic

In positive logic NAND gate, the open (or) floating input follows TTL logic, which means open (or) floating input in Positive logic NAND gate is considered as “1”.

Negative logic :
It is the Truth table for two input negative logic NAND gate
Truth table for negative logic two input NAND gate

If any one input is,

0 = NAND gate is act as an inverter. Here output being the inverted version of other input.

1 = NAND gate is disabled with output is zero (0).

With this we can say that,

Negative logic NAND gate is equals to the Positive logic NOR gate

Unused input :
TTL logic :

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

ECL logic :

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

It is the two input Logic NAND gate in ECL logic
Two input NAND gate in ECL logic

In negative logic NAND gate, the open (or) floating input follows ECL logic, which means open (or) floating input in Negative logic NAND gate is considered as “0”.

Three input logic NAND gate :

If a NAND logic gate, which accepts three inputs and provide the desired NAND logic as output then that type of logic gate is called as Three input logic NAND gate.

It’s logic function is,

Positive logic :

“When three inputs are logic high (1), only then the output is logic low (0)”.

Positive logic gates are widely used.

Negative logic :

“When three inputs are logic high (0), only then the output is logic low (1)”.

Logic Symbol :

It shows the logic symbol of Three input NAND logic gate
Logic symbol of three input NAND gate

Switch representation :

It shows the Electrical switch representation of three input NAND gate.
Switch representation of three input NAND 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 for three input positive logic NAND gate
Truth table for positive logic three input NAND gate

If any one input is,

0 = NAND gate is disabled with output is one (1).

1 = NAND gate gives NAND of the other two inputs as output.

With this we can say that,

Positive logic NAND gate is equals to the Negative logic NOR gate

Unused input :
TTL logic :

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

ECL logic :

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

It is the three input Logic NAND gate in TTL logic
Three input NAND gate in TTL logic

In positive logic NAND gate, the open (or) floating input follows TTL logic, which means open (or) floating input in Positive logic NAND gate is considered as “1”.

Negative logic :
It is the Truth table for three input negative logic NAND gate
Truth table for negative logic three input NAND gate

If any one input is,

0 = NAND gate gives NAND of the other two inputs as output.

1 = NAND gate is disabled with output is zero (0).

With this we can say that,

Negative logic NAND gate is equals to the Positive logic NOR gate

Unused input :
TTL logic :

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

ECL logic :

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

It is the three input Logic NAND gate in ECL logic
Three input NAND gate in ECL logic

In negative logic NAND gate, the open (or) floating input follows ECL logic, which means open (or) floating input in Negative logic NAND gate is considered as “0”.

Boolean law :

NAND gate is following this Boolean law.

  • Commutative law :

This law states that, the complement of binary product of the two inputs is equivalent to the complement of binary product performed by changing the order of the same inputs.

i.e.

It is the commutative law using the inverted versions of the input.

where, A & B are logic inputs.

De Morgan’s law :

Logical NAND operation between the two inputs is equals to the logical OR operation of the complemented version of the same two inputs.

i.e.

It is a one form of De Morgan's law.

where, A & B are logic inputs.

In other words,

Logical NOR operation between the two inputs is equals to the logical AND operation of the complemented version of the same two inputs.

i.e.

It is a one form of De Morgan's law.

where, A & B are logic inputs.

Proof of De Morgan’s law :

It is the tabulation for proving the De Morgan's law
Proof of De Morgan’s law

Conclusion :

Now we all know, that what is logic NAND gate and how it operates. Logic gates are the basic building blocks for any kind of digital electronic devices/systems. NAND logic gate is known as Universal logic gate, because by using only the NAND logic gate, it is possible to make any kind of digital logical functions.

6 Responses

Add a Comment

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

Shopping Basket