diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-13 00:17:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-13 00:17:00 -0800 |
commit | 24408a483ca8874b9065ac90ffb5f0acc846a1c8 (patch) | |
tree | feef14203dca441baeb9ce10a4b9a763f325a8ec /src/aig/gia | |
parent | c7a7444211b7906da6e8a3097c6a7d52b44a9405 (diff) | |
download | abc-24408a483ca8874b9065ac90ffb5f0acc846a1c8.tar.gz abc-24408a483ca8874b9065ac90ffb5f0acc846a1c8.tar.bz2 abc-24408a483ca8874b9065ac90ffb5f0acc846a1c8.zip |
Bug fix in GLA PBA.
Diffstat (limited to 'src/aig/gia')
-rw-r--r-- | src/aig/gia/giaAbs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/aig/gia/giaAbs.c b/src/aig/gia/giaAbs.c index 0a8652ad..ab964c51 100644 --- a/src/aig/gia/giaAbs.c +++ b/src/aig/gia/giaAbs.c @@ -429,6 +429,7 @@ int Gia_ManGlaPbaPerform( Gia_Man_t * pGia, void * pPars ) extern Vec_Int_t * Aig_Gla2ManPerform( Aig_Man_t * pAig, int nStart, int nFramesMax, int nConfLimit, int TimeLimit, int fSkipRand, int fVerbose ); Saig_ParBmc_t * p = (Saig_ParBmc_t *)pPars; Vec_Int_t * vGateClasses; + Gia_Man_t * pGiaAbs; Aig_Man_t * pAig; // check if flop classes are given @@ -439,7 +440,6 @@ int Gia_ManGlaPbaPerform( Gia_Man_t * pGia, void * pPars ) } else { - Gia_Man_t * pGiaAbs; Abc_Print( 0, "Initial gate map is given. Abstraction refines this map.\n" ); pGiaAbs = Gia_ManDupAbsGates( pGia, pGia->vGateClasses ); pAig = Gia_ManToAigSimple( pGiaAbs ); @@ -483,6 +483,9 @@ int Gia_ManGlaPbaPerform( Gia_Man_t * pGia, void * pPars ) Vec_IntFreeP( &pGia->vGateClasses ); pGia->vGateClasses = vGateClasses; } + // clean up the abstraction map + pGiaAbs = Gia_ManDupAbsGates( pGia, pGia->vGateClasses ); + Gia_ManStop( pGiaAbs ); if ( p->fVerbose ) Gia_ManPrintStats( pGia, 0 ); return 1; |