5. Basics of Digital Systems - Other Gates

There are other logic gates that are made from the 3 basic gates. Their functions are commonly used and that is why they are represented as gates.

5.1. NAND Gate

It is the negated function of the AND gate.

Truth table

a b c = a NAND b
0 0 1
0 1 1
1 0 1
1 1 0

NAND Gate

https://raw.githubusercontent.com/victorhkr/Documentation_test/master/2000px-Nand-gate-en.png





5.2. NOR Gate

It is the negated function of the OR gate.

Truth table

a b c = a NOR b
0 0 1
0 1 0
1 0 0
1 1 0

NOR Gate

https://raw.githubusercontent.com/victorhkr/Documentation_test/master/1200px-NOR_ANSI_Labelled.svg.png





5.3. XOR Gate

If a and b are different the result is 1, otherwise 0.

a b c = a XOR b
0 0 0
0 1 1
1 0 1
1 1 0

XOR Gate

https://raw.githubusercontent.com/victorhkr/Documentation_test/master/Xor-gate-en.svg.png





5.4. XNOR Gate

If a and b are different the result is 0, otherwise 1.

a b c = a XNOR b
0 0 1
0 1 0
1 0 0
1 1 1

XNOR Gate

https://raw.githubusercontent.com/victorhkr/Documentation_test/master/2000px-Xnor-gate-en.svg.png