From 8052afea79b1e2a6b552eb727dc2f01a73023f14 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 21 Nov 2022 12:04:52 +0100 Subject: [PATCH] liteeth_gen: add_wb_master -> bus.add_master. --- liteeth/gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/gen.py b/liteeth/gen.py index 6f5ebcb..80021d3 100755 --- a/liteeth/gen.py +++ b/liteeth/gen.py @@ -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 -----------------------------------------------------------------------