1
0
mirror of synced 2026-04-14 09:19:24 +00:00
Files
YosysHQ.yosys/backends
Jannis Harder d03c5e2a00 smtbmc: Break dependency recursion during unrolling
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.
2024-03-04 16:53:03 +01:00
..
2024-02-06 17:51:29 +01:00
2023-08-12 11:59:39 +10:00
2024-02-06 17:51:29 +01:00
2024-02-06 17:51:29 +01:00
2021-06-09 12:42:52 +02:00
2024-02-06 17:51:29 +01:00
2023-08-12 11:59:39 +10:00
2024-02-06 17:51:29 +01:00
2024-02-06 17:51:29 +01:00