Lab 1 - Introduction to Verilog and Verilog Simulation
In this lab, you will design a library of basic logic gates including a 2-input AND gate, a 2-input OR gate,
and an inverter (INV gate). Using these basic components, one can build any combinational logic circuit.
Lab Procedure
The following provides the steps that you must follow to complete this lab.
- Follow the Verilog tutorial to design a 2-input AND gate. Test your design by
exhaustively simulating all possible input combinations.
- Design a 2-input OR gate. Test your design by
exhaustively simulating all possible input combinations.
- Design an inverter (INV gate). Test your design by
exhaustively simulating all possible input combinations.
Demo
You must demo the following aspects or your NAND gate design to the TA.
- Verilog code for AND, OR, and INV gates.
- Simulation waveforms demonstrating correct functionality for the AND,
OR, and INV gates for all possible inputs.
Lab Report
In addition to the standard lab report format, you must submit the following information.
- Verilog code for AND gate design.
- Verilog code for OR gate design.
- Verilog code for INV gate design.
- Simulation waveforms demonstrating correct functionality for the AND, OR,
and INV gates for all possible inputs.