Professional Documents
Culture Documents
University of Tripoli
College of Engineering
Department of Computer Engineering
Fall 2020
EXPERIMENT NO. 0
Objective: The purpose of this experiment is to simulate the structural, data flow, and
behavior of several of the basic logic gates and you will connect several logic gates
together to create simple digital model, to check the functionality by simulating the
design.
Theory: Logic gates are the basic building blocks of any digital system. It is an
electronic circuit having one or more input and only one output. The
relationship between the input and the output is based on a certain logic. Based on this,
logic gates are named as AND gate, OR gate, NOT gate, etc..
Procedural:
1. Create a module with required number of variables and mention it’s input/output.
2. Write the description of given Boolean function using operators or by using the
built in primitive gates.
3. Create another module referred as test bench to verify the functionality.
4. Follow the steps required to simulate the design and compare the obtained output
with the corresponding truth table.
EC582 FPGA Design with Verilog Hardware Description Language
EC582 FPGA Design with Verilog Hardware Description Language