mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 11:41:23 +00:00
Added ezSAT api support for don't care values in models
This commit is contained in:
parent
b7ba90910d
commit
41932e8b64
3 changed files with 23 additions and 6 deletions
|
@ -98,6 +98,9 @@ public:
|
|||
// If you are planning on using the solver API (and not simply create a CNF) you must use a child class
|
||||
// of ezSAT that actually implements a solver backend, such as ezMiniSAT (see ezminisat.h).
|
||||
|
||||
// Note: Solvers that can output don't-care values for model variables return a twice as big modelValues
|
||||
// vector. The first half contains the values and the second half the don't-care flags.
|
||||
|
||||
virtual bool solver(const std::vector<int> &modelExpressions, std::vector<bool> &modelValues, const std::vector<int> &assumptions);
|
||||
|
||||
bool solve(const std::vector<int> &modelExpressions, std::vector<bool> &modelValues, const std::vector<int> &assumptions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue