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