Professional Documents
Culture Documents
Note: There is no lab report required for this lab. Fill out the observation pages
(pages 8-10) during the lab, and hand them in at the end of the lab session.
Required ICs:
Theory:
The symbols and the Boolean expression for each basic logic gate are shown on page 6 of
this lab.
DeMorgans Theorem
DeMorgan proposed two theorems that are used frequently in Boolean algebra. The first
theorem states:
1
This theorem can be expressed using the following formula:
A B A B
The complement of two variables ORed is equivalent to the AND of the complements of
the individual variables.
A B A B
Procedure:
Setup the circuits shown on page 4 to analyze the operation of the various basic logic
gates. For each gate:
1. Vary the inputs of each gate and measure the output. Do this for all possible
combinations of inputs.
Procedure:
1. Vary the inputs to each circuit and measure the output for all possible combinations
of inputs.
2. Using the above results construct the truth table for each circuit. Show that these
circuits verify both of DeMorgans Theorems.
2
Part 3. Implementing an INVERTER using NAND or NOR gates
Procedure:
Set up one of the two circuits shown on page 5. For the circuit you choose:
2. Do you conclude that the circuit behaves like an INVERTER? If yes/no why?
A B A B AB
Procedure:
Setup a circuit to implement an OR gate using NAND gates only. For this circuit:
2. Do you conclude that the circuit behaves like and OR gate? If yes/no why?
Procedure:
You will be given a mystery chip. The mystery chip uses the same pinout as the 7400
chip, but is not necessary a NAND gate. Observe the truth table of the mystery chip and
find the type of gate this chip has implemented. It may be any one of the following chips:
AND, NAND, OR, NOR, XOR, XNOR. Each mystery chip is different, so your results
will differ from other groups.
3
4
5
6
Summary of Internal architecture of each IC
7432 OR Gate
7404 INV Gate
7
ECED2200 Lab #1 Observations
A B Y A B Y
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 1
A B Y A Y
0 0
0 1 0
1 0
1 1 1
A B Y A B Y
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 1
DeMorgans Theorem 1: A B A B
Circuit diagram:
8
Truth Table:
A B AB A B
DeMorgans Theorem 2: A B A B
Circuit diagram:
Truth Table:
A B AB A B
A Y
0
1
Conclusion:
9
Part 4. Implementing an OR gate using NAND gates
Schematic:
Truth Table:
A B Y
0 0
0 1
1 0
1 1
A B Y
0 0
0 1
1 0
1 1
My Mystery Chip number is ____. Based on the truth table it is a(n) _________ gate.
10