iverilog-vpi(1) | Version 10.2 (stable) | iverilog-vpi(1) |
iverilog-vpi - Compile front end for VPI modules
iverilog-vpi [options] sourcefile...
iverilog-vpi is a tool to simplify the compilation of VPI modules for use with Icarus Verilog. It takes on the command line a list of C or C++ source files, and generates as output a linked VPI module. See the vvp(1) man page for a description of how the linked module is loaded by a simulation.
By default the output is named after the first source file. For example, if the first source file is named foo.c, the output becomes foo.vpi.
iverilog-vpi accepts the following options:
When built as a native Windows program (using the MinGW toolchain), by default iverilog-vpi will attempt to locate the MinGW tools needed to compile a VPI module on the system path (as set by the PATH environment variable). As an alternative, the user may specify the location of the MinGW tools via the following option.
iverilog-vpi includes additional flags to let Makefile gurus peek at the configuration of the iverilog installation. This way, Makefiles can be written that handle complex VPI builds natively, and without hard-coding values that depend on the system and installation. If used at all, these options must be used one at a time, and without any other options or directives.
Example GNU makefile that takes advantage of these flags:
Steve Williams (steve@icarus.com)
iverilog(1), vvp(1), <http://iverilog.icarus.com/>, <http://mingw-w64.yaxm.org/>,
Copyright © 2002-2017 Stephen Williams This document can be freely redistributed according to the terms of the GNU General Public License version 2.0
Jan 29th, 2017 |