Reshuffle -v and -V flags of ivl. (Stephan Boettcher)

This commit is contained in:
steve 2001-07-16 18:14:56 +00:00
parent 0e20be774e
commit e23dd57c9d
2 changed files with 36 additions and 5 deletions

View File

@ -252,6 +252,7 @@ optimization functions and the code generator, but not the preprocessor.
Usage: ivl <options>... file Usage: ivl <options>... file
ivl -h ivl -h
ivl -V
-F <name> -F <name>
Use this flag to request an optimization function be applied Use this flag to request an optimization function be applied
@ -263,6 +264,9 @@ Usage: ivl <options>... file
The function is specified by name. Use the "ivl -h" command to The function is specified by name. Use the "ivl -h" command to
get a list of configured function names. get a list of configured function names.
-h
Print usage information, and exit.
-m <module> -m <module>
Cause a named VPI module to be included in the module Cause a named VPI module to be included in the module
list. This parameter appends the named module to the end of list. This parameter appends the named module to the end of
@ -317,8 +321,11 @@ Usage: ivl <options>... file
Select the output format for the compiled result. Use the Select the output format for the compiled result. Use the
"ivl -h" command to get a list of configured targets. "ivl -h" command to get a list of configured targets.
-v -v Print progress indications, and (if supported by the system)
Print version and copyright information for ivl. executions times in ivl precessing steps.
-V
Print version and copyright information for ivl, and exit.
4.2 EXAMPLES 4.2 EXAMPLES

30
main.cc
View File

@ -19,7 +19,7 @@ const char COPYRIGHT[] =
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: main.cc,v 1.44 2001/07/03 04:09:24 steve Exp $" #ident "$Id: main.cc,v 1.45 2001/07/16 18:14:56 steve Exp $"
#endif #endif
const char NOTICE[] = const char NOTICE[] =
@ -253,12 +253,33 @@ int main(int argc, char*argv[])
return flag_errors; return flag_errors;
if (help_flag) { if (help_flag) {
cout << "Icarus Verilog version " << VERSION << endl <<
"usage: ivl <options> <file>\n"
"options:\n"
"\t-F <name> Apply netlist function <name>.\n"
"\t-h Print usage information, and exit.\n"
"\t-m <module> Load vpi module <module>.\n"
"\t-N <file> Dump the elaborated netlist to <file>.\n"
"\t-o <file> Write output to <file>.\n"
"\t-P <file> Write the parsed input to <file>.\n"
"\t-p <assign> Set a parameter value.\n"
"\t-s <module> Select the top-level module.\n"
"\t-T [min|typ|max] Select timing corner.\n"
"\t-t <name> Select target <name>.\n"
"\t-v Print progress indications"
#if defined(HAVE_TIMES)
" and execution times"
#endif
".\n"
"\t-V Print version and copyright information, and exit.\n"
;
cout << "Netlist functions:" << endl; cout << "Netlist functions:" << endl;
for (unsigned idx = 0 ; func_table[idx].name ; idx += 1) for (unsigned idx = 0 ; func_table[idx].name ; idx += 1)
cout << " " << func_table[idx].name << endl; cout << "\t-F " << func_table[idx].name << endl;
cout << "Target types:" << endl; cout << "Target types:" << endl;
for (unsigned idx = 0 ; target_table[idx] ; idx += 1) for (unsigned idx = 0 ; target_table[idx] ; idx += 1)
cout << " " << target_table[idx]->name << endl; cout << "\t-t " << target_table[idx]->name << endl;
return 0; return 0;
} }
@ -425,6 +446,9 @@ int main(int argc, char*argv[])
/* /*
* $Log: main.cc,v $ * $Log: main.cc,v $
* Revision 1.45 2001/07/16 18:14:56 steve
* Reshuffle -v and -V flags of ivl. (Stephan Boettcher)
*
* Revision 1.44 2001/07/03 04:09:24 steve * Revision 1.44 2001/07/03 04:09:24 steve
* Generate verbuse status messages (Stephan Boettcher) * Generate verbuse status messages (Stephan Boettcher)
* *