add the -m flag.
This commit is contained in:
parent
dc5bd8ea59
commit
9b3c3b6e7a
|
|
@ -31,6 +31,8 @@ Defines macro \fImacro\fP as \fIdefn\fP.
|
||||||
.B -I\fIincludepath\fP
|
.B -I\fIincludepath\fP
|
||||||
Append path \fIincludepath\fP to list of paths searched for include files.
|
Append path \fIincludepath\fP to list of paths searched for include files.
|
||||||
.TP 8
|
.TP 8
|
||||||
|
.B -m\fImodule\fP
|
||||||
|
Add this module to the list of modules to be loaded by the simulation.
|
||||||
.B -X
|
.B -X
|
||||||
Generate XNF files as output. Default is VVM-format.
|
Generate XNF files as output. Default is VVM-format.
|
||||||
.TP 8
|
.TP 8
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ flags=""
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Try to extract given parameters
|
# Try to extract given parameters
|
||||||
parameter=`getopt D:I:Xxf:o:s:t: "$@"`
|
parameter=`getopt D:I:Xxf:m:o:s:t: "$@"`
|
||||||
eval set -- "${parameter}"
|
eval set -- "${parameter}"
|
||||||
while true ; do
|
while true ; do
|
||||||
|
|
||||||
|
|
@ -55,6 +55,7 @@ while true ; do
|
||||||
-I) extIncPath="${extIncPath} -I $2" ; shift 2 ;;
|
-I) extIncPath="${extIncPath} -I $2" ; shift 2 ;;
|
||||||
-X) target="xnf" ; shift ;;
|
-X) target="xnf" ; shift ;;
|
||||||
-f) flags="$flags -f$2" ; shift 2 ;;
|
-f) flags="$flags -f$2" ; shift 2 ;;
|
||||||
|
-m) flags="$flags -m$2" ; shift 2 ;;
|
||||||
-o) outputFile=$2 ; shift 2 ;;
|
-o) outputFile=$2 ; shift 2 ;;
|
||||||
-s) topModule="-s $2 " ; shift 2 ;;
|
-s) topModule="-s $2 " ; shift 2 ;;
|
||||||
-t) target="$2" ; shift 2 ;;
|
-t) target="$2" ; shift 2 ;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue