litescope: fix read in reg.py
This commit is contained in:
parent
4c0d9f5f36
commit
ff2d1d9383
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue