The logic gates are basic building blocks for any digital electronic computer.
The AND, OR and NOT gates can be made from types of technology such as TTL, MOSFET, FET, or vacuum Tubes etc.
AND Gate
A | B | output (Y = A.B) |
---|
0 | 0 | 1 |
1 | 0 | 0 |
0 | 1 | 0 |
1 | 1 | 0 |
The truth table for AND gate
OR Gate
A | B | output (Y = A + B) |
---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
The truth table for OR gate
NOT Gate
NAND Gate
A | B | output (Y = (A.B)’ ) |
---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
The truth table for the NAND gate
NAND gate is known as a universal gate. All the other logic circuits can be derived from it.
NOR Gate
A | B | output (Y = (A+B)’ ) |
---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
The truth table for NOR gate
NOR gate is known as a universal gate. All the other logic circuits can be derived from it.
XOR Gate
A | B | output (Y = A’B + AB’ ) |
---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
The truth table for XOR gate
XNOR Gate
A | B | output (Y = AB + A’B’ ) |
---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
The truth table for XNOR gate
Leave a Reply