Verilog Simulation
Chapter contents
Verilog-XL compatible compiler options
Verilog-XL `uselib compiler directive
Verilog-XL compatible simulator options
Compiling for faster performance
Compiling mixed designs with -fast
Compiling gate-level designs with -fast
Referencing the optimized design
Enabling design object visibility with the +acc option
Verilog-XL compatible system tasks
IEEE Std 1364 compiler directives
Verilog-XL compatible compiler directives
Compiling and linking PLI/VPI applications
The PLI callback reason argument
Verilog-XL compatible routines
This chapter describes how to compile and simulate Verilog designs with ModelSim Verilog. ModelSim Verilog implements the Verilog language as defined by the IEEE Std 1364, and it is recommended that you obtain this specification as a reference manual.
In addition to the functionality described in the IEEE Std 1364, ModelSim Verilog includes the following features:
- Standard Delay Format (SDF) annotator compatible with many ASIC and FPGA vendor's Verilog libraries
- Value Change Dump (VCD) file extensions for ASIC vendor test tools
- Dynamic loading of PLI/VPI applications
- Compilation into retargetable, executable code
- Incremental design compilation
- Extensive support for mixing VHDL and Verilog in the same design (including SDF annotation)
- Graphic Interface that is common with ModelSim VHDL
- Extensions to provide compatibility with Verilog-XL
The following IEEE Std 1364 functionality is partially implemented in ModelSim Verilog:
- Verilog Procedural Interface (VPI) (see /<install_dir>/modeltech/docs/technotes/Verilog_VPI.note for details)
Many of the examples in this chapter are shown from the command line. For compiling and simulating within a project or ModelSim's GUI see:
- Getting started with projects
- Compiling with the graphic interface
- Simulating with the graphic interface
ModelSim variables
Several variables are available to control simulation, provide simulator state feedback, or modify the appearance of the ModelSim GUI. To take effect, some variables, such as environment variables, must be set prior to simulation. See Appendix A - ModelSim Variables for a complete listing of ModelSim variables.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |