mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 04:01:25 +00:00
Added support for Minisat::SimpSolver + ezSAT frezze() API
This commit is contained in:
parent
b76528d8a5
commit
dab1612f81
5 changed files with 79 additions and 11 deletions
|
@ -141,6 +141,7 @@ public:
|
|||
// manage CNF (usually only accessed by SAT solvers)
|
||||
|
||||
virtual void clear();
|
||||
virtual void freeze(int id);
|
||||
void assume(int id);
|
||||
int bind(int id);
|
||||
|
||||
|
@ -154,6 +155,8 @@ public:
|
|||
void consumeCnf();
|
||||
void consumeCnf(std::vector<std::vector<int>> &cnf);
|
||||
|
||||
std::string cnfLiteralInfo(int idx) const;
|
||||
|
||||
// simple helpers for build expressions easily
|
||||
|
||||
struct _V {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue