From: Florent Kermarrec Date: Mon, 20 Apr 2015 06:16:31 +0000 (+0200) Subject: litescope: fix read in reg.py X-Git-Tag: 24jan2021_ls180~2304 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff2d1d938339bc1b2dc16abadd803327afa36e76;p=litex.git litescope: fix read in reg.py --- 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):