2 Universal Gates
2 Universal Gates
2 Universal Gates
0 1
1 0
Implementation of AND using NAND
0 0 0
0 1 0
1 0 0
NAND Construction
1 1 1
Implementation of OR gate using NAND
• If the truth table for a NAND gate is examined or by applying
De Morgan's Laws, it can be seen that if any of the inputs are 0,
then the output will be 1. To be an OR gate,
0 0 0
0 1 1
1 0 1
NAND Construction 1 1 1
Implementation of XOR gate using
NAND
An XOR gate is constructed similarly to an OR gate,
except with an additional NAND gate inserted such
that if both inputs are high, the inputs to the final
NAND gate will also be high,
0 0 0
0 1 1
1 0 1
NAND Construction 1 1 0
Implementation of NOR gate using
NAND
A NOR gate is simply an inverted OR gate. Output is high
when neither input A nor input B is high:
0 0 1
0 1 0
1 0 0
1 1 0
NAND Construction
Implementation of XNOR gate using NAND
0 0 1
NAND Construction 0 1 0
1 0 0
1 1 1
Proof for NOR gates
Like NAND gates, NOR gates are so-called "universal gates"
that can be combined to form any other kind of logic gate. A
NOR gate is logically an inverted OR gate
of a NOR gate. 0 1
1 0
Implementation of OR gate using NOR
• The OR gate is simply a NOR gate followed by another NOR
gate
0 0 0 Desired Gate
0 1 1
1 0 1
1 1 1
Implementation of AND gate using
NOR
• an AND gate is made by inverting the inputs to a NOR
gate.
0 0 0
0 1 0
1 0 0
NOR Construction 1 1 1
Implementation of NAND gate using
NOR
NOR Construction
Implementation of XOR gate using
NOR
An XOR gate is made by connecting the output of 3 NOR
gates (connected as an AND gate) and the output of a NOR
gate to the respective inputs of a NOR gate.
0 0 0
0 1 1
1 0 1
NOR Construction 1 1 0
Implementation of XNOR gate using NOR
An XNOR gate can be constructed from four NOR gates
implementing the expression "(A NOR N) NOR (B NOR N)
where N = A NOR B". This construction has a propagation
delay three times that of a single NOR gate, and uses more
gates.
0 0 1
0 1 0
1 0 0
NOR Construction 1 1 1