Skip to content

Commit

Permalink
litedram_gen: use default settings on wb_bus.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed May 13, 2020
1 parent 6fb8396 commit f4871b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litedram/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def __init__(self, platform, core_config, **kwargs):
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")
Expand Down

0 comments on commit f4871b9

Please sign in to comment.