mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Add support for mockup clock signals in yosys-smtbmc vcd output
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
f2cfe73d74
commit
17583b6a21
3 changed files with 111 additions and 6 deletions
|
@ -589,7 +589,11 @@ def write_vcd_trace(steps_start, steps_stop, index):
|
|||
if n.startswith("$"):
|
||||
hidden_net = True
|
||||
if not hidden_net:
|
||||
vcd.add_net([topmod] + netpath, smt.net_width(topmod, netpath))
|
||||
edge = smt.net_clock(topmod, netpath)
|
||||
if edge is None:
|
||||
vcd.add_net([topmod] + netpath, smt.net_width(topmod, netpath))
|
||||
else:
|
||||
vcd.add_clock([topmod] + netpath, edge)
|
||||
path_list.append(netpath)
|
||||
|
||||
mem_trace_data = dict()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue