mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
Added ezSAT::keep_cnf() and ezSAT::non_incremental()
This commit is contained in:
parent
ade659e617
commit
b1d520949b
5 changed files with 71 additions and 8 deletions
|
@ -63,7 +63,8 @@ void ezMiniSAT::clear()
|
|||
#if EZMINISAT_SIMPSOLVER && EZMINISAT_INCREMENTAL
|
||||
void ezMiniSAT::freeze(int id)
|
||||
{
|
||||
cnfFrozenVars.insert(bind(id));
|
||||
if (!mode_non_incremental())
|
||||
cnfFrozenVars.insert(bind(id));
|
||||
}
|
||||
|
||||
bool ezMiniSAT::eliminated(int idx)
|
||||
|
@ -89,6 +90,8 @@ void ezMiniSAT::alarmHandler(int)
|
|||
|
||||
bool ezMiniSAT::solver(const std::vector<int> &modelExpressions, std::vector<bool> &modelValues, const std::vector<int> &assumptions)
|
||||
{
|
||||
preSolverCallback();
|
||||
|
||||
solverTimoutStatus = false;
|
||||
|
||||
if (0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue