Allow set of output name.
This commit is contained in:
parent
fd8ceac170
commit
d0dfe2e7e7
|
|
@ -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
|
.SH NAME
|
||||||
iverilog-vpi - Compile front end for VPI modules
|
iverilog-vpi - Compile front end for VPI modules
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B iverilog-vpi
|
.B iverilog-vpi
|
||||||
|
[--name=\fIname\fP]
|
||||||
\fIsourcefile\fP...
|
\fIsourcefile\fP...
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.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
|
Include the named library in the link of the VPI module. This allows
|
||||||
VPI modules to further reference external libraries.
|
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"
|
.SH "AUTHOR"
|
||||||
.nf
|
.nf
|
||||||
Steve Williams (steve@icarus.com)
|
Steve Williams (steve@icarus.com)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# 59 Temple Place - Suite 330
|
# 59 Temple Place - Suite 330
|
||||||
# Boston, MA 02111-1307, USA
|
# 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
|
# These are the variables used for compiling files
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
|
@ -62,6 +62,10 @@ do
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--name=*)
|
||||||
|
OUT=`echo $parm | cut -b8-`
|
||||||
|
;;
|
||||||
|
|
||||||
-l*) LIB="$LIB $parm"
|
-l*) LIB="$LIB $parm"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue