Xperiment O. 3: Digital Logic Design Laboratory Hand Book
Xperiment O. 3: Digital Logic Design Laboratory Hand Book
Xperiment O. 3: Digital Logic Design Laboratory Hand Book
Experiment No. 3
VERIFICATION / IMPLEMENTATION OF DEMORGAN’S
THEOREMS, SIMPLIFICATION USING BOOLEAN ALGEBRA
AND CONSTRUCTION OF ALL LOGIC GATES BY USING
UNIVERSAL GATES
OBJECTIVE
Assemble of the circuit according to the expression / equation by using Logic Gates.
Verifying their results of both circuits.
Assemble of all Logic Gates by using universal gates, NAND gate and NOR gate.
Verifying their results
EQUIPMENT
ePAL Trainer Board
Connecting wires
COMPONENTs
IC Type 7400 Quadruple 2-input NAND gates,
IC Type 7402 Quadruple 2-input NOR gates
IC Type 7404 Inverters gates
IC Type 7432 Quadruple 2-input OR gates
IC Type 7408 Quadruple 2-input AND gates
THEORY
PART 1; DeMorgan Theorem;
DeMorgan, a mathematician who knew Boole, proposed two theorems that are an important part
of Boolean algebra. In practical terms. DeMorgan's theorems provide mathematical verification of
the equivalency of the NAND and negative-OR gates and the equivalency of the NOR and
negative-AND gates.
DeMorgan’s 1st Theorem;
One of DeMorgan's theorems is stated as follows:
The complement of a product of variables is equal to the sum of the complements of the variables,
Stated another way,
The complement of two or more ANDed variables is equivalent to the OR of the complements of
the individual variables. The formula for expressing this theorem for two variables is
irfanriazshohab@gcuf.edu.pk 1
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
CONNECTION DIAGRAM
CONNECTION DIAGRAM
irfanriazshohab@gcuf.edu.pk 2
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
The following procedure illustrates the application of DeMorgan's theorems and Boolean algebra
to the specific expression.
Construct circuits for L.H.S & R.H.S and verify the results.
PART 2;
irfanriazshohab@gcuf.edu.pk 3
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
Construct circuits for L.H.S & R.H.S and verify the results.
PART 3;
UNIVERSAL GATE;
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. Both NAND and NOR gates
can realize basic logic gates (AND, OR and NOT) logic circuits singlehandedly. Therefore,
AOI logic can be converted to NAND logic or NOR logic.
irfanriazshohab@gcuf.edu.pk 4
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
CONNECTION DIAGRAM
USING NOR
OR GATE
USING NAND
USING NOR
irfanriazshohab@gcuf.edu.pk 5
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
AND GATE
USING NAND
USING NOR
BUFFER GATE
USING NAND
USING NOR
irfanriazshohab@gcuf.edu.pk 6
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
PROCEDURE
1. Verify the gates.
2. Make the connections as per the circuit diagrams given in Figure above.
3. Switch on Vcc and apply various combinations of input according to the truth table for
each circuit.
4. Note down the output readings for logic using NAND and AOI logic using NOR.
0 0 0
0 0 1
= 0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
SIMPLIFICATION X Y Z L.HS R.H.S
AB+A(B+C)+B
4 USING BOOLEAN (B+C)
ALGEBRA
0 0 0
0 0 1
= 0 1 0
irfanriazshohab@gcuf.edu.pk 7
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Table 3.1
Inputs Outputs (Inverter)
Table 3.2
Table 3.3
Inputs Outputs (AND Logic)
A B Y (using NAND gate) Y (using NOR gate)
0 0
0 1
1 0
1 1
Table 3.4
Inputs Outputs (OR Logic)
A B Y (using NAND gate) Y (using NOR gate)
0 0
0 1
1 0
1 1
irfanriazshohab@gcuf.edu.pk 8
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
CONCLUSION
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
irfanriazshohab@gcuf.edu.pk 9
MSISDN +923338369095