mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
litex/soc/interconnect/wishbone.py: add data_width param
This commit is contained in:
parent
e87e7ff31c
commit
a8c8e4e3cf
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ class Decoder(Module):
|
|||
|
||||
|
||||
class InterconnectShared(Module):
|
||||
def __init__(self, masters, slaves, register=False, timeout_cycles=1e6):
|
||||
shared = Interface()
|
||||
def __init__(self, masters, slaves, register=False, timeout_cycles=1e6,data_width=32):
|
||||
shared = Interface(data_width=data_width)
|
||||
self.submodules.arbiter = Arbiter(masters, shared)
|
||||
self.submodules.decoder = Decoder(shared, slaves, register)
|
||||
if timeout_cycles is not None:
|
||||
|
|
Loading…
Reference in a new issue