From 57782309a269aab5972f7d33599e055ef447eac0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Nov 2023 18:59:28 +0100 Subject: [PATCH] integration/soc/add_etherbone: Exclude MAC from CSRs when in hybrid board since added externally. --- litex/soc/integration/soc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 11f8142e9..fee8de48c 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1804,6 +1804,8 @@ class LiteXSoC(SoC): interface = interface, endianness = endianness, ) + if interface == "hybrid": + ethcore.autocsr_exclude = {"mac"} # Exclude MAC here since added externally. if not with_sys_datapath: # Use PHY's eth_tx/eth_rx clock domains. ethcore = ClockDomainsRenamer({