mirror of https://github.com/YosysHQ/abc.git
Updating the counter of finished frames when dumping intermediate abstraction in &vta.
This commit is contained in:
parent
92da248e9a
commit
5f5dda9030
|
|
@ -1607,7 +1607,10 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
|
|||
}
|
||||
// dump the model
|
||||
if ( p->pPars->fDumpVabs && (f & 1) )
|
||||
{
|
||||
Abc_FrameSetNFrames( f );
|
||||
Gia_VtaDumpAbsracted( p, pPars->fVerbose );
|
||||
}
|
||||
// check if the number of objects is below limit
|
||||
if ( p->nSeenGla >= Gia_ManCandNum(pAig) * (100-pPars->nRatioMin) / 100 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ extern ABC_DLL void Abc_FrameSetLibSuper( void * pLib );
|
|||
extern ABC_DLL void Abc_FrameSetLibVer( void * pLib );
|
||||
extern ABC_DLL void Abc_FrameSetFlag( char * pFlag, char * pValue );
|
||||
extern ABC_DLL void Abc_FrameSetCex( Abc_Cex_t * pCex );
|
||||
extern ABC_DLL void Abc_FrameSetNFrames( int nFrames );
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -75,11 +75,12 @@ void Abc_FrameSetLibGen( void * pLib ) { s_GlobalFrame->pL
|
|||
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_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; }
|
||||
|
||||
int Abc_FrameIsBridgeMode() { return s_GlobalFrame ? s_GlobalFrame->fBridgeMode : 0; }
|
||||
void Abc_FrameSetBridgeMode() { if ( s_GlobalFrame ) s_GlobalFrame->fBridgeMode = 1; }
|
||||
int Abc_FrameIsBridgeMode() { return s_GlobalFrame ? s_GlobalFrame->fBridgeMode : 0; }
|
||||
void Abc_FrameSetBridgeMode() { if ( s_GlobalFrame ) s_GlobalFrame->fBridgeMode = 1; }
|
||||
|
||||
/**Function*************************************************************
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue