mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 03:05:36 +02:00
Bug fix in the timeout mechanism of 'pdr'.
This commit is contained in:
@@ -280,7 +280,7 @@ static inline sat_solver * Pdr_ManNewSolver1( sat_solver * pSat, Pdr_Man_t * p,
|
||||
Vec_IntWriteEntry( p->vVar2Reg, Pdr_ObjSatVar(p, k, pObj), i );
|
||||
}
|
||||
pSat = (sat_solver *)Cnf_DataWriteIntoSolverInt( pSat, p->pCnf1, 1, fInit );
|
||||
sat_solver_set_runtime_limit( pSat, (int)p->timeToStop );
|
||||
sat_solver_set_runtime_limit( pSat, p->timeToStop );
|
||||
return pSat;
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p,
|
||||
// start the SAT solver
|
||||
// pSat = sat_solver_new();
|
||||
sat_solver_setnvars( pSat, 500 );
|
||||
sat_solver_set_runtime_limit( pSat, (int)p->timeToStop );
|
||||
sat_solver_set_runtime_limit( pSat, p->timeToStop );
|
||||
return pSat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user