Lab Manual
Lab Manual
APPLICATIONS
(Amrapali Group of Institutes)
CSP-007
Computer Organization& Architecture
LAB MANUAL
(B. Tech CSE- IV semester)
7. Study of 3 X 8 decoder.
8. Study of multiplexer.
EXPERIMENT -1
AND GATE
The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are
high. A dot (.) is used to show the AND operation i.e. A.B. Bear in mind that this dot is
sometimes omitted i.e. AB
OR GATE
The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs
are high. A plus (+) is used to show the OR operation.
NOT GATE
The NOT gate is an electronic circuit that produces an inverted version of the input at its
output. It is also known as an inverter. If the input variable is A, the inverted output is known
as NOT A. This is also shown as A', or A with a bar over the top, as shown at the outputs.
NAND GATE
This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The
outputs of all NAND gates are high if any of the inputs are low. The symbol is an AND gate
with a small circle on the output. The small circle represents inversion.
NOR GATE
PIN DIAGRAM FOR NOR GATE
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of
all NOR gates are low if any of the inputs are high. The symbol is an OR gate with a small
circle on the output. The small circle represents inversion.
XOR
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its
two inputs are high. An encircled plus sign ( ) is used to + show the EOR operation.
XNOR
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a low output
if either, but not both, of its two inputs are high. The symbol is an EXOR gate with a small
circle on the output. The small circle represents inversion.
3.2 IMPLEMENTING AND TESTING THE SOLUTION
Plug the chips you will be using into the breadboard. Point all the chips in the same
direction with pin 1 at the upper-left corner. (Pin 1 is often identified by a dot or a
notch next to it on the chip package).
Connect +5V and GND pins of each chip to the power and ground bus strips on the
breadboard.
Make the connections as per the circuit diagram.
Switch on VCC and apply various combinations of input according to truth table.
Note down the output readings for half/full adder and sum and the carry bit for
different combinations of inputs in following Tables where S & V indicating logic
value of the output. And fill your result in S (V) and C (V) in voltage. Where 5V
indicating logic 1 and 0V indicating logic 0.
4. CONCLUSIONS
A universal gate is a gate which can implement any Boolean function without need to use any
other gate type. The NAND and NOR gates are universal gates.In practice, this is
advantageous since NAND and NOR gates are economical and easier to fabricate and are
the basic gates used in all IC digital logic families.
4. Conclusions
By using various logic gate ICs we can perform the full or half adder and check the truth
table.