Lab3 Verilog FAM - NBC
Lab3 Verilog FAM - NBC
Lab3 Verilog FAM - NBC
Method: Instructor evaluates each student based on the task demo, viva and behavioral observation
during the lab and report submitted.
Objectives:
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. Alternately each group to upload completed
lab report on LMS for grading.
The students failing to submit Pre-Lab will not be allowed to perform Lab work.
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. Verilog tutorial part is non-printable and for reference only.
There are related questions at the end of this activity. Give complete answers.
Write the Verilog Code using Gate Level modeling for the following circuit. List the code for design as well
as stimulus below:
Modify the test bench to print the results of the simulation using the Verilog $monitor statement. The output
should look like this
Label each gate output in the above circuit and derive algebraic expressions for SUM and Carry Out. Fill in
the following truth table and determine the function performed by the circuit.
Truth Table:
After determining the function performed by the circuit given in Lab Task 1, write the Verilog description of
the circuit at dataflow. Comment on the two different modeling levels you used to model the same circuit.
(Paste snapshots of the codes and stimuluses below)
Deliverables:
Compile a single word document by filling in the solution part and submitting this Word file to the MS Team.
This lab grading policy is as follows: The lab is graded between 0 to 10 marks. The submitted solution can get a
maximum of 5 marks. At the end of each lab or in the next lab, there will be a viva related to the tasks. The viva has a
weightage of 5 marks. Insert the solution/answer in this document. You must show the implementation of the tasks in
the designing tool, along with your complete Word document to get your work graded. You must also submit this
Word document to the MS Team. In case of any problems with submissions on the MS Team, submit your Lab
Manual by emailing them to Engr. Muhammad Abid Hussain [email protected]