yosys/libs/ezsat
whitequark b43c282e4e Add WASI platform support.
This includes the following significant changes:
  * Patching ezsat and minisat to disable resource limiting code
    on WASM/WASI, since the POSIX functions they use are unavailable.
  * Adding a new definition, YOSYS_DISABLE_SPAWN, present if platform
    does not support spawning subprocesses (i.e. Emscripten or WASI).
    This definition hides the definition of `run_command()`.
  * Adding a new Makefile flag, DISABLE_SPAWN, present in the same
    condition. This flag disables all passes that require spawning
    subprocesses for their function.
2020-04-30 18:56:25 +00:00
..
.gitignore Fixes and improvements in ezSAT library 2013-06-08 12:14:20 +02:00
Makefile Added ezSAT::keep_cnf() and ezSAT::non_incremental() 2014-07-21 02:01:32 +02:00
README Added ezSAT library 2013-06-07 10:38:35 +02:00
demo_bit.cc Fixed trailing whitespaces 2015-07-02 11:14:30 +02:00
demo_cmp.cc Fixed trailing whitespaces 2015-07-02 11:14:30 +02:00
demo_vec.cc Fixed trailing whitespaces 2015-07-02 11:14:30 +02:00
ezminisat.cc Add WASI platform support. 2020-04-30 18:56:25 +00:00
ezminisat.h Fix typographical and grammatical errors and inconsistencies. 2019-01-02 13:12:17 +00:00
ezsat.cc Improve ezsat onehot encoding scheme 2020-04-02 12:22:28 +02:00
ezsat.h Spell check (by Larry Doolittle) 2015-08-14 10:56:05 +02:00
puzzle3d.cc Fixed trailing whitespaces 2015-07-02 11:14:30 +02:00
puzzle3d.scad Added ezSAT library 2013-06-07 10:38:35 +02:00
testbench.cc Fixed trailing whitespaces 2015-07-02 11:14:30 +02:00

README

  **************************************************************************
  *                                                                        *
  *                       The ezSAT C++11 library                          *
  *                                                                        *
  * A simple frontend to SAT solvers with bindings to MiniSAT.             *
  *                                                       by Clifford Wolf *
  *                                                                        *
  **************************************************************************

============
Introduction
============

This library acts as a frontend to SAT solvers and a helper for generating
CNF for sat solvers. It comes with bindings for MiniSAT (http://minisat.se/).

Have a look at demo_bit.cc and demo_vec.cc for examples of how to set up
a SAT problem using ezSAT. Have a look at puzzle3d.cc for a more complex
(real-world) example of using ezSAT.


C++11 Warning
-------------

This project is written in C++11. Use appropriate compiler switches to compile
it. Tested with clang version 3.0 and option -std=c++11. Also tested with gcc
version 4.6.3 and option -std=c++0x.