Assignment 7 Wednesday
Assignment 7 Wednesday
1. Provide a truth table and draw the logic diagram of 3-to-8 decoder.
4. What is priority encoder? Write Verilog code for an 8-to-3 priority encoder.
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_
Assignment2.pdf).
6. Submit your file on LMS within the deadline.
• 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.
Practical
• 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.