diff --git a/net_nex_output.cc b/net_nex_output.cc index e86f8a25a..c5c91068c 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.9 2004/06/30 15:32:18 steve Exp $" +#ident "$Id: net_nex_output.cc,v 1.10 2004/08/28 16:23:05 steve Exp $" #endif # include "config.h" @@ -100,6 +100,15 @@ void NetPDelay::nex_output(NexusSet&out) if (statement_) statement_->nex_output(out); } +/* + * For the purposes of synthesis, system task calls have no output at + * all. This is OK because most system tasks are not synthesizeable in + * the first place. + */ +void NetSTask::nex_output(NexusSet&out) +{ +} + void NetWhile::nex_output(NexusSet&out) { if (proc_ != 0) @@ -108,6 +117,9 @@ void NetWhile::nex_output(NexusSet&out) /* * $Log: net_nex_output.cc,v $ + * Revision 1.10 2004/08/28 16:23:05 steve + * Fix use of system tasks in AT_STAR statements. + * * Revision 1.9 2004/06/30 15:32:18 steve * nex_output for NetPDelay statements. * diff --git a/netlist.h b/netlist.h index 7e32d040b..ac2616186 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.316 2004/08/28 15:08:31 steve Exp $" +#ident "$Id: netlist.h,v 1.317 2004/08/28 16:23:05 steve Exp $" #endif /* @@ -2142,6 +2142,7 @@ class NetSTask : public NetProc { const NetExpr* parm(unsigned idx) 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; @@ -3349,6 +3350,9 @@ extern ostream& operator << (ostream&, NetNet::Type); /* * $Log: netlist.h,v $ + * Revision 1.317 2004/08/28 16:23:05 steve + * Fix use of system tasks in AT_STAR statements. + * * Revision 1.316 2004/08/28 15:08:31 steve * Do not change reg to wire in NetAssign_ unless synthesizing. *