loader image

Universal gates (NAND and NOR gate)

The NAND and NOR gates are called universal gates. That is universal gates can be used in combination to perform the AND, OR and inverter operations.

NAND

The term NAND implies the function of an AND gate with an inverted output. The logic symbol of NAND gate is equivalent to an AND gate followed by an inverter. NAND operation is represented by a bar over the AND expression.

nand gate diagram-universal gates

The NAND gate produces a LOW output only when all of its inputs are HIGH. That is for a two-input NAND gate OUTPUT, X is LOW when both inputs A and B are HIGH. X is HIGH if either A or B is LOW, or when both are LOW.

nand operations-universal gates

This operation is described in the truth table.

INPUT (A)INPUT (B)OUTPUT (X)
LOWLOWHIGH
LOWHIGHHIGH
HIGHLOWHIGH
HIGHHIGHLOW

Implementation of Logic Operations Using NAND Gate only

All logic gates can be implemented using NAND gate only.

NOT using NAND gate only

not-using-nand-gate

OR using NAND gate only

OR-using-nand-gate

AND using NAND gate only

and-using-nand-gate

NOR using NAND gate only

nor-using-nand-gate

NOR

The term NOR implies the function of an OR gate with an inverted output. The logic symbol of NOR gate is equivalent to an OR gate followed by an inverter. NOR operation is represented by a bar over the OR expression.

nor gate diagram-universal gates

The NOR gate produces a LOW output when any of its inputs are HIGH. That is for a two-input NAND gate OUTPUT, X is LOW when either input A or B is HIGH or when both A and B is HIGH. X is HIGH only when both A and B is LOW

nor gate operations-universal gates

The operation is summarized in the following truth table.

INPUT (A)INPUT (B)OUTPUT(X)
LOWLOWHIGH
LOWHIGHLOW
HIGHLOWLOW
HIGHHIGHLOW

Implementation of Logic Operations Using NOR Gate only

Since NOR gate is a universal gate, its combination can be used to implement any other logic operation.

NOT using NOR gate only

not-using-NOR-gate

OR using NOR gate only

or gate using nand gate only

AND using NOR gate only

AND-using-NOR-gate

NAND using NOR gate only

NAND-using-NOR-gate

Further Reading

Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Alfas

There is a small error on logic operations on nor gate

In the last portion it is NAND using NOR gate only

Scroll to Top