Create a config.h.in file to hold all the config

junk, and support gcc 3.0. (Stephan Boettcher)
This commit is contained in:
steve 2001-07-25 03:10:48 +00:00
parent eb08253ed0
commit b825f8d2b2
116 changed files with 848 additions and 130 deletions

View File

@ -15,3 +15,4 @@ check.cc
config.status
config.log
config.cache
config.h

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: Attrib.cc,v 1.1 2000/12/04 17:37:03 steve Exp $"
#ident "$Id: Attrib.cc,v 1.2 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "Attrib.h"
# include <assert.h>
@ -118,6 +120,10 @@ string Attrib::value(unsigned idx) const
/*
* $Log: Attrib.cc,v $
* Revision 1.2 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2000/12/04 17:37:03 steve
* Add Attrib class for holding NetObj attributes.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: LineInfo.cc,v 1.1 2000/11/30 17:31:42 steve Exp $"
#ident "$Id: LineInfo.cc,v 1.2 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "LineInfo.h"
# include <cstdio>
@ -42,6 +44,10 @@ void LineInfo::set_line(const LineInfo&that)
/*
* $Log: LineInfo.cc,v $
* Revision 1.2 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2000/11/30 17:31:42 steve
* Change LineInfo to store const C strings.
*

View File

@ -16,7 +16,7 @@
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
#ident "$Id: Makefile.in,v 1.98 2001/07/11 19:32:02 steve Exp $"
#ident "$Id: Makefile.in,v 1.99 2001/07/25 03:10:48 steve Exp $"
#
#
SHELL = /bin/sh
@ -117,7 +117,7 @@ PExpr.o PGate.o \
PTask.o PFunction.o PWire.o Statement.o \
$(FF) $(TT)
Makefile: Makefile.in config.status
Makefile: Makefile.in config.h.in config.status
./config.status

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: Module.cc,v 1.14 2000/11/15 20:31:05 steve Exp $"
#ident "$Id: Module.cc,v 1.15 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "Module.h"
# include "PGate.h"
# include "PWire.h"
@ -135,6 +137,10 @@ const list<PProcess*>& Module::get_behaviors() const
/*
* $Log: Module.cc,v $
* Revision 1.15 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.14 2000/11/15 20:31:05 steve
* Fix warning about temporaries.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PDelays.cc,v 1.4 2001/01/20 02:15:50 steve Exp $"
#ident "$Id: PDelays.cc,v 1.5 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "PDelays.h"
# include "PExpr.h"
# include "verinum.h"
@ -122,6 +126,10 @@ void PDelays::eval_delays(Design*des, const string&path,
/*
* $Log: PDelays.cc,v $
* Revision 1.5 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2001/01/20 02:15:50 steve
* apologize for not supporting non-constant delays.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PEvent.cc,v 1.1 2000/04/01 19:31:57 steve Exp $"
#ident "$Id: PEvent.cc,v 1.2 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PEvent.h"
PEvent::PEvent(const string&n)
@ -38,6 +40,10 @@ string PEvent::name() const
/*
* $Log: PEvent.cc,v $
* Revision 1.2 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2000/04/01 19:31:57 steve
* Named events as far as the pform.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PExpr.cc,v 1.23 2001/01/14 23:04:55 steve Exp $"
#ident "$Id: PExpr.cc,v 1.24 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "PExpr.h"
# include "Module.h"
# include <typeinfo>
@ -251,6 +255,10 @@ bool PEUnary::is_constant(Module*m) const
/*
* $Log: PExpr.cc,v $
* Revision 1.24 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.23 2001/01/14 23:04:55 steve
* Generalize the evaluation of floating point delays, and
* get it working with delay assignment statements.

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PFunction.cc,v 1.4 2001/01/13 22:20:08 steve Exp $"
#ident "$Id: PFunction.cc,v 1.5 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
#include "PTask.h"
PFunction::PFunction()
@ -52,6 +54,10 @@ void PFunction::set_output(PWire*o)
/*
* $Log: PFunction.cc,v $
* Revision 1.5 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2001/01/13 22:20:08 steve
* Parse parameters within nested scopes.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PGate.cc,v 1.9 2000/05/06 15:41:56 steve Exp $"
#ident "$Id: PGate.cc,v 1.10 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PGate.h"
# include "PExpr.h"
# include "verinum.h"
@ -178,6 +180,10 @@ void PGModule::set_range(PExpr*msb, PExpr*lsb)
/*
* $Log: PGate.cc,v $
* Revision 1.10 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.9 2000/05/06 15:41:56 steve
* Carry assignment strength to pform.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PTask.cc,v 1.5 2001/04/19 03:04:47 steve Exp $"
#ident "$Id: PTask.cc,v 1.6 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PTask.h"
PTask::PTask()
@ -46,6 +48,10 @@ void PTask::set_statement(Statement*s)
/*
* $Log: PTask.cc,v $
* Revision 1.6 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2001/04/19 03:04:47 steve
* Spurious assert of empty statemnt.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PWire.cc,v 1.5 2001/01/06 02:29:35 steve Exp $"
#ident "$Id: PWire.cc,v 1.6 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PWire.h"
# include <assert.h>
@ -108,6 +110,10 @@ void PWire::set_memory_idx(PExpr*ldx, PExpr*rdx)
/*
* $Log: PWire.cc,v $
* Revision 1.6 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2001/01/06 02:29:35 steve
* Support arrays of integers.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: Statement.cc,v 1.22 2000/07/26 05:08:07 steve Exp $"
#ident "$Id: Statement.cc,v 1.23 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "Statement.h"
# include "PExpr.h"
@ -260,6 +262,10 @@ PWhile::~PWhile()
/*
* $Log: Statement.cc,v $
* Revision 1.23 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.22 2000/07/26 05:08:07 steve
* Parse disable statements to pform.
*

52
config.h.in Normal file
View File

@ -0,0 +1,52 @@
#ifndef __config_H /* -*- c++ -*- */
#define __config_H
/*
* Copyright (c) 2001 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: config.h.in,v 1.1 2001/07/25 03:10:48 steve Exp $"
#endif
#if defined(__cplusplus)
# if !defined(__GNUC__)
using namespace std;
# elif (__GNUC__ == 3)
using namespace std;
# endif
#endif
# undef NEED_LU
# undef NEED_TU
# undef WLU
# undef WTU
# undef HAVE_TIMES
# undef HAVE_IOSFWD
# undef HAVE_GETOPT_H
# undef HAVE_DLFCN_H
# undef HAVE_DL_H
# undef HAVE_FCHMOD
# undef HAVE_LIBREADLINE
/*
* $Log: config.h.in,v $
* Revision 1.1 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
*/
#endif // __config_H

View File

@ -1,5 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(netlist.h)
AC_CONFIG_HEADER(config.h)
dnl Checks for programs.
AC_PROG_CC

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: cprop.cc,v 1.28 2001/06/15 04:14:18 steve Exp $"
#ident "$Id: cprop.cc,v 1.29 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include "netmisc.h"
# include "functor.h"
@ -937,6 +939,10 @@ void cprop(Design*des)
/*
* $Log: cprop.cc,v $
* Revision 1.29 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.28 2001/06/15 04:14:18 steve
* Generate vvp code for GT and GE comparisons.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: design_dump.cc,v 1.113 2001/04/29 20:19:10 steve Exp $"
#ident "$Id: design_dump.cc,v 1.114 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
/*
* This file contains all the dump methods of the netlist classes.
*/
@ -942,6 +944,10 @@ void Design::dump(ostream&o) const
/*
* $Log: design_dump.cc,v $
* Revision 1.114 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.113 2001/04/29 20:19:10 steve
* Add pullup and pulldown devices.
*

View File

@ -18,7 +18,7 @@
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
#ident "$Id: Makefile.in,v 1.4 2001/05/20 15:09:40 steve Exp $"
#ident "$Id: Makefile.in,v 1.5 2001/07/25 03:10:50 steve Exp $"
#
#
SHELL = /bin/sh
@ -46,7 +46,8 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
CPPFLAGS = @CPPFLAGS@ @DEFS@
CFLAGS = @CFLAGS@ -I.
CFLAGS = @CFLAGS@ -I. -I$(srcdir)/..
CXXFLAGS = @CXXFLAGS@ -I. -I$(srcdir)/..
LDFLAGS = @LDFLAGS@
all: iverilog@EXEEXT@
@ -67,7 +68,7 @@ parse.h parse.c: parse.y
main.o: main.c globals.h
$(CC) $(CPPFLAGS) -c -DCXX='"@CXX@"' -DIVL_ROOT='"@libdir@/ivl"' -DIVL_INC='"@includedir@"' -DIVL_LIB='"@libdir@"' -DRDYNAMIC=\"$(rdynamic)\" -DDLLIB='"@DLLIB@"' -DEXEEXT='"@EXEEXT@"' $(srcdir)/main.c
$(CC) $(CFLAGS) -c -DCXX='"@CXX@"' -DIVL_ROOT='"@libdir@/ivl"' -DIVL_INC='"@includedir@"' -DIVL_LIB='"@libdir@"' -DRDYNAMIC=\"$(rdynamic)\" -DDLLIB='"@DLLIB@"' -DEXEEXT='"@EXEEXT@"' $(srcdir)/main.c
build_string.o: build_string.c globals.h
lexor.o: lexor.c parse.h globals.h

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: build_string.c,v 1.3 2001/07/03 04:09:25 steve Exp $"
#ident "$Id: build_string.c,v 1.4 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "globals.h"
# include <string.h>
# include <assert.h>
@ -142,6 +144,10 @@ int build_string(char*output, size_t olen, const char*pattern)
/*
* $Log: build_string.c,v $
* Revision 1.4 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.3 2001/07/03 04:09:25 steve
* Generate verbuse status messages (Stephan Boettcher)
*

View File

@ -19,9 +19,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: lexor.lex,v 1.4 2000/12/15 02:00:11 steve Exp $"
#ident "$Id: lexor.lex,v 1.5 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <string.h>
# include "parse.h"

View File

@ -16,15 +16,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ident "$Id: main.c,v 1.20 2001/06/30 21:53:42 steve Exp $"
#ident "$Id: main.c,v 1.21 2001/07/25 03:10:50 steve Exp $"
# include "config.h"
const char HELP[] =
"Usage: iverilog [-ESv] [-B base] [-C path] [-c cmdfile]
[-D macro[=defn]] [-I includedir] [-m module]
[-N file] [-o filename] [-p flag=value]
[-s topmodule] [-t target] [-T min|typ|max]
[-W class] source_file(s)
See man page for details.";
"Usage: iverilog [-ESv] [-B base] [-C path] [-c cmdfile]\n"
" [-D macro[=defn]] [-I includedir] [-m module]\n"
" [-N file] [-o filename] [-p flag=value]\n"
" [-s topmodule] [-t target] [-T min|typ|max]\n"
" [-W class] source_file(s)\n"
"See man page for details.";
#define MAXSIZE 4096
@ -637,6 +639,10 @@ int main(int argc, char **argv)
/*
* $Log: main.c,v $
* Revision 1.21 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.20 2001/06/30 21:53:42 steve
* Make the vvp target the default.
*

View File

@ -18,9 +18,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse.y,v 1.2 2000/11/09 21:58:00 steve Exp $"
#ident "$Id: parse.y,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <stdio.h>
# include <malloc.h>
# include "globals.h"

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: dup_expr.cc,v 1.4 2000/05/07 18:20:07 steve Exp $"
#ident "$Id: dup_expr.cc,v 1.5 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include <cassert>
@ -40,6 +42,10 @@ NetESFunc* NetESFunc::dup_expr() const
/*
* $Log: dup_expr.cc,v $
* Revision 1.5 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2000/05/07 18:20:07 steve
* Import MCD support from Stephen Tell, and add
* system function parameter support to the IVL core.

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_anet.cc,v 1.2 2001/01/06 02:29:36 steve Exp $"
#ident "$Id: elab_anet.cc,v 1.3 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
/*
* The elaborate_anet methods elaborate expressions that are intended
* to be the left side of procedural continuous assignments.
@ -147,6 +149,10 @@ NetNet* PEIdent::elaborate_anet(Design*des, NetScope*scope) const
/*
* $Log: elab_anet.cc,v $
* Revision 1.3 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2001/01/06 02:29:36 steve
* Support arrays of integers.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_expr.cc,v 1.39 2001/06/30 21:28:35 steve Exp $"
#ident "$Id: elab_expr.cc,v 1.40 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "pform.h"
# include "netlist.h"
@ -632,6 +634,10 @@ NetEUnary* PEUnary::elaborate_expr(Design*des, NetScope*scope) const
/*
* $Log: elab_expr.cc,v $
* Revision 1.40 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.39 2001/06/30 21:28:35 steve
* Detect parameter mismatches.
*

View File

@ -17,12 +17,16 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_lval.cc,v 1.12 2001/02/09 03:16:48 steve Exp $"
#ident "$Id: elab_lval.cc,v 1.13 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PExpr.h"
# include "netlist.h"
# include <iostream>
/*
* These methods generate a NetAssign_ object for the l-value of the
* assignemnt. This is common code for the = and <= statements.
@ -311,6 +315,10 @@ NetAssign_* PEIdent::elaborate_lval(Design*des, NetScope*scope) const
/*
* $Log: elab_lval.cc,v $
* Revision 1.13 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.12 2001/02/09 03:16:48 steve
* Report bit/part select out of range errors. (PR#133)
*

View File

@ -17,14 +17,18 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_net.cc,v 1.72 2001/07/07 04:37:18 steve Exp $"
#ident "$Id: elab_net.cc,v 1.73 2001/07/25 03:10:48 steve Exp $"
#endif
# include "config.h"
# include "PExpr.h"
# include "netlist.h"
# include "netmisc.h"
# include "compiler.h"
# include <iostream>
/*
* Elaborating binary operations generally involves elaborating the
* left and right expressions, then making an output wire and
@ -1905,6 +1909,10 @@ NetNet* PEUnary::elaborate_net(Design*des, const string&path,
/*
* $Log: elab_net.cc,v $
* Revision 1.73 2001/07/25 03:10:48 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.72 2001/07/07 04:37:18 steve
* Generate !== an an inverted ===
*

View File

@ -17,12 +17,16 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_pexpr.cc,v 1.8 2001/01/14 23:04:56 steve Exp $"
#ident "$Id: elab_pexpr.cc,v 1.9 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "PExpr.h"
# include "util.h"
# include <iostream>
NetExpr*PExpr::elaborate_pexpr(Design*des, NetScope*sc) const
{
cerr << get_line() << ": error: invalid parameter expression: "
@ -199,6 +203,10 @@ NetExpr*PEUnary::elaborate_pexpr (Design*des, NetScope*scope) const
/*
* $Log: elab_pexpr.cc,v $
* Revision 1.9 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.8 2001/01/14 23:04:56 steve
* Generalize the evaluation of floating point delays, and
* get it working with delay assignment statements.

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_scope.cc,v 1.8 2001/04/28 23:18:08 steve Exp $"
#ident "$Id: elab_scope.cc,v 1.9 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/*
* Elaboration happens in two passes, generally. The first scans the
* pform to generate the NetScope tree and attach it to the Design
@ -451,6 +455,10 @@ void PWhile::elaborate_scope(Design*des, NetScope*scope) const
/*
* $Log: elab_scope.cc,v $
* Revision 1.9 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.8 2001/04/28 23:18:08 steve
* UDP instances need not have user supplied names.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elab_sig.cc,v 1.13 2001/05/25 02:21:34 steve Exp $"
#ident "$Id: elab_sig.cc,v 1.14 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "Module.h"
# include "PExpr.h"
# include "PGate.h"
@ -440,6 +444,10 @@ void PWire::elaborate_sig(Design*des, NetScope*scope) const
/*
* $Log: elab_sig.cc,v $
* Revision 1.14 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.13 2001/05/25 02:21:34 steve
* Detect input and input ports declared as reg.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: elaborate.cc,v 1.216 2001/07/19 03:43:15 steve Exp $"
#ident "$Id: elaborate.cc,v 1.217 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
/*
* Elaboration takes as input a complete parse tree and the name of a
* root module, and generates as output the elaborated design. This
@ -2341,6 +2343,10 @@ Design* elaborate(const map<string,Module*>&modules,
/*
* $Log: elaborate.cc,v $
* Revision 1.217 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.216 2001/07/19 03:43:15 steve
* Do not connect reg to module outputs.
*

10
emit.cc
View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: emit.cc,v 1.59 2001/04/22 23:09:46 steve Exp $"
#ident "$Id: emit.cc,v 1.60 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/*
* The emit function is called to generate the output required of the
* target.
@ -472,6 +476,10 @@ bool emit(const Design*des, const char*type)
/*
* $Log: emit.cc,v $
* Revision 1.60 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.59 2001/04/22 23:09:46 steve
* More UDP consolidation from Stephan Boettcher.
*

10
eval.cc
View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: eval.cc,v 1.20 2001/02/09 02:49:59 steve Exp $"
#ident "$Id: eval.cc,v 1.21 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "PExpr.h"
# include "netlist.h"
# include "compiler.h"
@ -194,6 +198,10 @@ verinum* PEUnary::eval_const(const Design*des, const string&path) const
/*
* $Log: eval.cc,v $
* Revision 1.21 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.20 2001/02/09 02:49:59 steve
* Be more clear about scope of failure.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: eval_rconst.cc,v 1.1 2001/01/14 23:04:56 steve Exp $"
#ident "$Id: eval_rconst.cc,v 1.2 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "PExpr.h"
verireal* PExpr::eval_rconst(const Design*, const NetScope*) const
@ -36,6 +38,10 @@ verireal* PEFNumber::eval_rconst(const Design*, const NetScope*) const
/*
* $Log: eval_rconst.cc,v $
* Revision 1.2 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2001/01/14 23:04:56 steve
* Generalize the evaluation of floating point delays, and
* get it working with delay assignment statements.

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: eval_tree.cc,v 1.25 2001/07/16 20:41:41 steve Exp $"
#ident "$Id: eval_tree.cc,v 1.26 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "netlist.h"
NetExpr* NetExpr::eval_tree()
@ -994,6 +998,10 @@ NetEConst* NetEUReduce::eval_tree()
/*
* $Log: eval_tree.cc,v $
* Revision 1.26 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.25 2001/07/16 20:41:41 steve
* Handle 0 counts in repeat concatenation.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: expr_synth.cc,v 1.23 2001/07/07 01:38:45 steve Exp $"
#ident "$Id: expr_synth.cc,v 1.24 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "netlist.h"
# include "netmisc.h"
@ -448,6 +452,10 @@ NetNet* NetESignal::synthesize(Design*des)
/*
* $Log: expr_synth.cc,v $
* Revision 1.24 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.23 2001/07/07 01:38:45 steve
* Put synthesized signals in proper scope.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: functor.cc,v 1.24 2000/11/19 20:48:30 steve Exp $"
#ident "$Id: functor.cc,v 1.25 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "functor.h"
# include "netlist.h"
@ -282,6 +286,10 @@ int proc_match_t::event_wait(NetEvWait*)
/*
* $Log: functor.cc,v $
* Revision 1.25 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.24 2000/11/19 20:48:30 steve
* Fix cases where signal iteration might die early.
*

View File

@ -18,7 +18,7 @@
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
#ident "$Id: Makefile.in,v 1.10 2001/05/20 15:09:40 steve Exp $"
#ident "$Id: Makefile.in,v 1.11 2001/07/25 03:10:50 steve Exp $"
#
#
SHELL = /bin/sh
@ -41,7 +41,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
CPPFLAGS = @CPPFLAGS@ @DEFS@
CFLAGS = @CFLAGS@ -I.
CFLAGS = @CFLAGS@ -I. -I$(srcdir)/..
LDFLAGS = @LDFLAGS@
all: ivlpp

View File

@ -19,9 +19,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: lexor.lex,v 1.23 2001/01/29 22:48:10 steve Exp $"
#ident "$Id: lexor.lex,v 1.24 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <stdio.h>
# include <malloc.h>
# include <string.h>

View File

@ -17,9 +17,11 @@ const char COPYRIGHT[] =
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: main.c,v 1.10 2001/06/23 18:41:02 steve Exp $"
#ident "$Id: main.c,v 1.11 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
const char NOTICE[] =
" This program is free software; you can redistribute it and/or modify\n"
" it under the terms of the GNU General Public License as published by\n"
@ -184,6 +186,10 @@ int main(int argc, char*argv[])
/*
* $Log: main.c,v $
* Revision 1.11 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.10 2001/06/23 18:41:02 steve
* Include stdlib.h
*

View File

@ -19,9 +19,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: lexor.lex,v 1.59 2001/07/01 23:44:43 steve Exp $"
#ident "$Id: lexor.lex,v 1.60 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
//# define YYSTYPE lexval
# include <iostream.h>

View File

@ -1,6 +1,7 @@
%{
/* Command-line: gperf -o -i 1 -C -k 1-3,$ -L C -H keyword_hash -N check_identifier -tT lexor_keyword.gperf */
#include "config.h"
#include "parse_misc.h"
#include "parse.h"
#include <string.h>

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: link_const.cc,v 1.9 2001/07/07 03:01:37 steve Exp $"
#ident "$Id: link_const.cc,v 1.10 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include "netmisc.h"
@ -111,6 +113,10 @@ verinum::V driven_value(const Link&lnk)
/*
* $Log: link_const.cc,v $
* Revision 1.10 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.9 2001/07/07 03:01:37 steve
* Detect and make available to t-dll the right shift.
*

View File

@ -19,9 +19,11 @@ 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.45 2001/07/16 18:14:56 steve Exp $"
#ident "$Id: main.cc,v 1.46 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
const char NOTICE[] =
" This program is free software; you can redistribute it and/or modify\n"
" it under the terms of the GNU General Public License as published by\n"
@ -446,6 +448,10 @@ int main(int argc, char*argv[])
/*
* $Log: main.cc,v $
* Revision 1.46 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.45 2001/07/16 18:14:56 steve
* Reshuffle -v and -V flags of ivl. (Stephan Boettcher)
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: mangle.cc,v 1.6 2001/04/22 23:09:46 steve Exp $"
#ident "$Id: mangle.cc,v 1.7 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "target.h"
# include <strstream>
@ -105,6 +107,10 @@ string stresc(const string&str)
/*
* $Log: mangle.cc,v $
* Revision 1.7 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.6 2001/04/22 23:09:46 steve
* More UDP consolidation from Stephan Boettcher.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_assign.cc,v 1.6 2000/10/18 20:04:39 steve Exp $"
#ident "$Id: net_assign.cc,v 1.7 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
/*
@ -173,6 +175,10 @@ NetAssignNB::~NetAssignNB()
/*
* $Log: net_assign.cc,v $
* Revision 1.7 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.6 2000/10/18 20:04:39 steve
* Add ivl_lval_t and support for assignment l-values.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_design.cc,v 1.19 2001/04/02 02:28:12 steve Exp $"
#ident "$Id: net_design.cc,v 1.20 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/*
* This source file contains all the implementations of the Design
* class declared in netlist.h.
@ -473,6 +477,10 @@ void Design::delete_process(NetProcTop*top)
/*
* $Log: net_design.cc,v $
* Revision 1.20 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.19 2001/04/02 02:28:12 steve
* Generate code for task calls.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_event.cc,v 1.14 2001/03/29 02:52:19 steve Exp $"
#ident "$Id: net_event.cc,v 1.15 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
NetEvent::NetEvent(const string&n)
@ -449,6 +451,10 @@ NetProc* NetEvWait::statement()
/*
* $Log: net_event.cc,v $
* Revision 1.15 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.14 2001/03/29 02:52:19 steve
* Add const probe method to NetEvent.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_force.cc,v 1.2 2000/05/12 01:22:41 steve Exp $"
#ident "$Id: net_force.cc,v 1.3 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
/*
* This file contains implementatsion of the NetForce, NetRelease,
* NetCAssign and NetDeassign classes. These are similar or related in
@ -115,6 +117,10 @@ const NetNet*NetRelease::lval() const
/*
* $Log: net_force.cc,v $
* Revision 1.3 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2000/05/12 01:22:41 steve
* NetCAssign needs to incr_eref its lval to lock it down.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_link.cc,v 1.4 2000/10/06 23:46:50 steve Exp $"
#ident "$Id: net_link.cc,v 1.5 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "netlist.h"
# include <strstream>
# include <string>
@ -350,6 +354,10 @@ const char* Nexus::name() const
/*
* $Log: net_link.cc,v $
* Revision 1.5 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2000/10/06 23:46:50 steve
* ivl_target updates, including more complete
* handling of ivl_nexus_t objects. Much reduced

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_modulo.cc,v 1.1 2000/09/17 21:26:15 steve Exp $"
#ident "$Id: net_modulo.cc,v 1.2 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <typeinfo>
# include <iostream>
# include <iomanip>

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_proc.cc,v 1.2 2000/07/27 05:13:44 steve Exp $"
#ident "$Id: net_proc.cc,v 1.3 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include <assert.h>
@ -93,6 +95,10 @@ const NetExpr* NetRepeat::expr() const
/*
* $Log: net_proc.cc,v $
* Revision 1.3 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2000/07/27 05:13:44 steve
* Support elaboration of disable statements.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_scope.cc,v 1.12 2001/07/04 04:34:06 steve Exp $"
#ident "$Id: net_scope.cc,v 1.13 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include <strstream>
@ -369,6 +371,10 @@ string NetScope::local_symbol()
/*
* $Log: net_scope.cc,v $
* Revision 1.13 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.12 2001/07/04 04:34:06 steve
* Scope-locals use _s instead of _l.
*

View File

@ -18,9 +18,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: net_udp.cc,v 1.5 2001/04/24 02:23:58 steve Exp $"
#ident "$Id: net_udp.cc,v 1.6 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
NetUDP::NetUDP(NetScope*s, const string&n, unsigned pins, PUdp *u)
@ -89,6 +91,10 @@ char NetUDP::get_initial() const
/*
* $Log: net_udp.cc,v $
* Revision 1.6 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2001/04/24 02:23:58 steve
* Support for UDP devices in VVP (Stephen Boettcher)
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: netlist.cc,v 1.167 2001/07/22 00:17:49 steve Exp $"
#ident "$Id: netlist.cc,v 1.168 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include <cassert>
# include <typeinfo>
# include "netlist.h"
@ -2358,6 +2362,10 @@ const NetProc*NetTaskDef::proc() const
/*
* $Log: netlist.cc,v $
* Revision 1.168 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.167 2001/07/22 00:17:49 steve
* Support the NetESubSignal expressions in vvp.tgt.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: netmisc.cc,v 1.1 2001/02/11 02:15:52 steve Exp $"
#ident "$Id: netmisc.cc,v 1.2 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include "netmisc.h"
# include "PExpr.h"
@ -42,6 +44,10 @@ NetExpr* elab_and_eval(Design*des, NetScope*scope, const PExpr*pe)
/*
* $Log: netmisc.cc,v $
* Revision 1.2 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2001/02/11 02:15:52 steve
* Add the netmisc.cc source file.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: nodangle.cc,v 1.11 2001/02/17 05:14:35 steve Exp $"
#ident "$Id: nodangle.cc,v 1.12 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
/*
* This functor scans the design looking for dangling objects and
* excess local signals. These deletions are not necessarily required
@ -124,6 +126,10 @@ void nodangle(Design*des)
/*
* $Log: nodangle.cc,v $
* Revision 1.12 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.11 2001/02/17 05:14:35 steve
* Cannot elide task ports.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: pad_to_width.cc,v 1.7 2001/02/16 03:25:09 steve Exp $"
#ident "$Id: pad_to_width.cc,v 1.8 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "netlist.h"
# include "netmisc.h"
@ -72,6 +74,10 @@ NetNet*pad_to_width(Design*des, NetNet*net, unsigned wid)
/*
* $Log: pad_to_width.cc,v $
* Revision 1.8 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.7 2001/02/16 03:25:09 steve
* Missing . in names generated from scope locals.
*

View File

@ -19,9 +19,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse.y,v 1.124 2001/07/01 23:44:43 steve Exp $"
#ident "$Id: parse.y,v 1.125 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "parse_misc.h"
# include "pform.h"

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse_misc.cc,v 1.4 2000/02/23 02:56:55 steve Exp $"
#ident "$Id: parse_misc.cc,v 1.5 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "parse_misc.h"
# include <iostream.h>
@ -58,6 +60,10 @@ int VLwrap()
/*
* $Log: parse_misc.cc,v $
* Revision 1.5 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2000/02/23 02:56:55 steve
* Macintosh compilers do not support ident.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: pform.cc,v 1.77 2001/05/25 02:21:34 steve Exp $"
#ident "$Id: pform.cc,v 1.78 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "compiler.h"
# include "pform.h"
# include "parse_misc.h"
@ -1017,6 +1019,10 @@ int pform_parse(const char*path, map<string,Module*>&modules,
/*
* $Log: pform.cc,v $
* Revision 1.78 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.77 2001/05/25 02:21:34 steve
* Detect input and input ports declared as reg.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: pform_dump.cc,v 1.66 2001/01/13 22:20:08 steve Exp $"
#ident "$Id: pform_dump.cc,v 1.67 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
/*
* This file provides the pform_dump function, that dumps the module
* passed as a parameter. The dump is as much as possible in Verilog
@ -811,6 +813,10 @@ void PUdp::dump(ostream&out) const
/*
* $Log: pform_dump.cc,v $
* Revision 1.67 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.66 2001/01/13 22:20:08 steve
* Parse parameters within nested scopes.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: set_width.cc,v 1.17 2001/02/08 01:10:30 steve Exp $"
#ident "$Id: set_width.cc,v 1.18 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/*
* This file contains set_width methods for the various NetExpr
* classes. The set_width method is used by elaboration to ask the
@ -337,6 +341,10 @@ bool NetEUnary::set_width(unsigned w)
/*
* $Log: set_width.cc,v $
* Revision 1.18 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.17 2001/02/08 01:10:30 steve
* Remove dead code.
*

View File

@ -19,9 +19,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: syn-rules.y,v 1.11 2000/11/22 21:18:42 steve Exp $"
#ident "$Id: syn-rules.y,v 1.12 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/*
* This file implements synthesys based on matching threads and
* converting them to equivilent devices. The trick here is that the

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: synth.cc,v 1.11 2000/11/22 21:18:42 steve Exp $"
#ident "$Id: synth.cc,v 1.12 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "functor.h"
# include "netlist.h"
@ -161,6 +163,10 @@ void synth(Design*des)
/*
* $Log: synth.cc,v $
* Revision 1.12 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.11 2000/11/22 21:18:42 steve
* synthesize the rvalue of <= statements.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-dll-api.cc,v 1.57 2001/07/22 00:17:49 steve Exp $"
#ident "$Id: t-dll-api.cc,v 1.58 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include "t-dll.h"
/* THE FOLLOWING ARE FUNCTIONS THAT ARE CALLED FROM THE TARGET. */
@ -1278,6 +1280,10 @@ extern "C" ivl_statement_t ivl_stmt_sub_stmt(ivl_statement_t net)
/*
* $Log: t-dll-api.cc,v $
* Revision 1.58 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.57 2001/07/22 00:17:49 steve
* Support the NetESubSignal expressions in vvp.tgt.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) & !defined(macintosh)
#ident "$Id: t-dll-expr.cc,v 1.15 2001/07/22 00:17:49 steve Exp $"
#ident "$Id: t-dll-expr.cc,v 1.16 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "t-dll.h"
# include "netlist.h"
# include <assert.h>
@ -292,6 +296,10 @@ void dll_target::expr_unary(const NetEUnary*net)
/*
* $Log: t-dll-expr.cc,v $
* Revision 1.16 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.15 2001/07/22 00:17:49 steve
* Support the NetESubSignal expressions in vvp.tgt.
*

View File

@ -18,9 +18,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-dll-proc.cc,v 1.31 2001/07/19 04:55:06 steve Exp $"
#ident "$Id: t-dll-proc.cc,v 1.32 2001/07/25 03:10:49 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "target.h"
# include "ivl_target.h"
# include "compiler.h"
@ -689,6 +693,10 @@ void dll_target::proc_while(const NetWhile*net)
/*
* $Log: t-dll-proc.cc,v $
* Revision 1.32 2001/07/25 03:10:49 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.31 2001/07/19 04:55:06 steve
* Support calculated delays in vvp.tgt.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-dll.cc,v 1.55 2001/07/22 00:17:49 steve Exp $"
#ident "$Id: t-dll.cc,v 1.56 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "compiler.h"
# include "t-dll.h"
# include "netmisc.h"
@ -1480,6 +1484,10 @@ extern const struct target tgt_dll = { "dll", &dll_target_obj };
/*
* $Log: t-dll.cc,v $
* Revision 1.56 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.55 2001/07/22 00:17:49 steve
* Support the NetESubSignal expressions in vvp.tgt.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-vvm.cc,v 1.209 2001/06/18 01:54:49 steve Exp $"
#ident "$Id: t-vvm.cc,v 1.210 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include <fstream>
# include <strstream>
@ -3642,6 +3644,10 @@ extern const struct target tgt_vvm = {
};
/*
* $Log: t-vvm.cc,v $
* Revision 1.210 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.209 2001/06/18 01:54:49 steve
* Add the ~& reduction operator.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-xnf.cc,v 1.42 2001/06/30 20:11:15 steve Exp $"
#ident "$Id: t-xnf.cc,v 1.43 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <iostream>
/* XNF BACKEND
* This target supports generating Xilinx Netlist Format netlists for
* use by Xilinx tools, and other tools that accepts Xilinx designs.
@ -923,6 +927,10 @@ extern const struct target tgt_xnf = { "xnf", &target_xnf_obj };
/*
* $Log: t-xnf.cc,v $
* Revision 1.43 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.42 2001/06/30 20:11:15 steve
* typo in CYMODE=EXAMINE-CI string.
*

View File

@ -17,9 +17,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: target.cc,v 1.54 2001/06/27 18:34:43 steve Exp $"
#ident "$Id: target.cc,v 1.55 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <iostream>
# include "target.h"
# include <typeinfo>
@ -385,6 +389,10 @@ void expr_scan_t::expr_binary(const NetEBinary*ex)
/*
* $Log: target.cc,v $
* Revision 1.55 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.54 2001/06/27 18:34:43 steve
* Report line of unsupported cassign.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: targets.cc,v 1.7 2000/12/02 04:50:32 steve Exp $"
#ident "$Id: targets.cc,v 1.8 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "target.h"
extern const struct target tgt_dll;
@ -35,6 +37,10 @@ const struct target *target_table[] = {
/*
* $Log: targets.cc,v $
* Revision 1.8 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.7 2000/12/02 04:50:32 steve
* Make the null target into a loadable target.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: null.c,v 1.4 2001/05/22 02:14:47 steve Exp $"
#ident "$Id: null.c,v 1.5 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
/*
* This is a null target module. It does nothing.
*/
@ -39,6 +41,10 @@ DECLARE_CYGWIN_DLL(DllMain);
/*
* $Log: null.c,v $
* Revision 1.5 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2001/05/22 02:14:47 steve
* Update the mingw build to not require cygwin files.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: dump_final.c,v 1.1 2000/12/09 03:42:52 steve Exp $"
#ident "$Id: dump_final.c,v 1.2 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "priv.h"
# include <stdio.h>
@ -52,6 +54,10 @@ void dump_final_design(FILE*out)
/*
* $Log: dump_final.c,v $
* Revision 1.2 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2000/12/09 03:42:52 steve
* Stuff registers into macrocells.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: emit_jed.c,v 1.2 2001/01/09 04:41:32 steve Exp $"
#ident "$Id: emit_jed.c,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "priv.h"
# include <stdio.h>
# include <malloc.h>
@ -129,6 +131,10 @@ int emit_jedec(const char*path)
/*
* $Log: emit_jed.c,v $
* Revision 1.3 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2001/01/09 04:41:32 steve
* Clean up the jedec header that is written.
*

View File

@ -16,8 +16,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ident "$Id: enables.c,v 1.3 2001/02/07 22:22:00 steve Exp $"
#ident "$Id: enables.c,v 1.4 2001/07/25 03:10:50 steve Exp $"
# include "config.h"
# include "ivl_target.h"
# include <assert.h>
# include "priv.h"
@ -77,6 +79,10 @@ void absorb_pad_enables(void)
/*
* $Log: enables.c,v $
* Revision 1.4 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.3 2001/02/07 22:22:00 steve
* ivl_target header search path fixes.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: fit_log.c,v 1.3 2001/05/16 03:55:30 steve Exp $"
#ident "$Id: fit_log.c,v 1.4 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "ivl_target.h"
# include <stdio.h>
# include <stdlib.h>
@ -126,6 +128,10 @@ int fit_logic(void)
/*
* $Log: fit_log.c,v $
* Revision 1.4 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.3 2001/05/16 03:55:30 steve
* Update to new LPM API for flip-flops.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: fit_reg.c,v 1.5 2001/05/16 03:55:30 steve Exp $"
#ident "$Id: fit_reg.c,v 1.6 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "ivl_target.h"
# include <stdio.h>
# include <assert.h>
@ -134,6 +136,10 @@ int scan_ff_q(ivl_lpm_t ff, unsigned q)
/*
* $Log: fit_reg.c,v $
* Revision 1.6 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2001/05/16 03:55:30 steve
* Update to new LPM API for flip-flops.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: imain.c,v 1.7 2001/05/20 15:09:40 steve Exp $"
#ident "$Id: imain.c,v 1.8 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
/*
* This module generates a PAL that implements the design.
*/
@ -150,6 +152,10 @@ DECLARE_CYGWIN_DLL(DllMain);
/*
* $Log: imain.c,v $
* Revision 1.8 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.7 2001/05/20 15:09:40 steve
* Mingw32 support (Venkat Iyer)
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: pads.c,v 1.2 2001/01/15 00:05:39 steve Exp $"
#ident "$Id: pads.c,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "priv.h"
# include <stdio.h>
# include <stdlib.h>
@ -79,6 +81,10 @@ int get_pad_bindings(ivl_scope_t net, void*x)
/*
* $Log: pads.c,v $
* Revision 1.3 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2001/01/15 00:05:39 steve
* Add client data pointer for scope and process scanners.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: stub.c,v 1.48 2001/07/22 21:30:56 steve Exp $"
#ident "$Id: stub.c,v 1.49 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
/*
* This is a sample target module. All this does is write to the
* output file some information about each object handle when each of
@ -608,6 +610,10 @@ DECLARE_CYGWIN_DLL(DllMain);
/*
* $Log: stub.c,v $
* Revision 1.49 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.48 2001/07/22 21:30:56 steve
* Recognize supply signal types.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: verilog.c,v 1.23 2001/05/22 02:14:47 steve Exp $"
#ident "$Id: verilog.c,v 1.24 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
/*
* This target writes a Verilog description of the design. The output
* Verilog is a single module that has the name of the root module of
@ -441,6 +443,10 @@ DECLARE_CYGWIN_DLL(DllMain);
/*
* $Log: verilog.c,v $
* Revision 1.24 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.23 2001/05/22 02:14:47 steve
* Update the mingw build to not require cygwin files.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: util.cc,v 1.3 2001/07/16 18:20:27 steve Exp $"
#ident "$Id: util.cc,v 1.4 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "util.h"
string parse_first_name(string&path)
@ -52,6 +54,10 @@ string parse_last_name(string&path)
/*
* $Log: util.cc,v $
* Revision 1.4 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.3 2001/07/16 18:20:27 steve
* dot in escaped identifiers are not scope. (Stephan Boettcher)
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: verinum.cc,v 1.26 2001/02/09 05:44:23 steve Exp $"
#ident "$Id: verinum.cc,v 1.27 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "verinum.h"
# include <iostream>
# include <cassert>
@ -766,6 +768,10 @@ verinum::V operator & (verinum::V l, verinum::V r)
/*
* $Log: verinum.cc,v $
* Revision 1.27 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.26 2001/02/09 05:44:23 steve
* support evaluation of constant < in expressions.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: verireal.cc,v 1.4 2001/07/07 20:20:10 steve Exp $"
#ident "$Id: verireal.cc,v 1.5 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "verireal.h"
# include <ctype.h>
# include <iostream>
@ -124,6 +126,10 @@ ostream& operator<< (ostream&out, const verireal&v)
/*
* $Log: verireal.cc,v $
* Revision 1.5 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.4 2001/07/07 20:20:10 steve
* Pass parameters to system functions.
*

View File

@ -18,9 +18,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_deposit.c,v 1.1 2001/04/26 00:01:33 steve Exp $"
#ident "$Id: sys_deposit.c,v 1.2 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vpi_user.h"
# include <assert.h>
@ -77,6 +79,10 @@ void sys_deposit_register()
/*
* $Log: sys_deposit.c,v $
* Revision 1.2 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2001/04/26 00:01:33 steve
* Support $deposit to a wire or reg.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_display.c,v 1.27 2001/07/16 18:40:19 steve Exp $"
#ident "$Id: sys_display.c,v 1.28 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vpi_user.h"
# include <assert.h>
# include <string.h>
@ -726,6 +728,10 @@ void sys_display_register()
/*
* $Log: sys_display.c,v $
* Revision 1.28 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.27 2001/07/16 18:40:19 steve
* Add a stdlog output for vvp, and vvp options
* to direct them around. (Stephan Boettcher.)

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_finish.c,v 1.5 2001/01/01 19:33:44 steve Exp $"
#ident "$Id: sys_finish.c,v 1.6 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vpi_user.h"
static int sys_finish_calltf(char *xx)
@ -49,6 +51,10 @@ void sys_finish_register()
/*
* $Log: sys_finish.c,v $
* Revision 1.6 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2001/01/01 19:33:44 steve
* Add $stop that does a finish.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_random.c,v 1.3 2001/02/16 00:26:38 steve Exp $"
#ident "$Id: sys_random.c,v 1.4 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include <vpi_user.h>
# include <assert.h>
# include <stdlib.h>
@ -168,6 +170,10 @@ void sys_random_register()
/*
* $Log: sys_random.c,v $
* Revision 1.4 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.3 2001/02/16 00:26:38 steve
* Use Mersenne Twister 19937 pseudo-random number generator
* for the $random system task, and support the seed paramter.

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_readmem.c,v 1.5 2000/02/23 02:56:56 steve Exp $"
#ident "$Id: sys_readmem.c,v 1.6 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vpi_user.h"
# include <string.h>
# include <stdlib.h>
@ -143,6 +145,10 @@ void sys_readmem_register()
/*
* $Log: sys_readmem.c,v $
* Revision 1.6 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.5 2000/02/23 02:56:56 steve
* Macintosh compilers do not support ident.
*

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_readmem_lex.lex,v 1.3 2000/03/05 20:01:19 steve Exp $"
#ident "$Id: sys_readmem_lex.lex,v 1.4 2001/07/25 03:10:50 steve Exp $"
#endif
# include "sys_readmem_lex.h"
# include <string.h>
@ -59,7 +59,8 @@ static void make_hex_value()
cur = vecval;
while ((width < word_max) && (end > beg)) {
int aval, bval;
int aval = 0;
int bval = 0;
end -= 1;
if (*end == '_') continue;
@ -75,7 +76,6 @@ static void make_hex_value()
case '8':
case '9':
aval = *end - '0';
bval = 0;
break;
case 'a':
case 'b':
@ -84,7 +84,6 @@ static void make_hex_value()
case 'e':
case 'f':
aval = *end - 'a' + 10;
bval = 0;
break;
case 'A':
case 'B':
@ -93,7 +92,6 @@ static void make_hex_value()
case 'E':
case 'F':
aval = *end - 'A' + 10;
bval = 0;
break;
case 'x':
case 'X':
@ -102,7 +100,6 @@ static void make_hex_value()
break;
case 'z':
case 'Z':
aval = 0;
bval = 15;
break;
}
@ -133,7 +130,8 @@ static void make_bin_value()
cur = vecval;
while ((width < word_max) && (end > beg)) {
int aval, bval;
int aval = 0;
int bval = 0;
end -= 1;
if (*end == '_') continue;
@ -141,7 +139,6 @@ static void make_bin_value()
case '0':
case '1':
aval = *end - '0';
bval = 0;
break;
case 'x':
case 'X':
@ -150,7 +147,6 @@ static void make_bin_value()
break;
case 'z':
case 'Z':
aval = 0;
bval = 1;
break;
}

View File

@ -17,8 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_table.c,v 1.11 2001/05/22 02:14:47 steve Exp $"
#ident "$Id: sys_table.c,v 1.12 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
#include "vpi_user.h"
extern void sys_finish_register();
@ -47,6 +49,10 @@ DECLARE_CYGWIN_DLL(DllMain);
/*
* $Log: sys_table.c,v $
* Revision 1.12 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.11 2001/05/22 02:14:47 steve
* Update the mingw build to not require cygwin files.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_time.c,v 1.1 2000/11/01 03:19:36 steve Exp $"
#ident "$Id: sys_time.c,v 1.2 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vpi_user.h"
# include <assert.h>
@ -62,6 +64,10 @@ void sys_time_register()
/*
* $Log: sys_time.c,v $
* Revision 1.2 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.1 2000/11/01 03:19:36 steve
* Add the general $time system function.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_vcd.c,v 1.19 2001/07/16 18:53:16 steve Exp $"
#ident "$Id: sys_vcd.c,v 1.20 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
/*
* This file contains the implementations of the VCD related
* funcitons.
@ -478,6 +480,10 @@ void sys_vcd_register()
/*
* $Log: sys_vcd.c,v $
* Revision 1.20 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.19 2001/07/16 18:53:16 steve
* Cut off scope iteration when depth runs out.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_add_sub.cc,v 1.2 2000/03/22 04:26:41 steve Exp $"
#ident "$Id: vvm_add_sub.cc,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vvm_gates.h"
# include <assert.h>
@ -114,6 +116,10 @@ void vvm_add_sub::compute_()
/*
* $Log: vvm_add_sub.cc,v $
* Revision 1.3 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2000/03/22 04:26:41 steve
* Replace the vpip_bit_t with a typedef and
* define values for all the different bit

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_bit.cc,v 1.13 2001/01/16 02:44:18 steve Exp $"
#ident "$Id: vvm_bit.cc,v 1.14 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vvm.h"
@ -89,6 +91,10 @@ vpip_bit_t add_with_carry(vpip_bit_t l, vpip_bit_t r, vpip_bit_t&carry)
/*
* $Log: vvm_bit.cc,v $
* Revision 1.14 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.13 2001/01/16 02:44:18 steve
* Use the iosfwd header if available.
*

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_calltf.cc,v 1.13 2001/06/12 03:53:10 steve Exp $"
#ident "$Id: vvm_calltf.cc,v 1.14 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "machine.h"
# include "vvm_calltf.h"
# include <vpi_user.h>
@ -135,6 +137,10 @@ void vvm_load_vpi_module(const char*name)
/*
* $Log: vvm_calltf.cc,v $
* Revision 1.14 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.13 2001/06/12 03:53:10 steve
* Change the VPI call process so that loaded .vpi modules
* use a function table instead of implicit binding.

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_clshift.cc,v 1.2 2000/03/22 04:26:41 steve Exp $"
#ident "$Id: vvm_clshift.cc,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vvm_gates.h"
/*
@ -157,6 +159,10 @@ void vvm_clshift::calculate_dist_()
/*
* $Log: vvm_clshift.cc,v $
* Revision 1.3 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2000/03/22 04:26:41 steve
* Replace the vpip_bit_t with a typedef and
* define values for all the different bit

View File

@ -17,9 +17,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: vvm_compare.cc,v 1.2 2000/03/22 04:26:41 steve Exp $"
#ident "$Id: vvm_compare.cc,v 1.3 2001/07/25 03:10:50 steve Exp $"
#endif
# include "config.h"
# include "vvm_gates.h"
# include <assert.h>
@ -116,6 +118,10 @@ void vvm_compare::compute_()
/*
* $Log: vvm_compare.cc,v $
* Revision 1.3 2001/07/25 03:10:50 steve
* Create a config.h.in file to hold all the config
* junk, and support gcc 3.0. (Stephan Boettcher)
*
* Revision 1.2 2000/03/22 04:26:41 steve
* Replace the vpip_bit_t with a typedef and
* define values for all the different bit

Some files were not shown because too many files have changed in this diff Show More