mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-12 17:11:16 +00:00
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 | ||
| example.v | ||
| example.ys | ||
| Makefile.inc | ||
| smt2.cc | ||
| smtbmc.py | ||
| smtbmc_incremental.py | ||
| smtio.py | ||
| test_cells.sh | ||
| witness.py | ||
| ywio.py | ||