diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-17 12:55:12 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-17 12:55:12 -0800 |
commit | 345d4e24f3cd3dae2acaf0bdbc7254a1a5874684 (patch) | |
tree | ff93f950ba90471cdd78fa3592f659ddd4c931ac /src/base | |
parent | a28dd33df07b9b4932cf32855005f4cdc68316c9 (diff) | |
download | abc-345d4e24f3cd3dae2acaf0bdbc7254a1a5874684.tar.gz abc-345d4e24f3cd3dae2acaf0bdbc7254a1a5874684.tar.bz2 abc-345d4e24f3cd3dae2acaf0bdbc7254a1a5874684.zip |
Bug fix in abstracting boxes.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/wlc/wlcAbs.c | 2 | ||||
-rw-r--r-- | src/base/wlc/wlcCom.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/base/wlc/wlcAbs.c b/src/base/wlc/wlcAbs.c index 0ffb887d..7b56afbb 100644 --- a/src/base/wlc/wlcAbs.c +++ b/src/base/wlc/wlcAbs.c @@ -152,6 +152,8 @@ Wlc_Ntk_t * Wlc_NtkAbstractNodes( Wlc_Ntk_t * p, Vec_Int_t * vNodesInit ) Wlc_NtkCleanCopy( p ); Wlc_NtkForEachObj( p, pObj, i ) { + if ( i == Vec_IntSize(&p->vCopies) ) + break; if ( pObj->Mark ) { // clean pObj->Mark = 0; diff --git a/src/base/wlc/wlcCom.c b/src/base/wlc/wlcCom.c index 85e10511..68373522 100644 --- a/src/base/wlc/wlcCom.c +++ b/src/base/wlc/wlcCom.c @@ -356,8 +356,8 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv ) return 0; } // transform -// pNtk = Wlc_NtkAbstractNodes( pNtk, NULL ); pNtk = Wlc_NtkUifNodePairs( pNtk, NULL ); + pNtk = Wlc_NtkAbstractNodes( pNtk, NULL ); Wlc_AbcUpdateNtk( pAbc, pNtk ); return 0; usage: |