mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-23 07:54:35 +00:00
Imporove yosys-smtbmc error handling, Improve VCD output
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
61a9e2eeb3
commit
cedbc35f4b
2 changed files with 49 additions and 23 deletions
|
@ -719,9 +719,12 @@ def write_vlogtb_trace(steps_start, steps_stop, index):
|
|||
|
||||
if vlogtbtop is not None:
|
||||
for item in vlogtbtop.split("."):
|
||||
assert item in smt.modinfo[vlogtb_topmod].cells
|
||||
vlogtb_state = "(|%s_h %s| %s)" % (vlogtb_topmod, item, vlogtb_state)
|
||||
vlogtb_topmod = smt.modinfo[vlogtb_topmod].cells[item]
|
||||
if item in smt.modinfo[vlogtb_topmod].cells:
|
||||
vlogtb_state = "(|%s_h %s| %s)" % (vlogtb_topmod, item, vlogtb_state)
|
||||
vlogtb_topmod = smt.modinfo[vlogtb_topmod].cells[item]
|
||||
else:
|
||||
print_msg("Vlog top module '%s' not found: no cell '%s' in module '%s'" % (vlogtbtop, item, vlogtb_topmod))
|
||||
break
|
||||
|
||||
with open(filename, "w") as f:
|
||||
print("`ifndef VERILATOR", file=f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue