Professional Documents
Culture Documents
DLD Lab Report 2
DLD Lab Report 2
Lab #: 02
Lab Title: To Verify Basic Gates truth tables
Submitted by: Sir Shahzad
Name Registration #
M.Zain Fa20-bce-015
In-Lab Post-Lab
Post- Lab
Lab Report # 2
Title: To Verify Basic Gates truth tables
Objectives:
The objective of the lab is to use the basic logic gates on the ePAL trainer and verify
their result with the truth tables, also to memorize the numbers of the ICs for future
references so that it is easier for the student to recognize the IC just by looking at it.
Q #1Simulate the following logic gates in Logic Works, verify truth table and show Timing
Diagram.
AND Gate
Circuit:
Truth Table:
a b x
0 0 0
0 1 0
1 0 0
1 1 1
Timing Diagram
OR Gate
Circuit:
Truth Table:
a b x
0 0 0
0 1 1
1 0 1
1 1 1
Timing Diagram:
NAND Gate
Circuit:
Truth Table:
a b c
0 0 1
0 1 1
1 0 1
1 1 0
Timing Diagram:
XOR Gate
Circuit:
Truth Table:
a b x
0 0 0
0 1 1
1 0 1
1 1 0
Timing Diagram:
XNOR Gate
Circuit:
Truth Table:
a b x
0 0 1
0 1 0
1 0 0
1 1 1
Timing Diagram:
Q#2 Give the following three digits 4-bit strings. Simulate and evaluate the 4-bit result
after the following logical operation.
And Gate
Nand Gate
XOR Gate
Not a Gate
Conclusion:
After the completion of tasks, I can use Logic Works to verify the basic logic gates and
their results with different combinations of inputs, I can implement the same on the
ePAL trainer, and I can now recognize the ICs by their chip numbers and the function of
each pin on all the different ICs.