From 2474ce9db23e4d06bff4bbeacf0051efa3042f37 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 28 May 2019 12:42:22 +0200 Subject: [PATCH] software/dump/common: change variable name for values2x loop (thanks keesj) --- litescope/software/dump/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litescope/software/dump/common.py b/litescope/software/dump/common.py index 938808f..d93f027 100644 --- a/litescope/software/dump/common.py +++ b/litescope/software/dump/common.py @@ -67,7 +67,7 @@ class Dump: i = 0 for s, n in layout: 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)) i += n self.add(DumpVariable("scope_clk", 1, [1, 0]*(len(self)//2)))