DLD Lab 9
DLD Lab 9
Group No.:01
Umair 359652
Lab Instructions
This lab activity comprises three parts, namely Pre-lab, Lab tasks, and Post-Lab Viva
session.
The lab report will be uploaded on LMS three days before scheduled lab date. The
students will get hard copy of lab report, complete the Pre-lab task before coming to
the lab and deposit it with teacher/lab engineer for necessary evaluation.
The students will start lab task and demonstrate design steps separately for step-
wise evaluation(course instructor/lab engineer will sign each step after ascertaining
functional verification).
Remember that a neat logic diagram with pins numbered coupled with nicely
patched circuit will simplify trouble-shooting process.
After the lab, students are expected to unwire the circuit and deposit back
components before leaving.
The students will complete lab task and submit complete report to Lab Engineer
before leaving lab.
There are related questions at the end of this activity. Give complete answers.
3 0 1 1 0 0 0 1 0
4 0 1 1 1 0 1 1 0
5 1 0 0 0 0 1 1 1 W= ACD + AB
6 1 0 0 1 0 1 0 1 X= BCD + A
7 1 0 1 0 0 1 0 0
Y= BD + BC + B'C'D'
8 1 0 1 1 1 1 0 0
Z= 9 1 1 0 0 1 1 0 1 C'
1 1 0 1 x x x x
1 1 1 0 x x x x
1 1 1 1 x x x x
2. Draw the logic diagram for Excess-3 to gray code converter using AND, OR and NOT
gates in the space provided below. You can use 2,3,4 input gates if required. (2 Marks-
Modern tool usage)
3. Draw the logic diagram for Excess-3 to gray code converter using only NAND gates in
the space provided below, You can use 2,3,4 input Nand gates if required (3 Marks-
Individual. and Team Work)
Logic diagram :
Lab Task 1:
Implement Excess-3 to gray code converter using only NAND gates on hardware (tinkerCAD).
Paste the complete circuit diagram, depicting hardware results of
hardware results of decimal input 5 and decimal input 8. (For even group numbers)
hardware results of decimal input 4 and decimal input 9. (For odd group numbers)
(5 Marks – Analysis)
Lab Task2:Design and simulate the circuit k-map equations you obtained in Pre-lab task 1 in
Verilog dataflow modeling. Give the code and testbench and waveform in the space provided
below. (3Marks – Modern tool
usage)