integration/soc/etherbone: expose ethcore (useful to combine udp/etherbone).
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 27 Jul 2020 17:57:29 +0000 (19:57 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 27 Jul 2020 17:57:29 +0000 (19:57 +0200)
litex/soc/integration/soc.py

index 477d883a1f1cae15a0df0a874234fea2da25ebd8..838e65b3de4842492fe684011be24dbeeea4ab8f 100644 (file)
@@ -1285,7 +1285,7 @@ class LiteXSoC(SoC):
             ip_address  = ip_address,
             clk_freq    = self.clk_freq)
         ethcore = ClockDomainsRenamer("eth_tx")(ethcore)
-        self.submodules += ethcore
+        self.submodules.ethcore = ethcore
 
         # Clock domain renaming
         self.clock_domains.cd_etherbone = ClockDomain("etherbone")