mirror of https://github.com/YosysHQ/abc.git
Making report about the number of correcty covered frames consistent across the engines.
This commit is contained in:
parent
fed18333e2
commit
daeffe791c
|
|
@ -833,7 +833,7 @@ int Saig_BmcPerform( Aig_Man_t * pAig, int nStart, int nFramesMax, int nNodesMax
|
|||
p->iOutputFail, p->pAig->pName, p->iFrameFail );
|
||||
Status = 0;
|
||||
if ( piFrames )
|
||||
*piFrames = p->iFrameFail;
|
||||
*piFrames = p->iFrameFail - 1;
|
||||
}
|
||||
else // if ( RetValue == l_False || RetValue == l_Undef )
|
||||
{
|
||||
|
|
@ -842,9 +842,9 @@ int Saig_BmcPerform( Aig_Man_t * pAig, int nStart, int nFramesMax, int nNodesMax
|
|||
if ( piFrames )
|
||||
{
|
||||
if ( p->iOutputLast > 0 )
|
||||
*piFrames = p->iFramePrev - 1;
|
||||
*piFrames = p->iFramePrev - 2;
|
||||
else
|
||||
*piFrames = p->iFramePrev;
|
||||
*piFrames = p->iFramePrev - 1;
|
||||
}
|
||||
}
|
||||
if ( !fSilent )
|
||||
|
|
|
|||
|
|
@ -1551,7 +1551,7 @@ clkOther += clock() - clk2;
|
|||
if ( nJumpFrame && pPars->nStart == 0 )
|
||||
pPars->iFrame = nJumpFrame - pPars->nFramesJump;
|
||||
else if ( RetValue == -1 && pPars->nStart == 0 )
|
||||
pPars->iFrame = f;
|
||||
pPars->iFrame = f-1;
|
||||
//ABC_PRT( "CNF generation runtime", clkOther );
|
||||
if ( pPars->fVerbose )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ int Inter_ManPerformInterpolation( Aig_Man_t * pAig, Inter_ManParams_t * pPars,
|
|||
|
||||
if ( Inter_ManCheckInitialState(pAig) )
|
||||
{
|
||||
*piFrame = 0;
|
||||
*piFrame = -1;
|
||||
printf( "Property trivially fails in the initial state.\n" );
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -223,7 +223,7 @@ p->timeEqu += clock() - clk;
|
|||
ABC_PRT( "Time", clock() - clk );
|
||||
}
|
||||
// remember the number of timeframes completed
|
||||
pPars->iFrameMax = i + 1 + p->nFrames;
|
||||
pPars->iFrameMax = i - 1 + p->nFrames;
|
||||
if ( RetValue == 0 ) // found a (spurious?) counter-example
|
||||
{
|
||||
if ( i == 0 ) // real counterexample
|
||||
|
|
|
|||
|
|
@ -709,6 +709,7 @@ int Pdr_ManSolve_( Aig_Man_t * pAig, Pdr_Par_t * pPars, Vec_Int_t ** pvPrioInit,
|
|||
p->vPrio = NULL;
|
||||
}
|
||||
Pdr_ManStop( p );
|
||||
pPars->iFrame--;
|
||||
return RetValue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue