mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bus/wishbone2csr: truncate WB data
This commit is contained in:
parent
1eb348c573
commit
47883675db
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class WB2CSR():
|
|||
def get_fragment(self):
|
||||
sync = [
|
||||
self.csr.we_o.eq(0),
|
||||
self.csr.d_o.eq(self.wishbone.dat_i),
|
||||
self.csr.d_o.eq(self.wishbone.dat_i[:8]),
|
||||
self.csr.a_o.eq(self.wishbone.adr_i[:14]),
|
||||
self.wishbone.dat_o.eq(self.csr.d_i)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue