litedram_gen: use default settings on wb_bus.
This commit is contained in:
parent
6fb8396d8e
commit
f4871b9f13
|
@ -376,7 +376,7 @@ class LiteDRAMCore(SoCCore):
|
|||
self.comb += platform.request("init_error").eq(self.ddrctrl.init_error.storage)
|
||||
# If no CPU, expose a bus control interface to user.
|
||||
if cpu_type is None:
|
||||
wb_bus = wishbone.Interface(self.bus.address_width)
|
||||
wb_bus = wishbone.Interface()
|
||||
self.bus.add_master(master=wb_bus)
|
||||
platform.add_extension(wb_bus.get_ios("wb_ctrl"))
|
||||
wb_pads = platform.request("wb_ctrl")
|
||||
|
|
Loading…
Reference in New Issue