soc/add_etherbone: Expose arp_entries parameter.

This commit is contained in:
Florent Kermarrec 2023-07-31 17:59:18 +02:00
parent e257ff916f
commit cb06949604
1 changed files with 2 additions and 0 deletions

View File

@ -1709,6 +1709,7 @@ class LiteXSoC(SoC):
def add_etherbone(self, name="etherbone", phy=None, phy_cd="eth", data_width=8, def add_etherbone(self, name="etherbone", phy=None, phy_cd="eth", data_width=8,
mac_address = 0x10e2d5000000, mac_address = 0x10e2d5000000,
ip_address = "192.168.1.50", ip_address = "192.168.1.50",
arp_entries = 1,
udp_port = 1234, udp_port = 1234,
buffer_depth = 16, buffer_depth = 16,
with_ip_broadcast = True, with_ip_broadcast = True,
@ -1727,6 +1728,7 @@ class LiteXSoC(SoC):
mac_address = mac_address, mac_address = mac_address,
ip_address = ip_address, ip_address = ip_address,
clk_freq = self.clk_freq, clk_freq = self.clk_freq,
arp_entries = arp_entries,
dw = data_width, dw = data_width,
with_ip_broadcast = with_ip_broadcast, with_ip_broadcast = with_ip_broadcast,
with_sys_datapath = with_sys_datapath, with_sys_datapath = with_sys_datapath,