Experiment 2 - Universal Gates
Experiment 2 - Universal Gates
UNIVERSAL GATES
AIM:
OBJECTIVES:
THEORY:
Logic gates are electronic circuits which perform logical functions on one or more inputs
to produce one output. There are seven logic gates. When all the input combinations of a logic
gate are written in a series and their corresponding outputs written along them, then this input/
output combination is called Truth Table. NAND gate and NOR gate are the universal gates as
any logic can be implemented using only NAND or NOR gates alone.
NAND gate is actually a combination of two logic gates i.e. AND gate followed by NOT
gate. So its output is complement of the output of an AND gate. This gate can have minimum
two inputs. Output is always one. By using only NAND gates, we can realize all logic functions:
AND, OR, NOT, NOR, XOR and XNOR.
NOR gate is actually a combination of two logic gates i.e. OR gate followed by NOT gate.
So its output is complement of the output of an OR gate. This gate can have minimum two
inputs. Output is always one. By using only NOR gates, we can realize all logic functions: AND,
OR, NOT, NAND, XOR and XNOR.
PROCEDURE:
RESULT:
(i) NOT, AND, OR, NOR, XOR and XNOR gates using NAND gates alone.
(ii) NOT, OR, AND, NAND, XOR and XOR gates using NOR gates alone.
LOGIC GATE FUNCTIONS - IMPLEMENTATION USING NAND GATES: