software/dump/common: change variable name for values2x loop (thanks keesj)
This commit is contained in:
parent
7f20aa477f
commit
2474ce9db2
|
@ -67,7 +67,7 @@ class Dump:
|
||||||
i = 0
|
i = 0
|
||||||
for s, n in layout:
|
for s, n in layout:
|
||||||
values = variable[i:i+n]
|
values = variable[i:i+n]
|
||||||
values2x = [values[i//2] for i in range(len(values)*2)]
|
values2x = [values[j//2] for j in range(len(values)*2)]
|
||||||
self.add(DumpVariable(s, n, values2x))
|
self.add(DumpVariable(s, n, values2x))
|
||||||
i += n
|
i += n
|
||||||
self.add(DumpVariable("scope_clk", 1, [1, 0]*(len(self)//2)))
|
self.add(DumpVariable("scope_clk", 1, [1, 0]*(len(self)//2)))
|
||||||
|
|
Loading…
Reference in New Issue