projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c1f6e
)
Fixed yosys-smtbmc -c
author
Clifford Wolf
<clifford@clifford.at>
Wed, 14 Oct 2015 21:00:46 +0000
(23:00 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 14 Oct 2015 21:00:46 +0000
(23:00 +0200)
backends/smt2/smtbmc.py
patch
|
blob
|
history
diff --git
a/backends/smt2/smtbmc.py
b/backends/smt2/smtbmc.py
index da186879765fb52649e840d444b0eed16615e4ba..4f6845849d35470094068ca4a86a768e67b6e804 100644
(file)
--- a/
backends/smt2/smtbmc.py
+++ b/
backends/smt2/smtbmc.py
@@
-105,13
+105,13
@@
def write_vcd_model():
vcd = mkvcd(open(vcdfile, "w"))
for netname in sorted(debug_nets):
- width = len(smt.get_net_bin(
"main"
, netname, "s0"))
+ width = len(smt.get_net_bin(
topmod
, netname, "s0"))
vcd.add_net(netname, width)
for i in range(step+1):
vcd.set_time(i)
for netname in debug_nets:
- vcd.set_net(netname, smt.get_net_bin(
"main"
, netname, "s%d" % i))
+ vcd.set_net(netname, smt.get_net_bin(
topmod
, netname, "s%d" % i))
vcd.set_time(step+1)