summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcBalance.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-05-11 08:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-05-11 08:01:00 -0700
commit582cf0b923e0a461c2efdb4ecde9bfdb0716a328 (patch)
tree8a1480ebd6e719ea1a4a769a02538ab8ce4dc124 /src/base/abci/abcBalance.c
parent0f03f34924b64814791347c5dcf0633dd244d341 (diff)
downloadabc-582cf0b923e0a461c2efdb4ecde9bfdb0716a328.tar.gz
abc-582cf0b923e0a461c2efdb4ecde9bfdb0716a328.tar.bz2
abc-582cf0b923e0a461c2efdb4ecde9bfdb0716a328.zip
Version abc80511
Diffstat (limited to 'src/base/abci/abcBalance.c')
-rw-r--r--src/base/abci/abcBalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcBalance.c b/src/base/abci/abcBalance.c
index f9b3384e..f04837c5 100644
--- a/src/base/abci/abcBalance.c
+++ b/src/base/abci/abcBalance.c
@@ -346,7 +346,7 @@ int Abc_NodeBalanceCone_rec( Abc_Obj_t * pNode, Vec_Ptr_t * vSuper, bool fFirst,
return 0;
}
// if the new node is complemented or a PI, another gate begins
- if ( !fFirst && (Abc_ObjIsComplement(pNode) || !Abc_ObjIsNode(pNode) || !fDuplicate && !fSelective && (Abc_ObjFanoutNum(pNode) > 1)) )
+ if ( !fFirst && (Abc_ObjIsComplement(pNode) || !Abc_ObjIsNode(pNode) || (!fDuplicate && !fSelective && (Abc_ObjFanoutNum(pNode) > 1)) || Vec_PtrSize(vSuper) > 10000) )
{
Vec_PtrPush( vSuper, pNode );
Abc_ObjRegular(pNode)->fMarkB = 1;