diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-06-16 23:12:03 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-06-16 23:12:03 +0200 |
commit | c23bbc429103ca84cb8a9cfb674aacf7d14109c6 (patch) | |
tree | 42eb83fd520b97825851773d5392f101254768aa /backends/smt2 | |
parent | d4f77d408c754285969969bda3a6985c1fbe9fb6 (diff) | |
download | yosys-c23bbc429103ca84cb8a9cfb674aacf7d14109c6.tar.gz yosys-c23bbc429103ca84cb8a9cfb674aacf7d14109c6.tar.bz2 yosys-c23bbc429103ca84cb8a9cfb674aacf7d14109c6.zip |
Add timescale and generated-by header to yosys-smtbmc MkVcd
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'backends/smt2')
-rw-r--r-- | backends/smt2/smtio.py | 2 |
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) |