AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
EXPERIMENT NO 2
Lab Title: Prove De-Morgan’s law using Gates.
Student Name: Junaid Waqas Reg. No: 210781
Objective: Prove De-Morgan’s law on a bread board and PROTEUS software. Also
Satisfy all the truth tables for all the circuits.
LAB ASSESSMENT:
Excellent Good Average Satisfactory Unsatisfactory
Attributes (5) (4) (3) (2) (1)
Ability to
Conduct
Experiment
Ability to assimilate the
results
Effective use of lab
equipment and follows
the lab safety rules
Total Marks: Obtained Marks:
LAB REPORT ASSESSMENT:
Excellent Good Average Satisfactory Unsatisfactory
Attributes
(5) (4) (3) (2) (1)
Data presentation
Experimental results
Conclusion
Total Marks: Obtained Marks:
Date: Signature:
EXPERIMENT 02
DeMorgan’s Law
Objectives:
To verify the DeMorgan’s Law
Equipment required:
TTL IC-7408
TTL IC-7432
TTL IC-7404
TTL IC-7400
TTL IC-7402
Digital Electronics Trainer
Background Knowledge:
Boolean algebra has postulates and identities. We can often use these laws to reduce expressions or put
expressions into a more desirable form. One of these laws is the DeMorgan’s Law. DeMorgan’s Law has
two conditions, or conversely, there are two laws called DeMorgan’s Laws.
DeMorgan’s First Law:
DeMorgan’s Law for two inputs A and B is
(AB)' = A' + B'
This means that NAND gate function is identical to OR gate function with complemented inputs.
DeMorgan’s Second Law:
DeMorgan’s second law is
(A + B)' = A'. B'
This means that NOR function is equal to the AND gate function with complemented inputs.
Logic Diagrams:
First Law:
Left Hand Side: Right Hand Side:
Second Law:
Left Hand Side: Right Hand Side:
Procedure:
1. Patch the left hand side circuit for the first condition of DeMorgan’s Law on the Digital
electronics trainer. Connect the inputs to the input switches and output to the LED and verify the
truth table for all the combinations.
2. Similarly, patch the right hand side circuit for the first condition of DeMorgan’s Law on the
Digital electronics trainer. Connect the inputs to the input switches and output to the LED and
verify the truth table for all the combinations. Both the truth tables should be similar.
3. Repeat steps 1 and 2 for the second condition of DeMorgan’s Law.
Lab Tasks:
Follow the given procedure and complete the given truth tables for both the laws.
Truth Table for DeMorgan’s First Law:
Inputs Truth Table Outputs for Each Term
A B A.B (A.B)’ A' B' A' + B'
0 0 0 1 1 1 1
0 1 0 1 1 0 1
1 0 0 1 0 1 1
1 1 1 0 0 0 0
Truth Table for DeMorgan’s Second Law:
Inputs Truth Table Outputs for Each Term
A B A+B (A+B)’ A' B' A'.B'
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
Simulation Activities:
1. Simulate the given circuit for the verification of DeMorgan’s first law.
Left Hand Side:
Right Hand Side:
2. Simulate the given circuit for the verification of DeMorgan’s second law.
Left Hand Side:
Right Hand Side:
Conclusion:
In this lab, we proved the De-Morgan’s Law using the Logic Gates. First, we had
performed the Experiment on a Bread board. Also, we performed this experiment using the software
PROTEUS. In Proteus we select all the components that is used to design the circuit. e.g we had
select the Logic gates (NOT, AND, OR) then we select the Logic Toggle and Logic Probe; then
design the circuit and connect all the components using wires.