yosys/backends/smt2
Jannis Harder e6f3914800 smt2: Use smt bv offset for `$any*`'s smtoffset
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.
2023-05-18 11:58:09 +02:00
..
.gitignore Various fixes and improvements in "write_smt2 -bv" 2014-12-25 20:28:34 +01:00
Makefile.inc smtbmc: Add native json based witness format + smt2 backend support 2022-08-16 13:37:30 +02:00
example.v Added smtbmc.py 2015-10-13 17:17:23 +02:00
example.ys Added smtbmc.py 2015-10-13 17:17:23 +02:00
smt2.cc smt2: Use smt bv offset for `$any*`'s smtoffset 2023-05-18 11:58:09 +02:00
smtbmc.py yosys-smtbmc: support -h/--help (and exit with code 0). 2023-02-27 20:31:00 +00:00
smtio.py smtbmc: Fix witness handling for k-induction failures 2022-10-18 19:51:36 +02:00
test_cells.sh Various fixes and improvements in "write_smt2 -bv" 2014-12-25 20:28:34 +01:00
witness.py sim: Improvements and fixes for yw cosim 2023-01-11 18:07:16 +01:00
ywio.py Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00