LAB 02 CprE 305

The purpose of this lab assignment is to help you become more familiar with verilog as well as the Max Plus II simulation tools.

  1. The following is a diagram for a 4-2 priority encoder, with line ina0 removed (since it has no effect on the output). Construct the truth table for the schematic.

  1. Use verilog to construct the encoder.
     
  2. Simulate your circuit and verify the results with your truth table. Your simulation results should be very easy to read, similar to the style of your truth table.
     
  3. Show your TA the truth table, your verilog code, and your verified simulation results.