From edaa7df6d2c68d9083adbd646ba7711c53c91f8f Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 26 Oct 2003 04:51:38 +0000 Subject: [PATCH] Output of While is output of while substatement. --- net_nex_output.cc | 11 ++++++++++- netlist.h | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/net_nex_output.cc b/net_nex_output.cc index ac8ffbb7b..82df13128 100644 --- a/net_nex_output.cc +++ b/net_nex_output.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: net_nex_output.cc,v 1.6 2002/09/17 04:39:20 steve Exp $" +#ident "$Id: net_nex_output.cc,v 1.7 2003/10/26 04:51:39 steve Exp $" #endif # include "config.h" @@ -85,8 +85,17 @@ void NetEvWait::nex_output(NexusSet&out) statement_->nex_output(out); } +void NetWhile::nex_output(NexusSet&out) +{ + if (proc_ != 0) + proc_->nex_output(out); +} + /* * $Log: net_nex_output.cc,v $ + * Revision 1.7 2003/10/26 04:51:39 steve + * Output of While is output of while substatement. + * * Revision 1.6 2002/09/17 04:39:20 steve * Account for part select in l-value. * diff --git a/netlist.h b/netlist.h index e204c6a74..a094d68bf 100644 --- a/netlist.h +++ b/netlist.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: netlist.h,v 1.302 2003/09/20 01:05:36 steve Exp $" +#ident "$Id: netlist.h,v 1.303 2003/10/26 04:51:38 steve Exp $" #endif /* @@ -2270,6 +2270,7 @@ class NetWhile : public NetProc { void emit_proc_recurse(struct target_t*) const; virtual NexusSet* nex_input(); + virtual void nex_output(NexusSet&); virtual bool emit_proc(struct target_t*) const; virtual void dump(ostream&, unsigned ind) const; @@ -3308,6 +3309,9 @@ extern ostream& operator << (ostream&, NetNet::Type); /* * $Log: netlist.h,v $ + * Revision 1.303 2003/10/26 04:51:38 steve + * Output of While is output of while substatement. + * * Revision 1.302 2003/09/20 01:05:36 steve * Obsolete find_symbol and find_event from the Design class. *