diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-04-17 22:18:43 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-04-17 22:18:43 -0700 |
commit | 06ba3d3e6ceee78cf52c024ac56287e924b00af3 (patch) | |
tree | 27af8afc988859b7c8920318d27f6aebeef34c9f /src/base/main/mainFrame.c | |
parent | bdae7c625afaff6f9313f201096dcb7d591c2486 (diff) | |
download | abc-06ba3d3e6ceee78cf52c024ac56287e924b00af3.tar.gz abc-06ba3d3e6ceee78cf52c024ac56287e924b00af3.tar.bz2 abc-06ba3d3e6ceee78cf52c024ac56287e924b00af3.zip |
Adding command &filter_equiv to filter candidate equivalence classes using indexes of disproved POs after handling SRM as a multi-output miter.
Diffstat (limited to 'src/base/main/mainFrame.c')
-rw-r--r-- | src/base/main/mainFrame.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/main/mainFrame.c b/src/base/main/mainFrame.c index 8c3344ff..a525afb6 100644 --- a/src/base/main/mainFrame.c +++ b/src/base/main/mainFrame.c @@ -65,6 +65,7 @@ int Abc_FrameReadProbStatus( Abc_Frame_t * p ) { return s_GlobalFr Abc_Cex_t * Abc_FrameReadCex( Abc_Frame_t * p ) { return s_GlobalFrame->pCex; } Vec_Ptr_t * Abc_FrameReadCexVec( Abc_Frame_t * p ) { return s_GlobalFrame->vCexVec; } Vec_Ptr_t * Abc_FrameReadPoEquivs( Abc_Frame_t * p ) { return s_GlobalFrame->vPoEquivs; } +Vec_Int_t * Abc_FrameReadObjIds( Abc_Frame_t * p ) { return s_GlobalFrame->vAbcObjIds; } int Abc_FrameReadCexPiNum( Abc_Frame_t * p ) { return s_GlobalFrame->pCex->nPis; } int Abc_FrameReadCexRegNum( Abc_Frame_t * p ) { return s_GlobalFrame->pCex->nRegs; } @@ -142,6 +143,7 @@ Abc_Frame_t * Abc_FrameAllocate() p->fBatchMode = 0; // networks to be used by choice p->vStore = Vec_PtrAlloc( 16 ); + p->vAbcObjIds = Vec_IntAlloc( 0 ); // initialize decomposition manager // define_cube_size(20); // set_espresso_flags(); @@ -172,6 +174,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p ) // undefine_cube_size(); Rwt_ManGlobalStop(); // Ivy_TruthManStop(); + if ( p->vAbcObjIds) Vec_IntFree( p->vAbcObjIds ); if ( p->vCexVec ) Vec_PtrFreeFree( p->vCexVec ); if ( p->vPoEquivs ) Vec_VecFree( (Vec_Vec_t *)p->vPoEquivs ); if ( p->pLibVer ) Abc_LibFree( (Abc_Lib_t *)p->pLibVer, NULL ); |