mirror of https://github.com/YosysHQ/yosys.git
d03c5e2a00
Previously `unroll_stmt` would recurse over the smtlib expressions as well as recursively follow not-yet-emitted definitions the current expression depends on. While the depth of smtlib expressions generated by yosys seems to be reasonably bounded, the dependency chain of not-yet-emitted definitions can grow linearly with the size of the design and linearly in the BMC depth. This makes `unroll_stmt` use a `list` as stack, using python generators and `recursion_helper` function to keep the overall code structure of the previous recursive implementation. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.inc | ||
example.v | ||
example.ys | ||
smt2.cc | ||
smtbmc.py | ||
smtbmc_incremental.py | ||
smtio.py | ||
test_cells.sh | ||
witness.py | ||
ywio.py |