Skip to content

Commit

Permalink
Cannot elide task ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Feb 17, 2001
1 parent 78355b6 commit 410a93b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nodangle.cc
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: nodangle.cc,v 1.10 2000/11/19 20:48:53 steve Exp $"
#ident "$Id: nodangle.cc,v 1.11 2001/02/17 05:14:35 steve Exp $"
#endif

/*
Expand Down Expand Up @@ -58,6 +58,12 @@ void nodangle_f::signal(Design*des, NetNet*sig)
if (sig->get_eref() > 0)
return;

/* Cannot delete the ports of tasks. There are too many places
where they are referenced. */
if ((sig->port_type() != NetNet::NOT_A_PORT)
&& (sig->scope()->type() == NetScope::TASK))
return;

/* Check to see if the signal is completely unconnected. If
all the bits are unlinked, then delete it. */
unsigned unlinked = 0;
Expand Down Expand Up @@ -118,6 +124,9 @@ void nodangle(Design*des)

/*
* $Log: nodangle.cc,v $
* Revision 1.11 2001/02/17 05:14:35 steve
* Cannot elide task ports.
*
* Revision 1.10 2000/11/19 20:48:53 steve
* Killing some signals might make others killable.
*
Expand Down

0 comments on commit 410a93b

Please sign in to comment.