vlog参数及其含义

VLOG

The vlog command compiles Verilog source code and SystemVerilog extensions into a

specified working library (or to the work library by default).
The vlog command may be invoked from within ModelSim or from the operating system
command prompt. It may also be invoked during simulation.
Compiled libraries are major-version dependent. When moving between major versions, you
have to refresh compiled libraries using the -refresh argument to vlog. This is not true for minor
versions (letter releases).
All arguments to the vlog command are case sensitive: -WORK and -work are not equivalent.
The IEEE P1800 Draft Standard for SystemVerilog requires that 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 is a change in vlog from versions prior to 6.2, wherein all files
in a single command line were concatenated into 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] [ ...]
[options]:
[-32 | -64] [-93]
[+acc[=] [+ [.]]
[-addpragmaprefix ]
[-ccflags <“compileopts”>] [-compat] [-compile_uselibs[=]]
[-constimmedassert | -noconstimmedassert] [-convertallparams] [+cover[=]]
[-covercells | -nocovercells] [-coverdeglitch {“ ”}] [-coverenhanced]
[-coverexcludedefault | -nocoverexcludedefault] [-coverfec | -nocoverfec]
[-coveropt ] [-coverreportcancelled] [-coverudp | -nocoverudp]
[-cuname]
[+define+[=]] [-deglitchalways | -nodeglitchalways]
[+delay_mode_distributed] [+delay_mode_path] [+delay_mode_unit]
[+delay_mode_zero] [-dpicppinstall <[gcc|g++] version>] [-dpicpppath ]
[-dpiforceheader] [-dpiheader ]
[-E ] [-Edebug ] [-enumfirstinit] [-Epretty ]
[-error [,,…]] [-extendedtogglemode 1|2|3]
[-f ] [-fecudpeffort {1 | 2 | 3}] [+floatparameters[+[.]]] [-
force_refresh ]
[-fsmimplicittrans | -nofsmimplicittrans] [-fsmmultitrans]
[-fsmresettrans | -nofsmresettrans ] [-fsmsingle | -nofsmsingle]
[-fsmverbose[b | t | w]] [-fsmxassign | -nofsmxassign ]

[-gen_xml ]
[-hazards]
[-ignorepragmaprefix ] [+incdir+] [-incr | -noincr]
[+initmem[=][+{0 | 1 | X | Z}]]
[+initreg[=][+{0 | 1 | X | Z}]] [-isymfile] [+iterevaluation]
[-l ] [-L ] [-Lf ] [+libcell | +nolibcell]
[+libext+] [-libmap ] [-libmap_verbose] [+librescan]
[-line ] [-lint] [-lowercasepragma] [-lowercasepslpragma] [-lrmclassinit]
[+maxdelays] [+mindelays] [-mixedansiports] [-mixedsvvh [b | s | v]]
[-mfcu | -sfcu] [-modelsimini ]
[-nocovercells] [-nocoverfec] [-nocovershort] [-nocoverudp] [-nodbgsym]
[-nodebug[=ports | =pli | =ports+pli]] [-noexcludeternary ]
[-noForceUnsignedToVhdlInteger] [-nologo] [-nopsl] [+nospecify]
[-note [,,…]] [-novopt] [+notimingchecks]
[-novtblfixup] [+nowarn] [-nowarn ]
[+nosparse[+ [.]]] [+num_opt_cell_conds+]
[-oldsv] [-optionset ] [-override_timescale /
] [-O0 | -O1 | -O4 | -O5]
[-pedanticerrors] [-permissive] [-permit_defunct_sv] [-printinfilenames] [-pslext]
[-pslfile ] [+protect[=]]
[-quiet]
[-R []] [-refresh]
[-scdpiheader ] [-source] [-s] [-sv]
[-svext=[+|-][,[+|-]]…] [-svinputport=net | var | relaxed]
[-svpkgcasesens] [-skipprotected] [-skipprotectedmodule]
[-smartdbgsym] [-suppress [,,…]] [-sv05compat]
[-sv09compat] [-sv12compat]
[-time] [-timescale /] [-togglecountlimit ]
[-togglewidthlimit ] [-toggleportsonly] [+typdelays]
[-u]
[-v ] [-version] [-vlog01compat] [-vlog95compat] [-vmake]
[-vopt | -novopt]
[-warning [,,…]] [-work ]
[-writetoplevels ]
[-y ]

你可能感兴趣的:(嵌入式)