mirror of https://github.com/YosysHQ/yosys.git
parent
1d61a911b7
commit
33749f1e3a
|
@ -771,12 +771,12 @@ def write_vcd_trace(steps_start, steps_stop, index):
|
||||||
|
|
||||||
if gotread:
|
if gotread:
|
||||||
buf = data[:]
|
buf = data[:]
|
||||||
for i in reversed(range(len(tdata))):
|
for ii in reversed(range(len(tdata))):
|
||||||
for k in range(width):
|
for k in range(width):
|
||||||
if tdata[i][k] == "x":
|
if tdata[ii][k] == "x":
|
||||||
tdata[i][k] = buf[k]
|
tdata[ii][k] = buf[k]
|
||||||
else:
|
else:
|
||||||
buf[k] = tdata[i][k]
|
buf[k] = tdata[ii][k]
|
||||||
|
|
||||||
if not asyncwr:
|
if not asyncwr:
|
||||||
tdata.append(data[:])
|
tdata.append(data[:])
|
||||||
|
|
Loading…
Reference in New Issue