mirror of https://github.com/YosysHQ/yosys.git
e6f3914800
While not setting the smtoffset here was clearly a bug, I think using `chunk.offset` only worked incidentally. The `smtoffset` is an offset into the `smtname, smtid` pair (here `"", idcounter`) which corresponds to the smt bitvector `stringf("%s#%d", get_id(module), idcounter)` which contains all the chunks this loop is iterating over. Thus using an incrementing `smtoffset` (like the `$ff`/`$dff` case above already does) should be the correct fix. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.inc | ||
example.v | ||
example.ys | ||
smt2.cc | ||
smtbmc.py | ||
smtio.py | ||
test_cells.sh | ||
witness.py | ||
ywio.py |