From e23dd57c9de6e6bedcb368e419ade9edcf4b53f0 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 16 Jul 2001 18:14:56 +0000 Subject: [PATCH] Reshuffle -v and -V flags of ivl. (Stephan Boettcher) --- README.txt | 11 +++++++++-- main.cc | 30 +++++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/README.txt b/README.txt index b95b8c625..f0591c14c 100644 --- a/README.txt +++ b/README.txt @@ -252,6 +252,7 @@ optimization functions and the code generator, but not the preprocessor. Usage: ivl ... file ivl -h + ivl -V -F Use this flag to request an optimization function be applied @@ -263,6 +264,9 @@ Usage: ivl ... file The function is specified by name. Use the "ivl -h" command to get a list of configured function names. +-h + Print usage information, and exit. + -m Cause a named VPI module to be included in the module list. This parameter appends the named module to the end of @@ -317,8 +321,11 @@ Usage: ivl ... file Select the output format for the compiled result. Use the "ivl -h" command to get a list of configured targets. --v - Print version and copyright information for ivl. +-v Print progress indications, and (if supported by the system) + executions times in ivl precessing steps. + +-V + Print version and copyright information for ivl, and exit. 4.2 EXAMPLES diff --git a/main.cc b/main.cc index bd49bc17c..a2ed6802d 100644 --- a/main.cc +++ b/main.cc @@ -19,7 +19,7 @@ const char COPYRIGHT[] = * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #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 const char NOTICE[] = @@ -253,12 +253,33 @@ int main(int argc, char*argv[]) return flag_errors; if (help_flag) { + cout << "Icarus Verilog version " << VERSION << endl << +"usage: ivl \n" +"options:\n" +"\t-F Apply netlist function .\n" +"\t-h Print usage information, and exit.\n" +"\t-m Load vpi module .\n" +"\t-N Dump the elaborated netlist to .\n" +"\t-o Write output to .\n" +"\t-P Write the parsed input to .\n" +"\t-p Set a parameter value.\n" +"\t-s Select the top-level module.\n" +"\t-T [min|typ|max] Select timing corner.\n" +"\t-t Select target .\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; 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; 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; } @@ -425,6 +446,9 @@ int main(int argc, char*argv[]) /* * $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 * Generate verbuse status messages (Stephan Boettcher) *