3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-14 12:51:48 +00:00

Merge pull request #4303 from Coloquinte/sat_choice

Infrastructure to run a Sat solver as a command
This commit is contained in:
Gus Smith 2026-02-11 06:54:53 -08:00 committed by GitHub
commit 8ab105ac28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 320 additions and 18 deletions

View file

@ -59,6 +59,7 @@ struct SatSolver
struct ezSatPtr : public std::unique_ptr<ezSAT> {
ezSatPtr() : unique_ptr<ezSAT>(yosys_satsolver->create()) { }
explicit ezSatPtr(SatSolver *solver) : unique_ptr<ezSAT>((solver ? solver : yosys_satsolver)->create()) { }
};
struct SatGen