aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2/smtio.py
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-20 19:00:36 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-20 19:00:36 -0700
commite612dade12b30bdee15b7dd2535af51e5ec1614d (patch)
treee38be54476c557471cc8a30bc8c140d7c2797b3a /backends/smt2/smtio.py
parent014606affe3f1753ac16d2afd684967d72d83746 (diff)
parent477e566e8d203ec7754c90fc845d7f3f759f2974 (diff)
downloadyosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.tar.gz
yosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.tar.bz2
yosys-e612dade12b30bdee15b7dd2535af51e5ec1614d.zip
Merge remote-tracking branch 'origin/master' into xaig
Diffstat (limited to 'backends/smt2/smtio.py')
-rw-r--r--backends/smt2/smtio.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py
index ab20a4af2..cea0fc56c 100644
--- a/backends/smt2/smtio.py
+++ b/backends/smt2/smtio.py
@@ -1023,6 +1023,8 @@ class MkVcd:
assert t >= self.t
if t != self.t:
if self.t == -1:
+ print("$version Generated by Yosys-SMTBMC $end", file=self.f)
+ print("$timescale 1ns $end", file=self.f)
print("$var integer 32 t smt_step $end", file=self.f)
print("$var event 1 ! smt_clock $end", file=self.f)