vvp(1)

πŸ“¦
version 13.0 Β· 3 versions
, in alpine 3.24, arch rolling, epel 10, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– vvp(1) β€” the Icarus Verilog vvp runtime engine πŸ’–

okay bestie, sit down, we're talking about vvp β€” and this is Version 13.0 (stable) so you know it's the good stuff ✨ (the page itself is from Jan 13th, 2026, we'll get to that at the end πŸŽ€)


🌸 NAME 🌸

vvp β€” the Icarus Verilog vvp runtime engine. that's it, that's the whole vibe. it runs your stuff. πŸ’…


✨ SYNOPSIS ✨

vvp [-inNqsvV] [-Mpath] [-mmodule] [-llogfile] inputfile [extended-args...]

look at that little lineup of flags, so cute, so powerful 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so vvp is the run time engine that executes the default compiled form generated by Icarus Verilog. here's the tea: the output from the iverilog command is not by itself executable on any platform. like, it just sits there. instead, you invoke the vvp program to execute the generated output file. vvp is the main character, periodt πŸ‘‘


πŸ’… OPTIONS πŸ’…

vvp accepts the following options (yes, all of them, we're not skipping a single one):

  • -i β€” this flag causes all output to <stdout> to be unbuffered. instant gratification, no waiting around πŸ’¨
  • -llogfile β€” this flag specifies a logfile where all MCI <stdlog> output goes. specify logfile as '-' to send log output to <stderr>. and btw, $display and friends send their output both to <stdout> and <stdlog>. dual posting, iconic ✨
  • -Mpath β€” this flag adds a directory to the path list used to locate VPI modules. the default path includes only the install directory for the system.vpi module, but this flag can add other directories. multiple paths are allowed, and modules will be searched in order. queue up bestie 🌈
  • -mmodule β€” tell the vvp run time to load the named module before executing the simulation. the system.vpi module is loaded by default, but additional modules β€” including modules that you compiled locally β€” can be specified with this flag. any number of modules can be loaded, and they will be linked in the order they are listed on the command line.

normally, you only need to specify the name of the module, without any directory path or .vpi suffix, and the search path is scanned to find the module. however, if the name includes at least one directory character, then the search path is not scanned and the name is assumed to be a complete file name. read that twice, it matters 😭

  • -n β€” this flag makes $stop or a <Control-C> a synonym for $finish. it can be used to give the program a more meaningful interface when running in a non-interactive environment.
  • -N β€” this flag does the same thing as -n, but results in an exit code of 1 if the stimulation calls $stop. it can be used to indicate a simulation failure when running a testbench. very testbench-core of it πŸ§ͺ
  • -q β€” enable quiet mode. this suppresses all output to <stdout> sent via MCD bit 0 (e.g. all output from $display and friends). it does not affect output to the log file, nor does it affect output to <stdout> sent via the STDOUT file descriptor. read that again. quiet β‰  silent, bestie 🀫
  • -s β€” stop. this will cause the simulation to stop in the beginning, before any events are scheduled. this allows the interactive user to get hold of the simulation just before it starts. grab it by the collar 🫴
  • -v β€” turn on verbose messages. this will cause information about run time progress to be printed to standard out. yapper mode activated πŸ—£οΈ
  • -V β€” print the version of the runtime, and exit. short and sweet, love her πŸ’–

🌈 EXTENDED ARGUMENTS 🌈

the vvp options described above must come before the design file name. after the design file name, however, there may be any number of unspecified arguments. these arguments are not interpreted by vvp but are instead passed on to the executed design, and are available via the $test$plusargs and $value$plusargs system functions.

arguments that do not start with the plus (+) character are not available to the $plusargs system tasks, but can still be accessed via PLI code via the vpi_get_vlog_info function. this means that vpi modules may use arguments that do not start with + and be assured that they do not interfere with user defined plus-args. thoughtful! considerate! we love an unproblematic fave πŸ’œ

there are a few extended arguments that are interpreted by the standard system.vpi module, which implements the standard system tasks and are always included. these arguments are described here:

  • -vcd β€” this extended argument sets the wave dump format to VCD. this is the default in the absence of any IVERILOG_DUMPER environment variable. the VCD dump files are large and ponderous, but are also maximally compatible with third party tools that read waveform dumps. big files, big compatibility, balance ✨
  • -lxt / -lxt-speed / -lxt-space β€” these extended arguments set the wave dump format to lxt, possibly with format optimizations. the -lxt-space flag sets the output format to lxt with full compression enabled. the resulting files are quite small. the -lxt-speed chooses the lxt compression mode that leads to the best execution time and the fastest read time, at the expense of some file size. pick your fighter πŸ’…
  • -lxt2 / -lxt2-speed / -lxt2-space
  • -lx2 / -lx2-speed / -lx2-space

the LXT2 format is slower than LXT but usually takes less space, and is written out incrementally. thus, you can view lxt2 files while a simulation is still running (or paused) or if your simulation crashes or is killed, you still have a useful dump. the -lxt2-speed or -lx2-speed arguments are the same as -lxt2 or -lx2. the -lxt2-space or -lx2-space arguments enable better compression and turn off incremental writing. no cap, crash-proof dump energy πŸ›Ÿ

  • -fst / -fst-speed / -fst-space
  • -fst-space-speed / -fst-speed-space

this is a modern dumping format that is both faster and more compact than the other dumping formats. it supports incremental dumping just like -lxt2. the -fst-speed argument uses a faster compression methods that creates a noticeably larger output file. the -fst-space argument performs a repack of the file on close to produce the smallest possible dump file. the -fst-space-speed or -fst-speed-space arguments use the faster compression method and repack the file on close. the future is now ⭐

  • -none β€” this flag can be used by itself or appended to the end of the above dumpers (vcd/lxt/lxt2/lx2/fst) to suppress all waveform output. this can make long simulations run faster. girl, we are NOT dumping anything today πŸ’€
  • -sdf-warn β€” when loading an SDF annotation file, this option causes the annotator to print warnings for questionable but non-fatal issues. ⚠️
  • -sdf-info β€” when loading an SDF annotation file, this option causes the annotator to print information about the annotation. ℹ️
  • -sdf-verbose β€” this is shorthand for -sdf-info -sdf-warn. two for one, deal πŸŽ€
  • -compatible β€” this extended argument enables improved compatibility with other simulators. at present this only affects the display format for real numbers when no format string is supplied. playing nice with the other sims 🫢

🌸 ENVIRONMENT 🌸

the vvp command also accepts some environment variables that control its behavior. these can be used to make semi-permanent changes. set it and forget it πŸ’…

  • IVERILOG_DUMPER=fst|lxt|lxt2|lx2|vcd|none β€” this selects the output format for the waveform output. normally, waveforms are dumped in vcd format, but this variable can be used to select lxt format, which is far more compact, though limited to GTKWave or compatible viewers. it can also be used to suppress VCD output, a time-saver for regression tests.
  • IVERILOG_VPI_MODULE_PATH=/some/path:/some/other/path β€” this adds additional components to the VPI module search path. paths specified in this way are searched after paths specified with -M, but before the default search path. multiple paths can be separated with colons (semicolons if using Windows). know your search order, bestie πŸ—‚οΈ

πŸŽ€ INTERACTIVE MODE πŸŽ€

the simulation engine supports an interactive mode. the user may interrupt the simulation (typically by typing <Control-C>) to get to the interactive prompt. from that prompt, the help command prints a brief summary of the available commands. so helpful, so demure 🫧

the interactive mode may also be entered by a call to the $stop system task from within the simulation, or by a call to the vpi_control VPI function with the vpiStop control argument. these means of entering interactive mode are equivalent. same door, different handle, iykyk πŸšͺ


πŸ‘‘ AUTHOR πŸ‘‘

Steve Williams (steve@icarus.com)


πŸ¦‹ SEE ALSO πŸ¦‹


Copyright Β© 2001-2026 Stephen Williams

this document can be freely redistributed according to the terms of the GNU General Public License version 2.0


and that's the whole page bestie!! every flag, every format, every env var, all of it πŸ’–

okay that's a wrap ✨ this was vvp(1) from Version 13.0 (stable), dated Jan 13th, 2026 β€” go dump some waveforms, slay, and remember: read the -mmodule paragraph twice 😭🫢