1
0
mirror of synced 2026-02-03 07:30:41 +00:00

Merge pull request #3197 from YosysHQ/claire/smtbmcfix

Add a bit of flexibilty re AIG witness trace length to smtbmc.py
This commit is contained in:
Claire Xen
2022-02-22 15:26:22 +01:00
committed by GitHub

View File

@@ -583,7 +583,10 @@ if aimfile is not None:
if not got_topt:
skip_steps = max(skip_steps, step)
num_steps = max(num_steps, step+1)
# some solvers optimize the properties so that they fail one cycle early,
# thus we check the properties in the cycle the aiger witness ends, and
# if that doesn't work, we check the cycle after that as well.
num_steps = max(num_steps, step+2)
step += 1
if btorwitfile is not None: