Professional Documents
Culture Documents
Y = B + A also
Exclusive NOR/ XNOR/Ex-NOR GATE
• Y= +AB
Universal gates
• A universal logic gate is used to construct all other
logic gates.
• There are only two universal gates
1)The NAND gate
2) NOR gate.
TRUTH TABLE
A
A Y=
0 1
0 1
1 1
1 1
• In
a two input NAND gate, if both the inputs are
marked as A, then the output is given by .
• Since the two inputs are the same , the two inputs
of the NAND gate can be connected together and
used as a gate with a single input. This
arrangement makes the NAND to function as NOT
A Y= 𝐴.𝐴
=
𝐴
A Y=
𝐴
• Note: A three input, four input or eight input
NAND gate can also be converted into a NOT
gate by connecting all inputs together.
NAND as AND
• We know that the symbol ,truth table and
algebraic expression of AND gate are
• The
output of the NAND gate is.
• To make it as AB , the output of the NAND
gate is inverted once. This inverter is
implemented by using a second NAND gate.
A 𝐴𝐵
Y= 𝐴𝐵 =AB
A 𝐴𝐵
Y= 𝐴𝐵 =AB
B
NOTE : A three input AND gate can be implemented using a three input
NAND gate
NAND as OR
• We know that the symbol, algebraic
expression and truth table of OR gate are
• To get the OR expression A+B, the inputs are first
inverted and then passed through a NAND gate.
This arrangement is shown in the following figure.
Three NAND gates are needed to get the OR
function.
𝐴
A
Y= 𝐴. =
𝐴 +𝐵
=
𝐵
A+ B
B
By De Morgan’s law
NOR as universal gate
• We know that graphical symbol , truth table
and algebraic function of NOR gate are
NOR as NOT
• In a two input NOR gate, if both the inputs are
marked as A, then the output is given by 𝐴+𝐴
which is equal to 𝐴
Y=
NOR as OR
• The output of the NOR gate is 𝐴+𝐵
𝑨+𝑩
Y= 𝐴+𝐵
=A + B
A
B
NOR as AND
• To get the AND expression A . B , the inputs
are first inverted and then passed through a
NOR gate.
• This arrangement is shown below. Three NOR
gates are needed to get the AND function.
A
𝐴
Y= 𝐴+𝐵=
𝐴 .𝐵
=
A.B
B 𝐵
By De Morgan’s law