Skip to content

Commit 2c1b93f

Browse files
Merge pull request #2442 from enjoy-digital/igmp
soc/integration: propagate IGMP parameters through add_etherbone
2 parents 62f30d5 + bae845d commit 2c1b93f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

litex/soc/integration/soc.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,10 @@ def add_etherbone(self, name="etherbone", phy=None, phy_cd=None, data_width=8,
20122012
with_ethmac = False,
20132013
ethmac_address = 0x10e2d5000001,
20142014
ethmac_local_ip = "192.168.1.51",
2015-
ethmac_remote_ip = "192.168.1.100"):
2015+
ethmac_remote_ip = "192.168.1.100",
2016+
with_igmp = False,
2017+
igmp_groups = None,
2018+
igmp_interval = 10):
20162019

20172020
# Imports
20182021
from liteeth.core import LiteEthUDPIPCore
@@ -2032,6 +2035,9 @@ def add_etherbone(self, name="etherbone", phy=None, phy_cd=None, data_width=8,
20322035
dw = data_width,
20332036
with_ip_broadcast = with_ip_broadcast,
20342037
with_sys_datapath = with_sys_datapath,
2038+
with_igmp = with_igmp,
2039+
igmp_groups = igmp_groups,
2040+
igmp_interval = igmp_interval,
20352041
interface = {True : "hybrid", False: "crossbar"}[with_ethmac],
20362042
endianness = {True : self.cpu.endianness, False: "big"}[with_ethmac],
20372043
)

0 commit comments

Comments
 (0)