From ff2d1d938339bc1b2dc16abadd803327afa36e76 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 20 Apr 2015 08:16:31 +0200 Subject: [PATCH] litescope: fix read in reg.py --- misoclib/tools/litescope/host/driver/reg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misoclib/tools/litescope/host/driver/reg.py b/misoclib/tools/litescope/host/driver/reg.py index c101e23c..204a6262 100644 --- a/misoclib/tools/litescope/host/driver/reg.py +++ b/misoclib/tools/litescope/host/driver/reg.py @@ -20,7 +20,7 @@ class MappedReg: data = 0 for i in range(self.length): data = data << self.busword - data |= read_datas[i] + data |= datas[i] return data def write(self, value): -- 2.30.2