liteeth_gen: add_wb_master -> bus.add_master.

This commit is contained in:
Florent Kermarrec 2022-11-21 12:04:52 +01:00
parent e3176c9386
commit 8052afea79
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class MACCore(PHYCore):
wb_bus = wishbone.Interface()
platform.add_extension(wb_bus.get_ios("wishbone"))
self.comb += wb_bus.connect_to_pads(self.platform.request("wishbone"), mode="slave")
self.add_wb_master(wb_bus)
self.bus.add_master(master=wb_bus)
if eth_bus_standard == "axi-lite":
# AXI-Lite Interface -----------------------------------------------------------------------