Wednesday, April 13, 2011

Verilog Simulation using Modelsim and ISE

1. If you have not compiled the Xilinx Simulation Libraries, please see (Xilinx Answer 15338) for information on how to compile the libraries.

2. Compile the "glbl.v" module, the source files, and the testbench. For example:
vlog $env(XILINX)/verilog/src/glbl.v .v .v

For more information about the "glbl.v" module, please see (Xilinx Answer 6537).

3. Load the design in ModelSim and use the -L switch to point to the libraries being used in the design. The "glbl" needs to be loaded as well.
vsim -t ps -L unisims_ver -L xilinxcorelib_ver work. work.glbl

NOTE: The "glbl.v" automatically pulses Global Set/Reset (GSR) for the first 100 ns of the simulation. See (Xilinx Answer 6537) for more information.

More see



The following links are purely for ModelSim simulation and tutorials for Verilog:








No comments:

Followers

Blog Archive

About Me

My photo
HD Multimedia Technology player