Permalink
Browse files

add the -m flag.

  • Loading branch information...
1 parent dc5bd8e commit 9b3c3b6e7a56d3a201f62889f1fa29edf1608ca1 steve committed Jan 21, 2000
Showing with 4 additions and 1 deletion.
  1. +2 −0 verilog.1
  2. +2 −1 verilog.sh
View
@@ -31,6 +31,8 @@ Defines macro \fImacro\fP as \fIdefn\fP.
.B -I\fIincludepath\fP
Append path \fIincludepath\fP to list of paths searched for include files.
.TP 8
+.B -m\fImodule\fP
+Add this module to the list of modules to be loaded by the simulation.
.B -X
Generate XNF files as output. Default is VVM-format.
.TP 8
View
@@ -46,7 +46,7 @@ flags=""
#fi
# 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}"
while true ; do
@@ -55,6 +55,7 @@ while true ; do
-I) extIncPath="${extIncPath} -I $2" ; shift 2 ;;
-X) target="xnf" ; shift ;;
-f) flags="$flags -f$2" ; shift 2 ;;
+ -m) flags="$flags -m$2" ; shift 2 ;;
-o) outputFile=$2 ; shift 2 ;;
-s) topModule="-s $2 " ; shift 2 ;;
-t) target="$2" ; shift 2 ;;

0 comments on commit 9b3c3b6

Please sign in to comment.