3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 01:54:10 +00:00

bugfix for mathsat counterexample vcd dump

This commit is contained in:
Emil Jiří Tywoniak 2022-10-20 19:31:16 +02:00
parent 083ca6ab06
commit 2ba435b6bc

View file

@ -917,7 +917,7 @@ class SmtIo:
if len(expr_list) == 0:
return []
self.write("(get-value (%s))" % " ".join(expr_list))
return [n[1] for n in self.parse(self.read())]
return [n[1] for n in self.parse(self.read()) if n]
def get_path(self, mod, path):
assert mod in self.modinfo