Skip to content

Commit

Permalink
Merge pull request #1810 from trabucayre/etherbone_expose_params
Browse files Browse the repository at this point in the history
soc/integration/soc: expose interface,endianness and xx_cdc_xx to target (required for hybrid etherbone)
  • Loading branch information
enjoy-digital authored Oct 23, 2023
2 parents 5a21752 + bf3286f commit 02b16f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion litex/soc/integration/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,9 @@ def add_etherbone(self, name="etherbone", phy=None, phy_cd="eth", data_width=8,
udp_port = 1234,
buffer_depth = 16,
with_ip_broadcast = True,
with_timing_constraints = True):
with_timing_constraints = True,
interface = "crossbar",
endianness = "big"):
# Imports
from liteeth.core import LiteEthUDPIPCore
from liteeth.frontend.etherbone import LiteEthEtherbone
Expand All @@ -1751,6 +1753,8 @@ def add_etherbone(self, name="etherbone", phy=None, phy_cd="eth", data_width=8,
dw = data_width,
with_ip_broadcast = with_ip_broadcast,
with_sys_datapath = with_sys_datapath,
interface = interface,
endianness = endianness,
)
if not with_sys_datapath:
# Use PHY's eth_tx/eth_rx clock domains.
Expand Down

0 comments on commit 02b16f1

Please sign in to comment.