litescope: fix read in reg.py

This commit is contained in:
Florent Kermarrec 2015-04-20 08:16:31 +02:00
parent 4c0d9f5f36
commit ff2d1d9383
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class MappedReg:
data = 0 data = 0
for i in range(self.length): for i in range(self.length):
data = data << self.busword data = data << self.busword
data |= read_datas[i] data |= datas[i]
return data return data
def write(self, value): def write(self, value):