3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-15 23:35:28 +00:00

Improvements in yosys-smtbmc

This commit is contained in:
Clifford Wolf 2015-10-15 15:08:41 +02:00
parent 1d83854d84
commit 302166dd59
3 changed files with 9 additions and 2 deletions

View file

@ -313,6 +313,7 @@ class mkvcd:
assert t >= self.t
if t != self.t:
if self.t == -1:
print("$var event 1 ! smt_clock $end", file=self.f)
for name in sorted(self.nets):
key, width = self.nets[name]
print("$var wire %d %s %s $end" % (width, key, name), file=self.f)
@ -320,4 +321,5 @@ class mkvcd:
self.t = t
assert self.t >= 0
print("#%d" % self.t, file=self.f)
print("1!", file=self.f)