yosys/examples/smtbmc
Alberto Gonzalez 0fda8308bc Add support for optimizing exists-forall problems.
Modifies smt2 backend to recognize `$anyconst` etc. assigned to a wire with the `maximize` or `minimize` attribute and emit `; yosys-smt2-maximize` or `; yosys-smt2-minimize` directives as appropriate.
Modifies `backends/smt2/smtbmc.py` and `smtio.py` to recognize those directives and emit a `(maximize ...)` or `(minimize ...)` command at the end of `smt_forall_assert()`, as described in the paper "νZ - An Optimizing SMT Solver" by Nikolaj Bjørner et al.
Adds an example `examples/smtbmc/demo9.v` to show how it can be used.
2020-03-13 17:10:29 +00:00
..
.gitignore Add smtbmc support for exist-forall problems 2018-02-23 19:33:30 +01:00
Makefile Add support for optimizing exists-forall problems. 2020-03-13 17:10:29 +00:00
demo1.v Made examples/smtbmc/demo1.v more interesting 2016-09-02 13:54:24 +02:00
demo2.v Add $allconst and $allseq cell types 2018-02-23 13:14:47 +01:00
demo3.smtc More yosys-smtbmc smtc features 2016-08-24 23:18:29 +02:00
demo3.v More yosys-smtbmc smtc features 2016-08-24 23:18:29 +02:00
demo4.smtc Added smtc "final" statement 2016-08-27 14:30:36 +02:00
demo4.v Added smtc "final" statement 2016-08-27 14:30:36 +02:00
demo5.v Added $anyconst support to yosys-smtbmc 2016-08-30 19:27:42 +02:00
demo6.v Improvements in assertpmux 2016-09-07 12:42:16 +02:00
demo7.v Added $anyseq cell type 2016-10-14 15:24:03 +02:00
demo8.v Add smtbmc support for exist-forall problems 2018-02-23 19:33:30 +01:00
demo9.v Add support for optimizing exists-forall problems. 2020-03-13 17:10:29 +00:00