VLOG
The vlog command compiles Verilog source code and SystemVerilog extensions into a specified working library (or to the WOR K Library by default).
The vlog command may invoked from within Modelsim or from the operating system
Command prompt. It may also is invoked during simulation.
Compiled libraries is major-version dependent. When moving between major versions, you
Has to refresh compiled libraries using The-refresh argument to vlog. This isn't true for minor
Versions (letter releases).
All arguments to the vlog command is case sensitive:-work and-work is not equivalent.
The IEEE P1800 Draft standard for SystemVerilog requires, the default behavior of the
Vlog command is to treat each Verilog design file listed on the command line as a separate
Compilation unit. This behavior are a vlog from versions prior to 6.2, and wherein all files
In a single command line were concatenated to a single compilation unit. To treat multiple
Files listed within a single command line as a single compilation unit, use either the VLOG-MFCU
Argument or the Multifilecompilationunit modelsim.ini file variable.
This command provides additional information with THE-HELP switch.
Syntax
vlog [options] <filename> [<filename> ...]
[Options]:
[-32 |-64] [-93]
[+acc[=<spec>] [+<selection> [.]]
[-addpragmaprefix <prefix>]
[-ccflags < "compileopts";] [-compat] [-compile_uselibs[=<directory_name>]]
[-constimmedassert |-noconstimmedassert] [-convertallparams] [+cover[=<spec>]]
[-covercells |-nocovercells] [-coverdeglitch {"<n> <time_unit>"}] [-coverenhanced]
[-coverexcludedefault |-nocoverexcludedefault] [-COVERFEC |-nocoverfec]
[-coveropt <opt_level>] [-coverreportcancelled] [-COVERUDP |-nocoverudp]
[-cuname]
[+define+<macro_name>[=<macro_text>]] [-deglitchalways |-nodeglitchalways]
[+delay_mode_distributed] [+delay_mode_path] [+delay_mode_unit]
[+delay_mode_zero] [-dpicppinstall <[gcc|g++] version>] [-dpicpppath <pathname>]
[-dpiforceheader] [-dpiheader <filename>]
[-e <filename>] [-edebug <filename>] [-enumfirstinit] [-epretty <filename>]
[-error <msg_number>[,<msg_number>,...] [-extendedtogglemode 1|2|3]
[-f <filename>] [-fecudpeffort {1 | 2 | 3}] [+floatparameters[+<selection>[.]] [-
Force_refresh <design_unit>]
[-fsmimplicittrans |-nofsmimplicittrans] [-fsmmultitrans]
[-fsmresettrans |-nofsmresettrans] [-fsmsingle |-nofsmsingle]
[-fsmverbose[b | t | W]] [-fsmxassign |-nofsmxassign]
[-gen_xml <design_unit> <filename>]
[-hazards]
[-ignorepragmaprefix <prefix>] [+incdir+<directory>] [-INCR |-noincr]
[+initmem[=<spec>][+{0 | 1 | X | Z}]]
[+initreg[=<spec>][+{0 | 1 | X | Z}] [-isymfile] [+iterevaluation]
[-l <FILENAME>] [-l <LIBNAME>] [-lf <libname>] [+libcell | +nolibcell]
[+libext+<suffix>] [-libmap <pathname>] [-libmap_verbose] [+librescan]
[-line <number>] [-lint] [-lowercasepragma] [-lowercasepslpragma] [-lrmclassinit]
[+maxdelays] [+mindelays] [-mixedansiports] [-MIXEDSVVH [B | s | v]]
[-MFCU |-SFCU] [-modelsimini <ini_filepath>]
[-nocovercells] [-NOCOVERFEC] [-nocovershort] [-NOCOVERUDP] [-nodbgsym]
[-nodebug[=ports | =pli | =ports+pli]] [-noexcludeternary <design_unit>]
[-noforceunsignedtovhdlinteger] [-nologo] [-NOPSL] [+nospecify]
[-note <msg_number>[,<msg_number>,...] [-novopt] [+notimingchecks]
[-novtblfixup] [+nowarn<code>] [-nowarn <category_number>]
[+nosparse[+<selection> [.]] [+num_opt_cell_conds+<value>]
[-OLDSV] [-optionset <optionset_name>] [-override_timescale <time_unit>/
<time_precision>] [-o0 |-o1 |-o4 |-o5]
[-pedanticerrors] [-permissive] [-PERMIT_DEFUNCT_SV] [-printinfilenames] [-pslext]
[-pslfile <filename>] [+protect[=<filename>]]
[-quiet]
[-R [<simargs>]] [-refresh]
[-scdpiheader <filename>] [-source] [-S] [-SV]
[-svext=[+|-]<extension>[,[+|-]<extension>] [-svinputport=net | var | relaxed]
[-svpkgcasesens] [-skipprotected] [-skipprotectedmodule]
[-smartdbgsym] [-suppress <msg_number>[,<msg_number>,...] [-sv05compat]
[-sv09compat] [-sv12compat]
[-time] [-timescale <time_units>/<time_precision>] [-togglecountlimit <int>]
[-togglewidthlimit <int>] [-toggleportsonly] [+typdelays]
[-u]
[-v <library_file>] [-version] [-vlog01compat] [-vlog95compat] [-vmake]
[-vopt |-novopt]
[-warning <msg_number>[,<msg_number>,...] [-work <library_name>]
[-writetoplevels <filename>]
[-y <library_directory>]