From 46ab68ba17a6b50c5fd2a4c0566dc3e805bc11bd Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 9 Apr 2014 12:51:08 -0700 Subject: Cleanup and bug fixing in hierarchy handling. --- src/base/main/main.h | 1 - src/base/main/mainFrame.c | 3 --- src/base/main/mainInt.h | 1 - 3 files changed, 5 deletions(-) (limited to 'src/base/main') diff --git a/src/base/main/main.h b/src/base/main/main.h index e58fa75b..38867e88 100644 --- a/src/base/main/main.h +++ b/src/base/main/main.h @@ -102,7 +102,6 @@ extern ABC_DLL void * Abc_FrameReadLibBox(); extern ABC_DLL void * Abc_FrameReadLibGen(); extern ABC_DLL void * Abc_FrameReadLibGen2(); extern ABC_DLL void * Abc_FrameReadLibSuper(); -extern ABC_DLL void * Abc_FrameReadLibVer(); extern ABC_DLL void * Abc_FrameReadLibScl(); extern ABC_DLL void * Abc_FrameReadManDd(); extern ABC_DLL void * Abc_FrameReadManDec(); diff --git a/src/base/main/mainFrame.c b/src/base/main/mainFrame.c index 277c86ee..c3af051a 100644 --- a/src/base/main/mainFrame.c +++ b/src/base/main/mainFrame.c @@ -56,7 +56,6 @@ void * Abc_FrameReadLibBox() { return s_GlobalFr void * Abc_FrameReadLibGen() { return s_GlobalFrame->pLibGen; } void * Abc_FrameReadLibGen2() { return s_GlobalFrame->pLibGen2; } void * Abc_FrameReadLibSuper() { return s_GlobalFrame->pLibSuper; } -void * Abc_FrameReadLibVer() { return s_GlobalFrame->pLibVer; } void * Abc_FrameReadLibScl() { return s_GlobalFrame->pLibScl; } void * Abc_FrameReadManDd() { if ( s_GlobalFrame->dd == NULL ) s_GlobalFrame->dd = Cudd_Init( 0, 0, CUDD_UNIQUE_SLOTS, CUDD_CACHE_SLOTS, 0 ); return s_GlobalFrame->dd; } void * Abc_FrameReadManDec() { if ( s_GlobalFrame->pManDec == NULL ) s_GlobalFrame->pManDec = Dec_ManStart(); return s_GlobalFrame->pManDec; } @@ -82,7 +81,6 @@ void Abc_FrameSetLibBox( void * pLib ) { s_GlobalFrame->pL void Abc_FrameSetLibGen( void * pLib ) { s_GlobalFrame->pLibGen = pLib; } void Abc_FrameSetLibGen2( void * pLib ) { s_GlobalFrame->pLibGen2 = pLib; } void Abc_FrameSetLibSuper( void * pLib ) { s_GlobalFrame->pLibSuper = pLib; } -void Abc_FrameSetLibVer( void * pLib ) { s_GlobalFrame->pLibVer = pLib; } void Abc_FrameSetFlag( char * pFlag, char * pValue ) { Cmd_FlagUpdateValue( s_GlobalFrame, pFlag, pValue ); } void Abc_FrameSetCex( Abc_Cex_t * pCex ) { ABC_FREE( s_GlobalFrame->pCex ); s_GlobalFrame->pCex = pCex; } void Abc_FrameSetNFrames( int nFrames ) { ABC_FREE( s_GlobalFrame->pCex ); s_GlobalFrame->nFrames = nFrames; } @@ -189,7 +187,6 @@ void Abc_FrameDeallocate( Abc_Frame_t * p ) if ( p->vCexVec ) Vec_PtrFreeFree( p->vCexVec ); if ( p->vPoEquivs ) Vec_VecFree( (Vec_Vec_t *)p->vPoEquivs ); if ( p->vStatuses ) Vec_IntFree( p->vStatuses ); - if ( p->pLibVer ) Abc_DesFree( (Abc_Des_t *)p->pLibVer, NULL ); if ( p->pManDec ) Dec_ManStop( (Dec_Man_t *)p->pManDec ); if ( p->dd ) Extra_StopManager( p->dd ); if ( p->vStore ) Vec_PtrFree( p->vStore ); diff --git a/src/base/main/mainInt.h b/src/base/main/mainInt.h index c5b7de58..73844c2b 100644 --- a/src/base/main/mainInt.h +++ b/src/base/main/mainInt.h @@ -92,7 +92,6 @@ struct Abc_Frame_t_ void * pLibGen; // the current genlib void * pLibGen2; // the current genlib void * pLibSuper; // the current supergate library - void * pLibVer; // the current Verilog library void * pLibScl; // the current Liberty library // timing constraints char * pDrivingCell; // name of the driving cell -- cgit v1.2.3