From 7f6a0b652a9fe5ac8b4ef09f9eb474bc8209f6b9 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 23 Aug 2006 04:08:55 +0000 Subject: [PATCH] Do not count self as signifincant in nodangle. --- nodangle.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nodangle.cc b/nodangle.cc index 88ed57461..3a3ceb436 100644 --- a/nodangle.cc +++ b/nodangle.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: nodangle.cc,v 1.21.2.1 2006/03/16 05:40:19 steve Exp $" +#ident "$Id: nodangle.cc,v 1.21.2.2 2006/08/23 04:08:55 steve Exp $" #endif # include "config.h" @@ -163,6 +163,9 @@ void nodangle_f::signal(Design*des, NetNet*sig) if (cursig == 0) continue; + if (cursig == sig) + continue; + if (cursig->local_flag()) continue; @@ -208,6 +211,9 @@ void nodangle(Design*des) /* * $Log: nodangle.cc,v $ + * Revision 1.21.2.2 2006/08/23 04:08:55 steve + * Do not count self as signifincant in nodangle. + * * Revision 1.21.2.1 2006/03/16 05:40:19 steve * Fix crash when memory exploding doesnot work *