Commit 765da3a3 by Alan Mishchenko

Added sharing of counter-examples across multiple failed properties in 'bmc3 -a'.

parent de9fd0a5
...@@ -1391,7 +1391,7 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars ) ...@@ -1391,7 +1391,7 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars )
abctime clk, clk2, clkOther = 0, clkTotal = Abc_Clock(); abctime clk, clk2, clkOther = 0, clkTotal = Abc_Clock();
abctime nTimeUnsat = 0, nTimeSat = 0, nTimeUndec = 0, clkOne = 0; abctime nTimeUnsat = 0, nTimeSat = 0, nTimeUndec = 0, clkOne = 0;
abctime nTimeToStopNG, nTimeToStop; abctime nTimeToStopNG, nTimeToStop;
if ( pPars->nTimeOutOne ) if ( pPars->nTimeOutOne && pPars->nTimeOut == 0 )
pPars->nTimeOut = pPars->nTimeOutOne * Saig_ManPoNum(pAig) / 1000 + 1; pPars->nTimeOut = pPars->nTimeOutOne * Saig_ManPoNum(pAig) / 1000 + 1;
if ( pPars->nTimeOutOne && !pPars->fSolveAll ) if ( pPars->nTimeOutOne && !pPars->fSolveAll )
pPars->nTimeOutOne = 0; pPars->nTimeOutOne = 0;
...@@ -1646,7 +1646,7 @@ nTimeSat += Abc_Clock() - clk2; ...@@ -1646,7 +1646,7 @@ nTimeSat += Abc_Clock() - clk2;
if ( p->pPars->fUseBridge ) if ( p->pPars->fUseBridge )
Gia_ManToBridgeResult( stdout, 0, pCexNew0, pCexNew0->iPo ); Gia_ManToBridgeResult( stdout, 0, pCexNew0, pCexNew0->iPo );
// remember solved output // remember solved output
Vec_PtrWriteEntry( p->vCexes, k, Abc_CexDup(pCexNew, pCexNew->nRegs) ); Vec_PtrWriteEntry( p->vCexes, k, Abc_CexDup(pCexNew, Saig_ManRegNum(pAig)) );
} }
Abc_CexFreeP( &pCexNew0 ); Abc_CexFreeP( &pCexNew0 );
Abc_CexFreeP( &pCexNew ); Abc_CexFreeP( &pCexNew );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment