integration/soc/add_etherbone: pass phy to ethcore not self.ethphy.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 6 Aug 2020 16:22:42 +0000 (18:22 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 6 Aug 2020 16:23:04 +0000 (18:23 +0200)
Similar in most of the cases but added restrictions.

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)