integration/soc/add_etherbone: Exclude MAC from CSRs when in hybrid board since added externally.

This commit is contained in:
Florent Kermarrec 2023-11-10 18:59:28 +01:00
parent 9f88137ab6
commit 57782309a2
1 changed files with 2 additions and 0 deletions

View File

@ -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({