Fix some enumeration warnings.

This commit is contained in:
steve 2003-07-05 20:42:08 +00:00
parent 1c4552e262
commit 77da147629
5 changed files with 38 additions and 5 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: design_dump.cc,v 1.142 2003/06/20 00:53:19 steve Exp $"
#ident "$Id: design_dump.cc,v 1.143 2003/07/05 20:42:08 steve Exp $"
#endif
# include "config.h"
@ -775,6 +775,8 @@ void NetScope::dump(ostream&o) const
case TASK:
task_def()->dump(o, 4);
break;
default:
break;
}
/* Dump any sub-scopes. */
@ -1047,6 +1049,9 @@ void Design::dump(ostream&o) const
/*
* $Log: design_dump.cc,v $
* Revision 1.143 2003/07/05 20:42:08 steve
* Fix some enumeration warnings.
*
* Revision 1.142 2003/06/20 00:53:19 steve
* Module attributes from the parser
* through to elaborated form.

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: netlist.cc,v 1.216 2003/06/18 03:55:18 steve Exp $"
#ident "$Id: netlist.cc,v 1.217 2003/07/05 20:42:08 steve Exp $"
#endif
# include "config.h"
@ -40,6 +40,9 @@ ostream& operator<< (ostream&o, NetNet::Type t)
case NetNet::IMPLICIT_REG:
o << "reg /*implicit*/";
break;
case NetNet::INTEGER:
o << "integer";
break;
case NetNet::REG:
o << "reg";
break;
@ -2176,6 +2179,9 @@ const NetProc*NetTaskDef::proc() const
/*
* $Log: netlist.cc,v $
* Revision 1.217 2003/07/05 20:42:08 steve
* Fix some enumeration warnings.
*
* Revision 1.216 2003/06/18 03:55:18 steve
* Add arithmetic shift operators.
*

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: pform_dump.cc,v 1.81 2003/06/20 00:53:19 steve Exp $"
#ident "$Id: pform_dump.cc,v 1.82 2003/07/05 20:42:08 steve Exp $"
#endif
# include "config.h"
@ -641,6 +641,9 @@ void PTask::dump(ostream&out, unsigned ind) const
case NetNet::PINOUT:
out << "inout ";
break;
default:
assert(0);
break;
}
out << (*ports_)[idx]->path() << ";" << endl;
}
@ -878,6 +881,9 @@ void PUdp::dump(ostream&out) const
/*
* $Log: pform_dump.cc,v $
* Revision 1.82 2003/07/05 20:42:08 steve
* Fix some enumeration warnings.
*
* Revision 1.81 2003/06/20 00:53:19 steve
* Module attributes from the parser
* through to elaborated form.

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: t-dll.cc,v 1.115 2003/06/24 01:38:03 steve Exp $"
#ident "$Id: t-dll.cc,v 1.116 2003/07/05 20:42:08 steve Exp $"
#endif
# include "config.h"
@ -292,6 +292,8 @@ static ivl_nexus_t nexus_sig_make(ivl_signal_t net, unsigned pin)
case IVL_SIT_SUPPLY1:
drive = IVL_DR_SUPPLY;
break;
default:
break;
}
tmp->ptrs_[0].drive0 = drive;
tmp->ptrs_[0].drive1 = drive;
@ -315,6 +317,8 @@ static void nexus_sig_add(ivl_nexus_t nex, ivl_signal_t net, unsigned pin)
case IVL_SIT_SUPPLY1:
drive = IVL_DR_SUPPLY;
break;
default:
break;
}
nex->ptrs_[top-1].type_= __NEXUS_PTR_SIG;
@ -2132,6 +2136,9 @@ extern const struct target tgt_dll = { "dll", &dll_target_obj };
/*
* $Log: t-dll.cc,v $
* Revision 1.116 2003/07/05 20:42:08 steve
* Fix some enumeration warnings.
*
* Revision 1.115 2003/06/24 01:38:03 steve
* Various warnings fixed.
*

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: t-xnf.cc,v 1.48 2003/06/24 01:38:03 steve Exp $"
#ident "$Id: t-xnf.cc,v 1.49 2003/07/05 20:42:08 steve Exp $"
#endif
# include "config.h"
@ -425,6 +425,9 @@ void target_xnf::draw_carry(ostream &os, const NetAddSub*gate, unsigned idx,
case LOWER_W_CO:
draw_pin(os, "COUT0", gate->pin_Cout());
break;
default:
assert(0);
}
// Connect the Cout, this will connect to the next Cin
@ -706,6 +709,9 @@ void target_xnf::lpm_ff(const NetFF*net)
case verinum::V1:
out_ << "INIT=S, ";
break;
default:
break;
}
out_ << "LIBVER=2.0.0" << endl;
@ -926,6 +932,9 @@ extern const struct target tgt_xnf = { "xnf", &target_xnf_obj };
/*
* $Log: t-xnf.cc,v $
* Revision 1.49 2003/07/05 20:42:08 steve
* Fix some enumeration warnings.
*
* Revision 1.48 2003/06/24 01:38:03 steve
* Various warnings fixed.
*