mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bank: fix csrgen address decoder
This commit is contained in:
parent
05d91c7104
commit
7582b76406
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Bank:
|
|||
comb = []
|
||||
sync = []
|
||||
|
||||
comb.append(a(self._sel, self.interface.a_i[12:] == f.Constant(self.address, f.BV(4))))
|
||||
comb.append(a(self._sel, self.interface.a_i[10:] == f.Constant(self.address, f.BV(4))))
|
||||
|
||||
nregs = len(self.description)
|
||||
nbits = f.BitsFor(nregs-1)
|
||||
|
|
Loading…
Reference in a new issue