diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-03-31 22:03:22 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-03-31 22:03:22 -0700 |
commit | 679e38b012d577b9f5354465274b188f2931e8a2 (patch) | |
tree | f325f21b30f4d90948819ed4ba324a067d23161d /src/sat | |
parent | 90867a64b4c1deb5589ac2cb50afc293c71836b9 (diff) | |
download | abc-679e38b012d577b9f5354465274b188f2931e8a2.tar.gz abc-679e38b012d577b9f5354465274b188f2931e8a2.tar.bz2 abc-679e38b012d577b9f5354465274b188f2931e8a2.zip |
Making per-output timeout in bmc3 -a and pdr -a work in CLOCKS_PER_SECs instead of miliseconds.
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/bmc/bmcBmc3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sat/bmc/bmcBmc3.c b/src/sat/bmc/bmcBmc3.c index 3a27d54c..d21a6e28 100644 --- a/src/sat/bmc/bmcBmc3.c +++ b/src/sat/bmc/bmcBmc3.c @@ -757,7 +757,7 @@ Gia_ManBmc_t * Saig_Bmc3ManStart( Aig_Man_t * pAig, int nTimeOutOne ) { p->pTime4Outs = ABC_ALLOC( abctime, Saig_ManPoNum(pAig) ); for ( i = 0; i < Saig_ManPoNum(pAig); i++ ) - p->pTime4Outs[i] = nTimeOutOne * CLOCKS_PER_SEC / 1000 + 1; + p->pTime4Outs[i] = nTimeOutOne; } return p; } @@ -1448,7 +1448,7 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars ) // stop BMC if all targets are solved if ( pPars->fSolveAll && pPars->nFailOuts + pPars->nDropOuts >= Saig_ManPoNum(pAig) ) { - Abc_Print( 1, "Stopping BMC because all targets are disproved.\n" ); + Abc_Print( 1, "Stopping BMC because all targets are disproved or timed out.\n" ); RetValue = pPars->nFailOuts ? 0 : 1; goto finish; } |