diff --git a/iverilog-vpi.man b/iverilog-vpi.man index 47c550313..2a1efdfa3 100644 --- a/iverilog-vpi.man +++ b/iverilog-vpi.man @@ -1,9 +1,10 @@ -.TH iverilog-vpi 1 "$Date: 2002/05/28 05:21:30 $" Version "$Date: 2002/05/28 05:21:30 $" +.TH iverilog-vpi 1 "$Date: 2002/07/05 17:17:20 $" Version "$Date: 2002/07/05 17:17:20 $" .SH NAME iverilog-vpi - Compile front end for VPI modules .SH SYNOPSIS .B iverilog-vpi +[--name=\fIname\fP] \fIsourcefile\fP... .SH DESCRIPTION @@ -26,6 +27,11 @@ first source file is named \fIfoo.c\fP, the output becomes Include the named library in the link of the VPI module. This allows VPI modules to further reference external libraries. +.TP 8 +.B --name=\fIname\fP +Normally, the output VPI module will be named after the first source +file passed to the command. This flag sets the name (without the .vpi +suffix) of the output vpi module. .SH "AUTHOR" .nf Steve Williams (steve@icarus.com) diff --git a/iverilog-vpi.sh b/iverilog-vpi.sh index fba1737f9..5dd1668ed 100644 --- a/iverilog-vpi.sh +++ b/iverilog-vpi.sh @@ -17,7 +17,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: iverilog-vpi.sh,v 1.5 2002/07/03 23:20:12 steve Exp $" +#ident "$Id: iverilog-vpi.sh,v 1.6 2002/07/05 17:17:20 steve Exp $" # These are the variables used for compiling files CC=gcc @@ -62,6 +62,10 @@ do fi ;; + --name=*) + OUT=`echo $parm | cut -b8-` + ;; + -l*) LIB="$LIB $parm" ;;