
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Task# 01
Create a new project in ModelSim, add the files containing 8 to 1 MUX module and Stimulus module to the project Compile and run the simulation of 8 to 1 MUX in ModelSim Display inputs and outputs of 8 to 1 MUX using $monitor. Also show timing waveforms to Lab Instructor
Task# 02
Write Verilog code in behavioral modeling for 4-bit counter. Write Stimulus module to verify your counter design. Stimulus module should give clock input and reset input to counter and display corresponding outputs using $ monitor. Compile and run the simulation in ModelSim and display counter output waveform
Task# 03
Below is Circuit diagram of an Arithmetic Logic Unit (ALU) that operates on 16-bit input data
Figure 1. Arithmetic Logic Unit (ALU)
Write behavioral verilog module for the ALU. Also write its Stimulus in Verilog. Create a ModelSim project, add 16-bit ALU module and its stimulus to project Compile and run the simulation of ALU in ModelSim and display/verify outputs