Fix use of system tasks in AT_STAR statements.
This commit is contained in:
parent
7f67afe9d5
commit
f02f5be3cc
|
|
@ -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_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
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -100,6 +100,15 @@ void NetPDelay::nex_output(NexusSet&out)
|
||||||
if (statement_) statement_->nex_output(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)
|
void NetWhile::nex_output(NexusSet&out)
|
||||||
{
|
{
|
||||||
if (proc_ != 0)
|
if (proc_ != 0)
|
||||||
|
|
@ -108,6 +117,9 @@ void NetWhile::nex_output(NexusSet&out)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: net_nex_output.cc,v $
|
* $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
|
* Revision 1.9 2004/06/30 15:32:18 steve
|
||||||
* nex_output for NetPDelay statements.
|
* nex_output for NetPDelay statements.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,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: 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
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -2142,6 +2142,7 @@ class NetSTask : public NetProc {
|
||||||
const NetExpr* parm(unsigned idx) const;
|
const NetExpr* parm(unsigned idx) const;
|
||||||
|
|
||||||
virtual NexusSet* nex_input();
|
virtual NexusSet* nex_input();
|
||||||
|
virtual void nex_output(NexusSet&);
|
||||||
virtual bool emit_proc(struct target_t*) const;
|
virtual bool emit_proc(struct target_t*) const;
|
||||||
virtual void dump(ostream&, unsigned ind) const;
|
virtual void dump(ostream&, unsigned ind) const;
|
||||||
|
|
||||||
|
|
@ -3349,6 +3350,9 @@ extern ostream& operator << (ostream&, NetNet::Type);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: netlist.h,v $
|
* $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
|
* Revision 1.316 2004/08/28 15:08:31 steve
|
||||||
* Do not change reg to wire in NetAssign_ unless synthesizing.
|
* Do not change reg to wire in NetAssign_ unless synthesizing.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue