Fix compile errors.

This commit is contained in:
steve 2005-06-13 23:22:37 +00:00
parent 73f3589ea6
commit 4413dd3c81
2 changed files with 11 additions and 5 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: net_link.cc,v 1.16 2005/04/24 23:44:02 steve Exp $" #ident "$Id: net_link.cc,v 1.17 2005/06/13 23:22:37 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -329,7 +329,7 @@ unsigned Nexus::vector_width() const
NetNet* Nexus::pick_any_net() NetNet* Nexus::pick_any_net()
{ {
for (Link*cur = first_nlink() ; cur ; cur = cur->next_nlink()) { for (Link*cur = first_nlink() ; cur ; cur = cur->next_nlink()) {
NetNet*sig = dynamic_cast<const NetNet*>(cur->get_obj()); NetNet*sig = dynamic_cast<NetNet*>(cur->get_obj());
if (sig != 0) if (sig != 0)
return sig; return sig;
} }
@ -523,6 +523,9 @@ bool NexusSet::intersect(const NexusSet&that) const
/* /*
* $Log: net_link.cc,v $ * $Log: net_link.cc,v $
* Revision 1.17 2005/06/13 23:22:37 steve
* Fix compile errors.
*
* Revision 1.16 2005/04/24 23:44:02 steve * Revision 1.16 2005/04/24 23:44:02 steve
* Update DFF support to new data flow. * Update DFF support to new data flow.
* *

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: t-dll-api.cc,v 1.127 2005/05/24 01:44:28 steve Exp $" #ident "$Id: t-dll-api.cc,v 1.128 2005/06/13 23:22:37 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -535,7 +535,7 @@ extern "C" ivl_drive_t ivl_logic_drive0(ivl_net_logic_t net)
} }
assert(0); assert(0);
return 0; return IVL_DR_STRONG;
} }
extern "C" ivl_drive_t ivl_logic_drive1(ivl_net_logic_t net) extern "C" ivl_drive_t ivl_logic_drive1(ivl_net_logic_t net)
@ -552,7 +552,7 @@ extern "C" ivl_drive_t ivl_logic_drive1(ivl_net_logic_t net)
} }
assert(0); assert(0);
return 0; return IVL_DR_STRONG;
} }
extern "C" const char* ivl_logic_name(ivl_net_logic_t net) extern "C" const char* ivl_logic_name(ivl_net_logic_t net)
@ -2040,6 +2040,9 @@ extern "C" ivl_variable_type_t ivl_variable_type(ivl_variable_t net)
/* /*
* $Log: t-dll-api.cc,v $ * $Log: t-dll-api.cc,v $
* Revision 1.128 2005/06/13 23:22:37 steve
* Fix compile errors.
*
* Revision 1.127 2005/05/24 01:44:28 steve * Revision 1.127 2005/05/24 01:44:28 steve
* Do sign extension of structuran nets. * Do sign extension of structuran nets.
* *