aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-18 12:32:42 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-18 12:32:42 -0700
commitad9658ea5bff0dcf81568c706d6a890f63657c08 (patch)
tree01c6bb8e1fe1c963427980261cd6c6bae3078379 /backends
parent8e0a47fb920af1126adb67f884b5ce1443a9b4a9 (diff)
parent64947453e22404e570d670416ad66511a799e666 (diff)
downloadyosys-ad9658ea5bff0dcf81568c706d6a890f63657c08.tar.gz
yosys-ad9658ea5bff0dcf81568c706d6a890f63657c08.tar.bz2
yosys-ad9658ea5bff0dcf81568c706d6a890f63657c08.zip
Merge remote-tracking branch 'origin/master' into xaig
Diffstat (limited to 'backends')
-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)