integration/soc/add_etherbone: pass phy to ethcore not self.ethphy.
[litex.git] / litex / soc / integration / soc.py
index eb56d0e2805c6e697dea3153c0bde4305d9dc1df..cd45a0b4a029723cecf84787079d3eab87c62fb0 100644 (file)
@@ -1313,7 +1313,7 @@ class LiteXSoC(SoC):
         from liteeth.frontend.etherbone import LiteEthEtherbone
         # Core
         ethcore = LiteEthUDPIPCore(
-            phy         = self.ethphy,
+            phy         = phy,
             mac_address = mac_address,
             ip_address  = ip_address,
             clk_freq    = self.clk_freq)