litex/soc/interconnect/wishbone.py: add data_width param
This commit is contained in:
parent
e87e7ff31c
commit
a8c8e4e3cf
|
@ -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 New Issue