LOGIC GATES

Logic Gates:

Digital systems are said to be constructed by using logic gates. These gates are the AND,  OR, NOT, NAND and NOR gates. The basic operations are described below with the aid of truth tables.

1. AND Gate:

The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high. A dot (.) is used to show the AND operation i.e. A.B or simply AB.

Two Input AND Gate:

A

B

AB

0 0 0
0 1 0
1 0 0
1 1 1

2. OR Gate:

The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high. A plus (+) is used to show the OR operation.

Two Input OR Gate:

A

B

A+B

0 0 0
0 1 1
1 0 1
1 1 1

3. NOT Gate:

The NOT gate is an electronic circuit that produces an inverted version of the input at its output.  It is also known as an inverter.  If the input variable is A, the inverted output is known as NOT A.

One Input NOT Gate:

A

~A

0 1
1 0

4. NAND Gate:

This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The outputs of all NAND gates are high if any of the inputs are low. The symbol is an AND gate with a small circle on the output. The small circle represents inversion.

Two Input NAND Gate:

A

B

~AB

0 0 1
0 1 1
1 0 1
1 1 0


5. NOR Gate:

This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all NOR gates are low if any of the inputs are high. The symbol is an OR gate with a small circle on the output. The small circle represents inversion.

Two Input NOR Gate:

A

B

~(A+B)

0 0 1
0 1 0
1 0 0
1 1 0


Previous
« Prev Post