mirror of https://github.com/YosysHQ/yosys.git
Fix a bug in yosys-smtbmc in ROM handling
This commit is contained in:
parent
baddb017fe
commit
dd46d76394
|
@ -644,6 +644,9 @@ def write_vcd_trace(steps_start, steps_stop, index):
|
|||
data = ["x"] * width
|
||||
gotread = False
|
||||
|
||||
if len(wdata) == 0 and len(rdata) != 0:
|
||||
wdata = [[]] * len(rdata)
|
||||
|
||||
assert len(rdata) == len(wdata)
|
||||
|
||||
for i in range(len(wdata)):
|
||||
|
|
Loading…
Reference in New Issue