Open alanvgreen opened 2 years ago
According to https://symbiyosys.readthedocs.io/en/latest/reference.html#engines-section, symbiyosys support a wide variety of engines / solvers selection.
It looks that z3
is a supported option and I could find a packaged version here (albeit outdated, current upstream version is 4.11): https://anaconda.org/asmeurer/z3.
Does it work if you change the solver according to the symbiflow docs?
Also see https://github.com/hdl/conda-eda/blob/master/.github/workflows/Build.yml#L297 it seems that the build are currently disabled because of #70
Actually looking at the recipe a little bit closer, it seems that z3
https://github.com/hdl/conda-eda/blob/master/formal/symbiyosys/build.sh#L52 and boolector
https://github.com/hdl/conda-eda/blob/master/formal/symbiyosys/build.sh#L25 are the two solvers included in the build.
@alanvgreen what happens if you switch the configuration to:
[options]
mode cover
[engines]
smtbmc z3
[script]
read -formal timer.v
prep -top timer
[files]
timer.v
Setting [engines]
to smtbmc z3
worked for a simple example: Symbiyosys completes without errors and produces correct output.
Part 3 of the zero2asic course uses symbi-yosys (sby) with the yices engine.
Usng I was able to install sby with
conda install -c litex-hub symbiyosys
, but then got this failure:timer.sby
contains: