Technical data

vlog
ModelSim EE/SE Command Reference ModelSim Commands CR-199
vlog
The vlog command is used to invoke VLOG, the Model Technology Verilog
compiler. Use vdel
(CR-175) to compile Verilog source code into a specified
working library (or to the work library by default). The vlog command is used just
like vdel
(CR-175), except that you do not need to compile a module before it is
referenced (unless the module is referenced from VHDL).
This command may be invoked from within ModelSim or from the operating
system command prompt. This command may also be invoked during simulation.
Syntax
vlog
[-help] [-compat] [+define+<macro_name>[=<macro_text>]]
[+delay_mode_distributed] [+delay_mode_path] [+delay_mode_unit]
[+delay_mode_zero] [-f <filename>][-hazards] [+incdir+<directory>]
[-incr] [+libext+<suffix>] [+librescan] [-line <number>]
[+mindelays] [+maxdelays] [-nodebug[=ports | =pli]] [+nolibcell]
[-noincr] [-nolock] [-nologo] [-O0 | -O1 | -O4 | -O5] [-quiet] [-R
<simargs>] [-refresh] [-source] [+typdelays] [-u] [-v
<library_file>] [-version] [-work <library_name>] [-y
<library_directory>] [-93] <filename>
Arguments
-help
Displays the commands options and arguments. Optional.
-compat
The Verilog language does not specify the order that a simulator must execute
simultaneous events; however, some models depend on the event ordering of the
simulator that the model was developed on. The -compat switch disables
optimizations that result in an event order that is different from some other widely
used Verilog simulators. You can also use the -hazards switch to help find code
that depends on a specific event ordering.
+define+<macro_name>[=<macro_text>]
Same as compiler directive: ‘define macro_name macro_text. Optional.
+delay_mode_distributed
Use structural delays and ignore path delays. Optional.
+delay_mode_path
Set structural delays to zero and use path delays. Optional.