Assignment_5_Wednesday
Assignment_5_Wednesday
Lab Assignment 5
1. What are Combinational and Sequential circuits? Discuss in brief with appropriate block diagram
and example.
3. Implement a half adder using AND and XOR gates. Write a testbench to test all input combinations.
Observe waveforms and verify the output.
4. Design, implement, and test a half subtractor using NAND gate in Verilog, including the schematic
diagram, Verilog code, and testbench.
5. Design, implement, and test a full adder using NAND gate in Verilog, including the schematic
diagram, Verilog code, and testbench.
Submission Instructions:
1. Copy the Verilog code, the Test Bench Code in a Word File.
2. Take the ScreenShot of Waveform and paste into the same word file.
3. Repeat Step 1 and 2 for all the programs.
4. Copy and Paste all the Verilog code, Testbench Code and Waveform into a single word
file as 1_verilog, 1_TestBench, 1_Waveform, 2_verilog, 2_TestBench, 2_Waveform…
etc.
5. Convert it into pdf file, name it as RollNo_Assignment# (Example: E20CSE001_
Assignment3.pdf).
6. Submit your file on LMS within the deadline.
Practical
Write your Name and Roll No. as comment before starting of each program. Keep in mind this
is Mandatory. Failing which you may lose your marks.
Make it sure that in each program, you have mentioned enough comments regarding the
explanation of program instructions.
Each student will submit their assignment on their corresponding group slot only.
Late submission will lead to penalty.
Any form of plagiarism/copying from peer or internet sources will lead penalty.
Following of all instructions at submission time is mandatory. Missing of any instructions at
submission time will lead penalty.