YosysHQ / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
3.3k stars 860 forks source link

smtbmc: Fix two .yw handling related crashes #4431

Closed jix closed 3 weeks ago

jix commented 3 weeks ago

These came up when using the experimental incremental interface and are also in code that was recently refactored to support that interface.

What are the reasons/motivation for this change?

This fixes observed crashes when using the incremental interface. In both cases a special case was missed and the specific changes handle the missed special case.

Explain how this is achieved.

If applicable, please suggest to reviewers how they can test the change.

The check-sby CI checks should be sufficient to ensure this doesn't regress anything.