mirror of https://github.com/YosysHQ/yosys.git
smtbmc: Fix witness handling for k-induction failures
The "uninitialized" value is a _list_ of chunks that are part of the initial state for the witness trace.
This commit is contained in:
parent
2e837956dc
commit
8838b1eaa4
|
@ -701,7 +701,7 @@ class SmtIo:
|
||||||
if witness["type"] == "mem":
|
if witness["type"] == "mem":
|
||||||
if allregs and not witness["rom"]:
|
if allregs and not witness["rom"]:
|
||||||
width, size = witness["width"], witness["size"]
|
width, size = witness["width"], witness["size"]
|
||||||
witness = {**witness, "uninitialized": {"width": width * size, "offset": 0}}
|
witness = {**witness, "uninitialized": [{"width": width * size, "offset": 0}]}
|
||||||
if not witness["uninitialized"]:
|
if not witness["uninitialized"]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue