Update header files to use a more standard name to prevent rereading

This is from github report #16. There are likely a few more issues
that need to be addressed though this takes care of the major ones.
This commit is contained in:
Cary R 2014-07-23 13:39:29 -07:00
parent 0cbd6d99af
commit d6b6b76015
140 changed files with 554 additions and 553 deletions

View File

@ -1,7 +1,7 @@
#ifndef __AStatement_H
#define __AStatement_H
#ifndef IVL_AStatement_H
#define IVL_AStatement_H
/*
* Copyright (c) 2008 Stephen Williams (steve@icarus.com)
* Copyright (c) 2008-2014 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
@ -82,4 +82,4 @@ class AProcess : public LineInfo {
AProcess& operator= (const AProcess&);
};
#endif
#endif /* IVL_AStatement_H */

View File

@ -1,7 +1,7 @@
#ifndef __Attrib_H
#define __Attrib_H
#ifndef IVL_Attrib_H
#define IVL_Attrib_H
/*
* Copyright (c) 2000-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -57,4 +57,4 @@ class Attrib {
Attrib& operator= (const Attrib&);
};
#endif
#endif /* IVL_Attrib_H */

View File

@ -1,5 +1,5 @@
#ifndef __HName_H
#define __HName_H
#ifndef IVL_HName_H
#define IVL_HName_H
/*
* Copyright (c) 2001-2014 Stephen Williams (steve@icarus.com)
*
@ -104,4 +104,4 @@ inline ostream& operator<< (ostream&out, const list<hname_t>&ll)
return out;
}
#endif
#endif /* IVL_HName_H */

View File

@ -1,7 +1,7 @@
#ifndef __Module_H
#define __Module_H
#ifndef IVL_Module_H
#define IVL_Module_H
/*
* Copyright (c) 1998-2010,2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -160,4 +160,4 @@ class Module : public PScopeExtra, public LineInfo {
Module& operator= (const Module&);
};
#endif
#endif /* IVL_Module_H */

View File

@ -1,7 +1,7 @@
#ifndef __PClass_H
#define __PClass_H
#ifndef IVL_PClass_H
#define IVL_PClass_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 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
@ -44,4 +44,4 @@ class PClass : public PScopeExtra, public LineInfo {
class_type_t*type;
};
#endif
#endif /* IVL_PClass_H */

View File

@ -1,7 +1,7 @@
#ifndef __PDelays_H
#define __PDelays_H
#ifndef IVL_PDelays_H
#define IVL_PDelays_H
/*
* Copyright (c) 1999-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -72,4 +72,4 @@ class PDelays {
ostream& operator << (ostream&o, const PDelays&);
#endif
#endif /* IVL_PDelays_H */

View File

@ -1,7 +1,7 @@
#ifndef __PEvent_H
#define __PEvent_H
#ifndef IVL_PEvent_H
#define IVL_PEvent_H
/*
* Copyright (c) 2000-2004 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -51,4 +51,4 @@ class PEvent : public LineInfo {
PEvent& operator= (const PEvent&);
};
#endif
#endif /* IVL_PEvent_H */

View File

@ -1,7 +1,7 @@
#ifndef __PExpr_H
#define __PExpr_H
#ifndef IVL_PExpr_H
#define IVL_PExpr_H
/*
* Copyright (c) 1998-2013 Stephen Williams <steve@icarus.com>
* Copyright (c) 1998-2014 Stephen Williams <steve@icarus.com>
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -985,4 +985,4 @@ class PEVoid : public PExpr {
unsigned flags) const;
};
#endif
#endif /* IVL_PExpr_H */

View File

@ -1,7 +1,7 @@
#ifndef __PGate_H
#define __PGate_H
#ifndef IVL_PGate_H
#define IVL_PGate_H
/*
* Copyright (c) 1998-2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -260,4 +260,4 @@ class PGModule : public PGate {
NetNet::PortType dir, bool as_signed) const;
};
#endif
#endif /* IVL_PGate_H */

View File

@ -1,7 +1,7 @@
#ifndef __PGenerate_H
#define __PGenerate_H
#ifndef IVL_PGenerate_H
#define IVL_PGenerate_H
/*
* Copyright (c) 2006-2010,2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2006-2014 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
@ -139,4 +139,4 @@ class PGenerate : public LineInfo, public LexicalScope {
extern std::ostream& operator << (std::ostream&, PGenerate::scheme_t);
#endif
#endif /* IVL_PGenerate_H */

View File

@ -1,7 +1,7 @@
#ifndef __PPackage_H
#define __PPackage_H
#ifndef IVL_PPackage_H
#define IVL_PPackage_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -44,4 +44,4 @@ class PPackage : public PScopeExtra, public LineInfo {
void pform_dump(std::ostream&out) const;
};
#endif
#endif /* IVL_PPackage_H */

View File

@ -1,7 +1,7 @@
#ifndef __PScope_H
#define __PScope_H
#ifndef IVL_PScope_H
#define IVL_PScope_H
/*
* Copyright (c) 2008,2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2008-2014 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
@ -187,4 +187,4 @@ class PScopeExtra : public PScope {
void dump_funcs_(ostream&out, unsigned indent) const;
};
#endif
#endif /* IVL_PScope_H */

View File

@ -1,7 +1,7 @@
#ifndef __PSpec_H
#define __PSpec_H
#ifndef IVL_PSpec_H
#define IVL_PSpec_H
/*
* Copyright (c) 2006-2011 Stephen Williams <steve@icarus.com>
* Copyright (c) 2006-2014 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
@ -84,4 +84,4 @@ class PSpecPath : public LineInfo {
std::vector<class PExpr*>delays;
};
#endif
#endif /* IVL_PSpec_H */

View File

@ -1,7 +1,7 @@
#ifndef __PTask_H
#define __PTask_H
#ifndef IVL_PTask_H
#define IVL_PTask_H
/*
* Copyright (c) 1999-2008,2010,2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -146,4 +146,4 @@ class PFunction : public PTaskFunc {
bool is_auto_;
};
#endif
#endif /* IVL_PTask_H */

8
PUdp.h
View File

@ -1,7 +1,7 @@
#ifndef __PUdp_H
#define __PUdp_H
#ifndef IVL_PUdp_H
#define IVL_PUdp_H
/*
* Copyright (c) 1998-2011 Stephen Williams (steve@picturel.com)
* Copyright (c) 1998-2014 Stephen Williams (steve@picturel.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
@ -76,4 +76,4 @@ class PUdp : public LineInfo {
PUdp& operator= (const PUdp&);
};
#endif
#endif /* IVL_PUdp_H */

View File

@ -1,7 +1,7 @@
#ifndef __PWire_H
#define __PWire_H
#ifndef IVL_PWire_H
#define IVL_PWire_H
/*
* Copyright (c) 1998-2009,2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -129,4 +129,4 @@ class PWire : public LineInfo {
PWire& operator= (const PWire&);
};
#endif
#endif /* IVL_PWire_H */

View File

@ -1,7 +1,7 @@
#ifndef __Statement_H
#define __Statement_H
#ifndef IVL_Statement_H
#define IVL_Statement_H
/*
* Copyright (c) 1998-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -558,4 +558,4 @@ class PWhile : public Statement {
Statement*statement_;
};
#endif
#endif /* IVL_Statement_H */

View File

@ -1,7 +1,7 @@
#ifndef PLI_TYPES
#define PLI_TYPES
#ifndef PLI_TYPES_H
#define PLI_TYPES_H
/*
* Copyright (c) 2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -85,4 +85,4 @@ typedef char PLI_BYTE8;
typedef unsigned char PLI_UBYTE8;
#endif
#endif
#endif /* PLI_TYPES_H */

View File

@ -1,7 +1,7 @@
#ifndef __acc_user_H
#define __acc_user_H
#ifndef ACC_USER_H
#define ACC_USER_H
/*
* Copyright (c) 2002 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2014 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
@ -271,4 +271,4 @@ extern char* acc_version(void);
EXTERN_C_END
#endif
#endif /* ACC_USER_H */

View File

@ -1,7 +1,7 @@
#ifndef __ivl_dlfcn_H
#define __ivl_dlfcn_H
#ifndef IVL_ivl_dlfcn_H
#define IVL_ivl_dlfcn_H
/*
* Copyright (c) 2001 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -91,4 +91,4 @@ static __inline__ const char*dlerror(void)
{ return strerror( errno ); }
#endif
#endif
#endif /* IVL_ivl_dlfcn_H */

View File

@ -1,5 +1,5 @@
#ifndef __compiler_H
#define __compiler_H
#ifndef IVL_compiler_H
#define IVL_compiler_H
/*
* Copyright (c) 1999-2014 Stephen Williams (steve@icarus.com)
*
@ -283,4 +283,4 @@ extern void cleanup_sys_func_table();
*/
extern ivl_sfunc_as_task_t def_sfunc_as_task;
#endif
#endif /* IVL_compiler_H */

View File

@ -1,7 +1,7 @@
#ifndef __config_H /* -*- c++ -*- */
#define __config_H
#ifndef IVL_config_H /* -*- c++ -*- */
#define IVL_config_H
/*
* Copyright (c) 2001-2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -62,4 +62,4 @@
*/
# undef CHECK_WITH_VALGRIND
#endif /* __config_H */
#endif /* IVL_config_H */

View File

@ -1,7 +1,7 @@
#ifndef __discipline_H
#define __discipline_H
#ifndef IVL_discipline_H
#define IVL_discipline_H
/*
* Copyright (c) 2008-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2008-2014 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
@ -74,4 +74,4 @@ extern map<perm_string,ivl_discipline_t> disciplines;
// Map access function name to the nature that it accesses.
extern map<perm_string,ivl_nature_t> access_function_nature;
#endif
#endif /* IVL_discipline_H */

View File

@ -1,7 +1,7 @@
#ifndef __cfparse_misc_H
#define __cfparse_misc_H
#ifndef IVL_cfparse_misc_H
#define IVL_cfparse_misc_H
/*
* Copyright (c) 2001-2009 Picture Elements, Inc.
* Copyright (c) 2001-2014 Picture Elements, Inc.
* Stephen Williams (steve@picturel.com)
*
* This source code is free software; you can redistribute it
@ -41,4 +41,4 @@ void switch_to_command_file(const char *);
void destroy_lexor(void);
char *current_file;
#endif
#endif /* IVL_cfparse_misc_H */

View File

@ -1,5 +1,5 @@
#ifndef __globals_H
#define __globals_H
#ifndef IVL_globals_H
#define IVL_globals_H
/*
* Copyright (c) 2000-2014 Stephen Williams (steve@icarus.com)
*
@ -54,4 +54,4 @@ extern void process_parameter(const char*name);
/* Set the default timescale for the simulator. */
extern void process_timescale(const char*ts_string);
#endif
#endif /* IVL_globals_H */

View File

@ -1,7 +1,7 @@
#ifndef __functor_H
#define __functor_H
#ifndef IVL_functor_H
#define IVL_functor_H
/*
* Copyright (c) 1999-2008,2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -105,4 +105,4 @@ struct proc_match_t {
virtual int block(class NetBlock*);
};
#endif
#endif /* IVL_functor_H */

View File

@ -1,7 +1,7 @@
#ifndef __ivl_alloc_H
#define __ivl_alloc_H
#ifndef IVL_ivl_alloc_H
#define IVL_ivl_alloc_H
/*
* Copyright (C) 2010 Cary R. (cygcary@yahoo.com)
* Copyright (C) 2010-2014 Cary R. (cygcary@yahoo.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -83,4 +83,4 @@
__ivl_rtn; \
})
#endif
#endif /* IVL_ivl_alloc_H */

View File

@ -1,5 +1,7 @@
#ifndef IVL_ivl_assert_H
#define IVL_ivl_assert_H
/*
* Copyright (c) 2007-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2007-2014 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
@ -17,9 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __ivl_assert_h
#define __ivl_assert_h
# include <cstdlib>
#define ivl_assert(tok, expression) \
@ -32,4 +31,4 @@
} \
} while (0)
#endif
#endif /* IVL_ivl_assert_H */

View File

@ -1,7 +1,7 @@
#ifndef __ivl_target_H
#define __ivl_target_H
#ifndef IVL_ivl_target_H
#define IVL_ivl_target_H
/*
* Copyright (c) 2000-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -2332,4 +2332,4 @@ typedef const char* (*target_query_f) (const char*key);
_END_DECL
#endif
#endif /* IVL_ivl_target_H */

View File

@ -1,7 +1,7 @@
#ifndef __ivl_target_priv_H
#define __ivl_target_priv_H
#ifndef IVL_ivl_target_priv_H
#define IVL_ivl_target_priv_H
/*
* Copyright (c) 2008 Stephen Williams (steve@icarus.com)
* Copyright (c) 2008-2014 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
@ -90,4 +90,4 @@ struct ivl_island_s {
extern std::ostream& operator << (std::ostream&o, ivl_drive_t str);
#endif
#endif /* IVL_ivl_target_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __globals_H
#define __globals_H
#ifndef IVL_globals_H
#define IVL_globals_H
/*
* Copyright (c) 1999-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -56,4 +56,4 @@ extern int verbose_flag;
/* This is the entry to the lexer. */
extern int yylex(void);
#endif
#endif /* IVL_globals_H */

View File

@ -1,7 +1,7 @@
#ifndef __lexor_keyword_H
#define __lexor_keyword_H
#ifndef IVL_lexor_keyword_H
#define IVL_lexor_keyword_H
/*
* Copyright (c) 2000 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -21,4 +21,4 @@
extern int lexor_keyword_code (const char*str, unsigned len);
#endif
#endif /* IVL_lexor_keyword_H */

View File

@ -1,7 +1,7 @@
#ifndef __LineInfo_H
#define __LineInfo_H
#ifndef IVL_LineInfo_H
#define IVL_LineInfo_H
/*
* Copyright (c) 1999-2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -54,4 +54,4 @@ class LineInfo {
unsigned lineno_;
};
#endif
#endif /* IVL_LineInfo_H */

View File

@ -1,7 +1,7 @@
#ifndef __StringHeap_H
#define __StringHeap_H
#ifndef IVL_StringHeap_H
#define IVL_StringHeap_H
/*
* Copyright (c) 2002-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2014 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
@ -120,4 +120,4 @@ class StringHeapLex : private StringHeap {
StringHeapLex& operator= (const StringHeapLex&);
};
#endif
#endif /* IVL_StringHeap_H */

View File

@ -1,7 +1,7 @@
#ifndef __config_H
#define __config_H
#ifndef IVL_config_H
#define IVL_config_H
/*
* Copyright (c) 2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -37,4 +37,4 @@ typedef unsigned long ivl_u64_t;
# endif
#endif
#endif
#endif /* IVL_config_H */

View File

@ -1,7 +1,7 @@
#ifndef __priv_H
#define __priv_H
#ifndef IVL_priv_H
#define IVL_priv_H
/*
* Copyright (c) 2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -33,4 +33,4 @@ extern char* __acc_newstring(const char*txt);
*/
FILE* pli_trace;
#endif
#endif /* IVL_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __named_H
#define __named_H
#ifndef IVL_named_H
#define IVL_named_H
/*
* Copyright (c) 2000-2004 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -31,4 +31,4 @@ template <class T> struct named {
T parm;
};
#endif
#endif /* IVL_named_H */

View File

@ -1,7 +1,7 @@
#ifndef __netclass_H
#define __netclass_H
#ifndef IVL_netclass_H
#define IVL_netclass_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 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
@ -117,4 +117,4 @@ class netclass_t : public ivl_type_s {
NetScope*class_scope_;
};
#endif
#endif /* IVL_netclass_H */

View File

@ -1,7 +1,7 @@
#ifndef __netdarray_H
#define __netdarray_H
#ifndef IVL_netdarray_H
#define IVL_netdarray_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 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
@ -48,4 +48,4 @@ class netdarray_t : public netarray_t {
bool test_compatibility(ivl_type_t that) const;
};
#endif
#endif /* IVL_netdarray_H */

View File

@ -1,7 +1,7 @@
#ifndef __netenum_H
#define __netenum_H
#ifndef IVL_netenum_H
#define IVL_netenum_H
/*
* Copyright (c) 2010-2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2010-2014 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
@ -80,4 +80,4 @@ inline ivl_variable_type_t netenum_t::base_type() const
inline size_t netenum_t::size() const { return names_.size(); }
#endif
#endif /* IVL_netenum_H */

View File

@ -1,7 +1,7 @@
#ifndef __netlist_H
#define __netlist_H
#ifndef IVL_netlist_H
#define IVL_netlist_H
/*
* Copyright (c) 1998-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -4926,4 +4926,4 @@ inline unsigned Link::get_pin() const
return pin_;
}
#endif
#endif /* IVL_netlist_H */

View File

@ -1,7 +1,7 @@
#ifndef __netmisc_H
#define __netmisc_H
#ifndef IVL_netmisc_H
#define IVL_netmisc_H
/*
* Copyright (c) 1999-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -355,4 +355,4 @@ extern void assign_unpacked_with_bufz(Design*des, NetScope*scope,
extern NetPartSelect* detect_partselect_lval(Link&pin);
#endif
#endif /* IVL_netmisc_H */

View File

@ -1,7 +1,7 @@
#ifndef __netarray_H
#define __netarray_H
#ifndef IVL_netarray_H
#define IVL_netarray_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2012 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -53,4 +53,4 @@ inline netparray_t::netparray_t(const std::vector<netrange_t>&pd,
{
}
#endif
#endif /* IVL_netarray_H */

View File

@ -1,7 +1,7 @@
#ifndef __netscalar_H
#define __netscalar_H
#ifndef IVL_netscalar_H
#define IVL_netscalar_H
/*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2013-2014 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
@ -46,4 +46,4 @@ class netstring_t : public ivl_type_s {
static netstring_t type_string;
};
#endif
#endif /* IVL_netscalar_H */

View File

@ -1,7 +1,7 @@
#ifndef __netstruct_H
#define __netstruct_H
#ifndef IVL_netstruct_H
#define IVL_netstruct_H
/*
* Copyright (c) 2011-2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -80,4 +80,4 @@ class netstruct_t : public LineInfo, public ivl_type_s {
inline bool netstruct_t::union_flag(void) const { return union_; }
inline bool netstruct_t::packed(void) const { return packed_; }
#endif
#endif /* IVL_netstruct_H */

View File

@ -1,7 +1,7 @@
#ifndef __nettypes_H
#define __nettypes_H
#ifndef IVL_nettypes_H
#define IVL_nettypes_H
/*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 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
@ -142,4 +142,4 @@ extern bool prefix_to_slice(const std::vector<netrange_t>&dims,
const std::list<long>&prefix, long sb,
long&loff, unsigned long&lwid);
#endif
#endif /* IVL_nettypes_H */

View File

@ -1,7 +1,7 @@
#ifndef __netvector_H
#define __netvector_H
#ifndef IVL_netvector_H
#define IVL_netvector_H
/*
* Copyright (c) 2012-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2012-2014 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
@ -107,4 +107,4 @@ inline static std::ostream& operator << (std::ostream&out, const netvector_t&obj
return obj.debug_dump(out);
}
#endif
#endif /* IVL_netvector_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_api_H
#define __parse_api_H
#ifndef IVL_parse_api_H
#define IVL_parse_api_H
/*
* Copyright (c) 2001-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -64,4 +64,4 @@ extern void pform_set_timescale(int units, int prec, const char*file,
extern int def_ts_units;
extern int def_ts_prec;
#endif
#endif /* IVL_parse_api_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_misc_H
#define __parse_misc_H
#ifndef IVL_parse_misc_H
#define IVL_parse_misc_H
/*
* Copyright (c) 1998-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -116,4 +116,4 @@ extern verinum*make_unsized_hex(const char*txt);
extern char* strdupnew(char const *str);
#endif
#endif /* IVL_parse_misc_H */

View File

@ -1,7 +1,7 @@
#ifndef __pform_H
#define __pform_H
#ifndef IVL_pform_H
#define IVL_pform_H
/*
* Copyright (c) 1998-2012 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -524,4 +524,4 @@ extern void pform_set_timeunit(const char*txt, bool in_module, bool only_check);
extern void pform_set_timeprecision(const char*txt, bool in_module,
bool only_check);
#endif
#endif /* IVL_pform_H */

View File

@ -1,7 +1,7 @@
#ifndef __pform_types_H
#define __pform_types_H
#ifndef IVL_pform_types_H
#define IVL_pform_types_H
/*
* Copyright (c) 2007-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2007-2014 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
@ -320,4 +320,4 @@ extern std::ostream& operator<< (std::ostream&out, const pform_name_t&);
extern std::ostream& operator<< (std::ostream&out, const name_component_t&that);
extern std::ostream& operator<< (std::ostream&out, const index_component_t&that);
#endif
#endif /* IVL_pform_types_H */

View File

@ -1,7 +1,7 @@
#ifndef __property_qual_H
#define __property_qual_H
#ifndef IVL_property_qual_H
#define IVL_property_qual_H
/*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2013-2014 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
@ -57,4 +57,4 @@ class property_qualifier_t {
int mask_;
};
#endif
#endif /* IVL_property_qual_H */

View File

@ -1,7 +1,7 @@
#ifndef __sv_vpi_user_H
#define __sv_vpi_user_H
#ifndef SV_VPI_USER_H
#define SV_VPI_USER_H
/*
* Copyright (c) 2010-2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2010-2014 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
@ -69,4 +69,4 @@ EXTERN_C_START
EXTERN_C_END
#endif
#endif /* SV_VPI_USER_H */

View File

@ -1,7 +1,7 @@
#ifndef __svector_H
#define __svector_H
#ifndef IVL_svector_H
#define IVL_svector_H
/*
* Copyright (c) 1999-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -118,4 +118,4 @@ template <class T> inline std::vector<T> vector_from_svector(const svector<T>&th
return res;
}
#endif
#endif /* IVL_svector_H */

View File

@ -1,7 +1,7 @@
#ifndef __t_dll_H
#define __t_dll_H
#ifndef IVL_t_dll_H
#define IVL_t_dll_H
/*
* Copyright (c) 2000-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -929,4 +929,4 @@ static inline void FILE_NAME(ivl_signal_t net, const LineInfo*info)
net->lineno = info->get_lineno();
}
#endif
#endif /* IVL_t_dll_H */

View File

@ -1,7 +1,7 @@
#ifndef __target_H
#define __target_H
#ifndef IVL_target_H
#define IVL_target_H
/*
* Copyright (c) 1998-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2014 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
@ -189,4 +189,4 @@ extern string mangle(const string&str);
used inside a string constant for a C++ compiler. */
extern string stresc(const string&str);
#endif
#endif /* IVL_target_H */

View File

@ -1,7 +1,7 @@
#ifndef __nex_data_H
#define __nex_data_H
#ifndef IVL_nex_data_H
#define IVL_nex_data_H
/*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2013-2014 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
@ -72,4 +72,4 @@ class blif_nex_data_t {
void make_name_from_sig_(ivl_signal_t sig);
};
#endif
#endif /* IVL_nex_data_H */

View File

@ -1,7 +1,7 @@
#ifndef __priv_H
#define __priv_H
#ifndef IVL_priv_H
#define IVL_priv_H
/*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2013-2014 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
@ -55,4 +55,4 @@ extern void emit_constants(FILE*fd, ivl_design_t des, ivl_scope_t model);
*/
extern bool scope_is_in_model(ivl_scope_t model, ivl_scope_t scope);
#endif
#endif /* IVL_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __device_H
#define __device_H
#ifndef IVL_device_H
#define IVL_device_H
/*
* Copyright (c) 2001-2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -74,4 +74,4 @@ struct device_s {
*/
extern device_t device_from_arch(const char*arch);
#endif
#endif /* IVL_device_H */

View File

@ -1,7 +1,7 @@
#ifndef __edif_H
#define __edif_H
#ifndef IVL_edif_H
#define IVL_edif_H
/*
* Copyright (c) 2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -226,4 +226,4 @@ extern void edif_add_to_joint(edif_joint_t jnt,
*/
extern void edif_print(FILE*fd, edif_t design);
#endif
#endif /* IVL_edif_H */

View File

@ -1,7 +1,7 @@
#ifndef __fpga_priv_H
#define __fpga_priv_H
#ifndef IVL_fpga_priv_H
#define IVL_fpga_priv_H
/*
* Copyright (c) 2001 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -47,4 +47,4 @@ extern void xnf_mangle_lpm_name(ivl_lpm_t net, char*buf, size_t nbuf);
extern const char*xnf_mangle_nexus_name(ivl_nexus_t net);
#endif
#endif /* IVL_fpga_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __generic_H
#define __generic_H
#ifndef IVL_generic_H
#define IVL_generic_H
/*
* Copyright (c) 2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -39,4 +39,4 @@ extern edif_cell_t cell_ipad;
extern edif_cell_t cell_opad;
extern edif_cell_t cell_iopad;
#endif
#endif /* IVL_generic_H */

View File

@ -1,7 +1,7 @@
#ifndef __xilinx_H
#define __xilinx_H
#ifndef IVL_xilinx_H
#define IVL_xilinx_H
/*
* Copyright (c) 2003 Stephen Williams (steve at icarus.com)
* Copyright (c) 2003-2014 Stephen Williams (steve at 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
@ -125,4 +125,4 @@ extern void xilinx_mux(ivl_lpm_t net);
extern void xilinx_add(ivl_lpm_t net);
extern void xilinx_shiftl(ivl_lpm_t net);
#endif
#endif /* IVL_xilinx_H */

View File

@ -1,7 +1,7 @@
#ifndef __priv_H
#define __priv_H
#ifndef IVL_priv_H
#define IVL_priv_H
/*
* Copyright (c) 2000 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -97,4 +97,4 @@ extern int fit_logic(void);
extern int emit_jedec(const char*path);
#endif
#endif /* IVL_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __fp_api_H
#define __fp_api_H
#ifndef IVL_fp_api_H
#define IVL_fp_api_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -63,4 +63,4 @@ extern void callback_fp_element(const struct fp_element_t&);
//extern int parse_errors;
extern int parse_fp_sorrys;
#endif
#endif /* IVL_fp_api_H */

View File

@ -1,7 +1,7 @@
#ifndef __pcb_config_H
#define __pcb_config_H
#ifndef IVL_pcb_config_H
#define IVL_pcb_config_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -25,4 +25,4 @@
# undef _LARGEFILE_SOURCE
# undef _LARGEFILE64_SOURCE
#endif /* __pcb_config_H */
#endif /* IVL_pcb_config_H */

View File

@ -1,7 +1,7 @@
#ifndef __pcb_priv_H
#define __pcb_priv_H
#ifndef IVL_pcb_priv_H
#define IVL_pcb_priv_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -86,4 +86,4 @@ extern void show_netlist(const char*net_path);
extern void show_pcb(const char*pcb_path);
#endif
#endif /* IVL_pcb_priv_H */

View File

@ -1,5 +1,5 @@
#ifndef __sizer_priv_H
#define __sizer_priv_H
#ifndef IVL_sizer_priv_H
#define IVL_sizer_priv_H
/*
* Copyright (c) 2014 Stephen Williams (steve@icarus.com)
*
@ -61,4 +61,4 @@ extern void scan_lpms(ivl_scope_t scope, struct sizer_statistics&stats);
extern unsigned get_nexus_width(ivl_nexus_t nex);
#endif
#endif /* IVL_sizer_priv_H */

View File

@ -1,5 +1,7 @@
#ifndef IVL_priv_H
#define IVL_priv_H
/*
* Copyright (c) 2004 Stephen Williams (steve@icarus.com)
* Copyright (c) 2004-2014 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
@ -77,3 +79,4 @@ extern void show_switch(ivl_switch_t net);
extern const char*data_type_string(ivl_variable_type_t vtype);
extern void show_net_type(ivl_type_t net_type);
#endif /* IVL_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __vlog95_priv_H
#define __vlog95_priv_H
#ifndef IVL_vlog95_priv_H
#define IVL_vlog95_priv_H
/*
* Copyright (C) 2010-2013 Cary R. (cygcary@yahoo.com)
* Copyright (C) 2010-2014 Cary R. (cygcary@yahoo.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -155,4 +155,4 @@ extern void free_emitted_scope_list(void);
*/
extern void dump_nexus_information(ivl_scope_t scope, ivl_nexus_t nex);
#endif /* __vlog95_priv_H */
#endif /* IVL_vlog95_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __vvp_config_H
#define __vvp_config_H
#ifndef IVL_vvp_config_H
#define IVL_vvp_config_H
/*
* Copyright (c) 2004-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2004-2014 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
@ -33,4 +33,4 @@
# undef _LARGEFILE_SOURCE
# undef _LARGEFILE64_SOURCE
#endif /* __vvp_config_H */
#endif /* IVL_vvp_config_H */

View File

@ -1,7 +1,7 @@
#ifndef __vvp_priv_H
#define __vvp_priv_H
#ifndef IVL_vvp_priv_H
#define IVL_vvp_priv_H
/*
* Copyright (c) 2001-2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2014 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
@ -349,4 +349,4 @@ extern void clr_word(int idx);
extern unsigned local_count;
extern unsigned thread_count;
#endif
#endif /* IVL_vvp_priv_H */

8
util.h
View File

@ -1,7 +1,7 @@
#ifndef __util_H
#define __util_H
#ifndef IVL_util_H
#define IVL_util_H
/*
* Copyright (c) 2000-2004 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -47,4 +47,4 @@ extern attrib_list_t* evaluate_attributes(const map<perm_string,PExpr*>&att,
unsigned&natt,
Design*des, NetScope*scope);
#endif
#endif /* IVL_util_H */

View File

@ -1,5 +1,5 @@
#ifndef __verinum_H
#define __verinum_H
#ifndef IVL_verinum_H
#define IVL_verinum_H
/*
* Copyright (c) 1998-2014 Stephen Williams (steve@icarus.com)
*
@ -199,4 +199,4 @@ extern verinum concat(const verinum&left, const verinum&right);
/* Bitwise not returns the ones complement. */
extern verinum operator ~ (const verinum&left);
#endif
#endif /* IVL_verinum_H */

View File

@ -1,7 +1,7 @@
#ifndef __verireal_H
#define __verireal_H
#ifndef IVL_verireal_H
#define IVL_verireal_H
/*
* Copyright (c) 1999-2004 Stephen Williams (steve@icarus.com)
* Copyright (c) 1999-2014 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
@ -82,4 +82,4 @@ extern verireal operator% (const verireal&, const verinum&);
extern verireal pow(const verireal&, const verireal&);
extern verireal operator- (const verireal&);
#endif
#endif /* IVL_verireal_H */

View File

@ -1,7 +1,7 @@
#ifndef __veriuser_H
#define __veriuser_H
#ifndef VERIUSER_H
#define VERIUSER_H
/*
* Copyright (c) 2002-2003 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2014 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
@ -354,4 +354,4 @@ extern void tf_warning(const char*, ...)
EXTERN_C_END
#endif
#endif /* VERIUSER_H */

View File

@ -1,7 +1,7 @@
#ifndef __architec_H
#define __architec_H
#ifndef IVL_architec_H
#define IVL_architec_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -230,4 +230,4 @@ class ProcessStatement : public Architecture::Statement {
};
#endif
#endif /* IVL_architec_H */

View File

@ -1,7 +1,7 @@
#ifndef __compiler_H
#define __compiler_H
#ifndef IVL_compiler_H
#define IVL_compiler_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -38,4 +38,4 @@ extern void library_set_work_path(const char*work_path);
extern void library_add_directory(const char*directory);
extern int emit_packages(void);
#endif
#endif /* IVL_compiler_H */

View File

@ -1,7 +1,7 @@
#ifndef __entity_H
#define __entity_H
#ifndef IVL_entity_H
#define IVL_entity_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -147,4 +147,4 @@ extern int emit_entities(void);
*/
extern void dump_design_entities(ostream&file);
#endif
#endif /* IVL_entity_H */

View File

@ -1,7 +1,7 @@
#ifndef __expression_H
#define __expression_H
#ifndef IVL_expression_H
#define IVL_expression_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -648,4 +648,4 @@ class ExpUNot : public ExpUnary {
void dump(ostream&out, int indent = 0) const;
};
#endif
#endif /* IVL_expression_H */

View File

@ -1,5 +1,7 @@
#ifndef IVL_ivl_assert_H
#define IVL_ivl_assert_H
/*
* Copyright (c) 2007-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2007-2014 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
@ -17,9 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __ivl_assert_h
#define __ivl_assert_h
# include <cstdlib>
#define ivl_assert(tok, expression) \
@ -32,4 +31,4 @@
} \
} while (0)
#endif
#endif /* IVL_ivl_assert_H */

View File

@ -1,7 +1,7 @@
#ifndef __package_H
#define __package_H
#ifndef IVL_package_H
#define IVL_package_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -48,4 +48,4 @@ class Package : public Scope, public LineInfo {
perm_string name_;
};
#endif
#endif /* IVL_package_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_api_H
#define __parse_api_H
#ifndef IVL_parse_api_H
#define IVL_parse_api_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -68,4 +68,4 @@ extern int yydebug;
extern int parse_errors;
extern int parse_sorrys;
#endif
#endif /* IVL_parse_api_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_misc_H
#define __parse_misc_H
#ifndef IVL_parse_misc_H
#define IVL_parse_misc_H
/*
* Copyright (c) 2011,2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011,2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -67,4 +67,4 @@ extern void generate_global_types(ActiveScope*res);
extern bool is_global_type(perm_string type_name);
#endif
#endif /* IVL_parse_misc_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_types_H
#define __parse_types_H
#ifndef IVL_parse_types_H
#define IVL_parse_types_H
/*
* Copyright (c) 2011,2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011,2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -96,4 +96,4 @@ struct adding_term {
Expression*term;
};
#endif
#endif /* IVL_parse_types_H */

View File

@ -1,7 +1,7 @@
#ifndef __parse_wrap_H
#define __parse_wrap_H
#ifndef IVL_parse_wrap_H
#define IVL_parse_wrap_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -38,4 +38,4 @@ class VType;
# include "parse.h"
#endif
#endif /* IVL_parse_wrap_H */

View File

@ -1,7 +1,7 @@
#ifndef __scope_H
#define __scope_H
#ifndef IVL_scope_H
#define IVL_scope_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -226,4 +226,4 @@ class ActiveScope : public ScopeBase {
Entity*context_entity_;
};
#endif
#endif /* IVL_scope_H */

View File

@ -1,7 +1,7 @@
#ifndef __sequential_H
#define __sequential_H
#ifndef IVL_sequential_H
#define IVL_sequential_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -241,4 +241,4 @@ class BasicLoopStatement : public LoopStatement {
void dump(ostream&out, int indent) const;
};
#endif
#endif /* IVL_sequential_H */

View File

@ -1,7 +1,7 @@
#ifndef __subprogram_H
#define __subprogram_H
#ifndef IVL_subprogram_H
#define IVL_subprogram_H
/*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2013-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -62,4 +62,4 @@ class Subprogram : public LineInfo {
std::list<SequentialStmt*>*statements_;
};
#endif
#endif /* IVL_subprogram_H */

View File

@ -1,7 +1,7 @@
#ifndef __vhdlint_H
#define __vhdlint_H
#ifndef IVL_vhdlint_H
#define IVL_vhdlint_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -40,4 +40,4 @@ class vhdlint
int64_t value_;
};
#endif
#endif /* IVL_vhdlint_H */

View File

@ -1,5 +1,5 @@
#ifndef __vhdlnum_H
#define __vhdlnum_H
#ifndef IVL_vhdlnum_H
#define IVL_vhdlnum_H
#include "config.h"
@ -10,4 +10,4 @@ class vhdlnum {
vhdlnum(char* text) {}
};
#endif
#endif /* IVL_vhdlnum_H */

View File

@ -1,7 +1,7 @@
#ifndef __vhdlpp_config_H /* -*- c++ -*- */
#define __vhdlpp_config_H
#ifndef IVL_vhdlpp_config_H /* -*- c++ -*- */
#define IVL_vhdlpp_config_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -37,4 +37,4 @@
# include <inttypes.h>
#endif
#endif /* __config_H */
#endif /* IVL_vhdlpp_config_H */

View File

@ -1,7 +1,7 @@
#ifndef __vhdlreal_h
#define __vhdlreal_h
#ifndef IVL_vhdlreal_h
#define IVL_vhdlreal_h
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -54,4 +54,4 @@ class vhdlreal
double value_;
};
#endif
#endif /* IVL_vhdlreal_h */

View File

@ -1,7 +1,7 @@
#ifndef __vsignal_H
#define __vsignal_H
#ifndef IVL_vsignal_H
#define IVL_vsignal_H
/*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 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
@ -92,4 +92,4 @@ inline Variable::Variable(perm_string name, const VType*type)
{
}
#endif
#endif /* IVL_vsignal_H */

View File

@ -1,7 +1,7 @@
#ifndef __vtype_H
#define __vtype_H
#ifndef IVL_vtype_H
#define IVL_vtype_H
/*
* Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -295,4 +295,4 @@ class VTypeDef : public VType {
const VType*type_;
};
#endif
#endif /* IVL_vtype_H */

View File

@ -1,7 +1,7 @@
#ifndef _sdf_parse_priv_h
#define _sdf_parse_priv_h
#ifndef IVL_sdf_parse_priv_h
#define IVL_sdf_parse_priv_h
/*
* Copyright (c) 2007-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2007-2014 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
@ -38,4 +38,4 @@ extern char sdf_use_hchar;
extern void start_edge_id(unsigned cond);
extern void stop_edge_id(void);
#endif
#endif /* IVL_sdf_parse_priv_h */

View File

@ -1,7 +1,7 @@
#ifndef _sdf_priv_h
#define _sdf_priv_h
#ifndef IVL_sdf_priv_h
#define IVL_sdf_priv_h
/*
* Copyright (c) 2007-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2007-2014 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
@ -52,4 +52,4 @@ extern void sdf_select_instance(const char*celltype, const char*inst);
extern void sdf_iopath_delays(int vpi_edge, const char*src, const char*dst,
const struct sdf_delval_list_s*delval);
#endif
#endif /* IVL_sdf_priv_h */

View File

@ -1,7 +1,7 @@
#ifndef __stringheap_H
#define __stringheap_H
#ifndef IVL_stringheap_H
#define IVL_stringheap_H
/*
* Copyright (c) 2003-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 2003-2014 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
@ -33,4 +33,4 @@ const char*strdup_sh(struct stringheap_s*hp, const char*str);
void string_heap_delete(struct stringheap_s*hp);
#endif
#endif /* IVL_stringheap_H */

View File

@ -1,7 +1,7 @@
#ifndef __vpi_sys_priv_H
#define __vpi_sys_priv_H
#ifndef IVL_sys_priv_H
#define IVL_sys_priv_H
/*
* Copyright (c) 2002-2010 Stephen Williams (steve@icarus.com)
* Copyright (c) 2002-2014 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
@ -65,4 +65,4 @@ extern PLI_INT32 sys_one_opt_numeric_arg_compiletf(ICARUS_VPI_CONST PLI_BYTE8 *n
extern PLI_INT32 sys_two_numeric_args_compiletf(ICARUS_VPI_CONST PLI_BYTE8 *name);
extern PLI_INT32 sys_one_string_arg_compiletf(ICARUS_VPI_CONST PLI_BYTE8 *name);
#endif
#endif /* IVL_sys_priv_H */

View File

@ -1,7 +1,7 @@
#ifndef __vpi_sys_rand_H
#define __vpi_sys_rand_H
#ifndef IVL_sys_random_H
#define IVL_sys_random_H
/*
* Copyright (c) 2000-2009 Stephen Williams (steve@icarus.com)
* Copyright (c) 2000-2014 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
@ -27,4 +27,4 @@
extern PLI_INT32 sys_rand_three_args_compiletf(ICARUS_VPI_CONST PLI_BYTE8 *name);
extern PLI_INT32 sys_random_compiletf(ICARUS_VPI_CONST PLI_BYTE8 *name);
#endif
#endif /* IVL_sys_random_H */

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