Remove reference to SystemVerilog.

This commit is contained in:
steve 2005-06-28 04:25:55 +00:00
parent 60b9121c6c
commit e7f3340513
4 changed files with 26 additions and 17 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: compiler.h,v 1.27 2005/04/24 23:44:01 steve Exp $" #ident "$Id: compiler.h,v 1.28 2005/06/28 04:25:55 steve Exp $"
#endif #endif
# include <list> # include <list>
@ -98,7 +98,7 @@ extern int build_library_index(const char*path, bool key_case_sensitive);
enum generation_t { enum generation_t {
GN_VER1995 = 1, GN_VER1995 = 1,
GN_VER2001 = 2, GN_VER2001 = 2,
GN_SYSVER30 = 3, GN_VER2001X = 3,
GN_DEFAULT = 3 GN_DEFAULT = 3
}; };
@ -137,6 +137,9 @@ extern int load_sys_func_table(const char*path);
/* /*
* $Log: compiler.h,v $ * $Log: compiler.h,v $
* Revision 1.28 2005/06/28 04:25:55 steve
* Remove reference to SystemVerilog.
*
* Revision 1.27 2005/04/24 23:44:01 steve * Revision 1.27 2005/04/24 23:44:01 steve
* Update DFF support to new data flow. * Update DFF support to new data flow.
* *

View File

@ -1,10 +1,10 @@
.TH iverilog 1 "$Date: 2004/10/04 01:10:56 $" Version "$Date: 2004/10/04 01:10:56 $" .TH iverilog 1 "$Date: 2005/06/28 04:25:55 $" Version "$Date: 2005/06/28 04:25:55 $"
.SH NAME .SH NAME
iverilog - Icarus Verilog compiler iverilog - Icarus Verilog compiler
.SH SYNOPSIS .SH SYNOPSIS
.B iverilog .B iverilog
[-ESVv] [-Bpath] [-ccmdfile] [-g1|-g2|-g3.0] [-Dmacro[=defn]] [-pflag=value] [-ESVv] [-Bpath] [-ccmdfile] [-g1|-g2|-g2x] [-Dmacro[=defn]] [-pflag=value]
[-Iincludedir] [-mmodule] [-Mfile] [-Nfile] [-ooutputfilename] [-Iincludedir] [-mmodule] [-Mfile] [-Nfile] [-ooutputfilename]
[-stopmodule] [-ttype] [-Tmin/typ/max] [-Wclass] [-ypath] sourcefile [-stopmodule] [-ttype] [-Tmin/typ/max] [-Wclass] [-ypath] sourcefile
@ -48,10 +48,10 @@ is the Verilog input, but with file inclusions and macro references
expanded and removed. This is useful, for example, to preprocess expanded and removed. This is useful, for example, to preprocess
Verilog source for use by other compilers. Verilog source for use by other compilers.
.TP 8 .TP 8
.B -g1\fI|\fP-g2\fI|\fP-g3.0 .B -g1\fI|\fP-g2\fI|\fP-g2x
Select the Verilog language \fIgeneration\fP to support in the Select the Verilog language \fIgeneration\fP to support in the
compiler. This selects between \fIIEEE1364-1995\fP(1), compiler. This selects between \fIIEEE1364-1995\fP(1),
\fIIEEE1364-2001\fP(2), or \fISystemVerilog 3.0\fP(3.0). Normally, \fIIEEE1364-2001\fP(2), or \fIVerilog with extension\fP(2x). Normally,
Icarus Verilog defaults to the latest known generation of the Icarus Verilog defaults to the latest known generation of the
language. This flag is most useful to restrict the language to a set language. This flag is most useful to restrict the language to a set
supported by tools of specific generations, for compatibility with supported by tools of specific generations, for compatibility with

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: main.c,v 1.65 2004/06/17 14:47:22 steve Exp $" #ident "$Id: main.c,v 1.66 2005/06/28 04:25:55 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -39,7 +39,7 @@ const char NOTICE[] =
; ;
const char HELP[] = const char HELP[] =
"Usage: iverilog [-ESvV] [-B base] [-c cmdfile] [-g1|-g2|-g3.0]\n" "Usage: iverilog [-ESvV] [-B base] [-c cmdfile] [-g1|-g2|-g2x]\n"
" [-D macro[=defn]] [-I includedir] [-M depfile] [-m module]\n" " [-D macro[=defn]] [-I includedir] [-M depfile] [-m module]\n"
" [-N file] [-o filename] [-p flag=value]\n" " [-N file] [-o filename] [-p flag=value]\n"
" [-s topmodule] [-t target] [-T min|typ|max]\n" " [-s topmodule] [-t target] [-T min|typ|max]\n"
@ -107,7 +107,7 @@ const char*npath = 0;
const char*targ = "vvp"; const char*targ = "vvp";
const char*depfile = 0; const char*depfile = 0;
const char*generation = "3.0"; const char*generation = "2x";
char warning_flags[16] = ""; char warning_flags[16] = "";
@ -393,8 +393,8 @@ int process_generation(const char*name)
else if (strcmp(name,"2") == 0) else if (strcmp(name,"2") == 0)
generation = "2"; generation = "2";
else if (strcmp(name,"3.0") == 0) else if (strcmp(name,"2x") == 0)
generation = "3.0"; generation = "2x";
else { else {
fprintf(stderr, "Unknown/Unsupported Language generation " fprintf(stderr, "Unknown/Unsupported Language generation "
@ -402,7 +402,7 @@ int process_generation(const char*name)
fprintf(stderr, "Supported generations are:\n"); fprintf(stderr, "Supported generations are:\n");
fprintf(stderr, " 1 -- IEEE1364-1995 (Verilog 1)\n" fprintf(stderr, " 1 -- IEEE1364-1995 (Verilog 1)\n"
" 2 -- IEEE1364-2001 (Verilog 2001)\n" " 2 -- IEEE1364-2001 (Verilog 2001)\n"
" 3.0 -- SystemVerilog 3.0\n"); " 2x -- Verilog with extensions\n");
return 1; return 1;
} }
@ -735,6 +735,9 @@ int main(int argc, char **argv)
/* /*
* $Log: main.c,v $ * $Log: main.c,v $
* Revision 1.66 2005/06/28 04:25:55 steve
* Remove reference to SystemVerilog.
*
* Revision 1.65 2004/06/17 14:47:22 steve * Revision 1.65 2004/06/17 14:47:22 steve
* Add a .sft file for the system functions. * Add a .sft file for the system functions.
* *

13
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
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: main.cc,v 1.89 2005/04/24 23:44:02 steve Exp $" #ident "$Id: main.cc,v 1.90 2005/06/28 04:25:55 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -186,8 +186,8 @@ static void process_generation_flag(const char*gen)
else if (strcmp(gen,"2") == 0) else if (strcmp(gen,"2") == 0)
generation_flag = GN_VER2001; generation_flag = GN_VER2001;
else if (strcmp(gen,"3.0") == 0) else if (strcmp(gen,"2x") == 0)
generation_flag = GN_SYSVER30; generation_flag = GN_VER2001X;
else else
generation_flag = GN_DEFAULT; generation_flag = GN_DEFAULT;
@ -548,8 +548,8 @@ int main(int argc, char*argv[])
case GN_VER2001: case GN_VER2001:
cout << "IEEE1364-2001"; cout << "IEEE1364-2001";
break; break;
case GN_SYSVER30: case GN_VER2001X:
cout << "SystemVerilog 3.0"; cout << "IEEE1364-2001+Extensions";
break; break;
} }
@ -758,6 +758,9 @@ int main(int argc, char*argv[])
/* /*
* $Log: main.cc,v $ * $Log: main.cc,v $
* Revision 1.90 2005/06/28 04:25:55 steve
* Remove reference to SystemVerilog.
*
* Revision 1.89 2005/04/24 23:44:02 steve * Revision 1.89 2005/04/24 23:44:02 steve
* Update DFF support to new data flow. * Update DFF support to new data flow.
* *