From d5a9f9d2d4ebbbe226b17f3bdf3564e6878db0c3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 19 Sep 2024 22:18:53 +0200 Subject: [PATCH] core: Expose icmp_fifo_depth paramter. --- liteeth/core/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/liteeth/core/__init__.py b/liteeth/core/__init__.py index 9e3b732..4df244f 100644 --- a/liteeth/core/__init__.py +++ b/liteeth/core/__init__.py @@ -16,7 +16,7 @@ from liteeth.core.icmp import LiteEthICMP class LiteEthIPCore(Module, AutoCSR): def __init__(self, phy, mac_address, ip_address, clk_freq, arp_entries=1, dw=8, - with_icmp = True, + with_icmp = True, icmp_fifo_depth=128, with_ip_broadcast = True, with_sys_datapath = False, tx_cdc_depth = 32, @@ -74,13 +74,14 @@ class LiteEthIPCore(Module, AutoCSR): ip = self.ip, ip_address = ip_address, dw = dw, + fifo_depth = icmp_fifo_depth, ) # UDP IP Core -------------------------------------------------------------------------------------- class LiteEthUDPIPCore(LiteEthIPCore): def __init__(self, phy, mac_address, ip_address, clk_freq, arp_entries=1, dw=8, - with_icmp = True, + with_icmp = True, icmp_fifo_depth=128, with_ip_broadcast = True, with_sys_datapath = False, tx_cdc_depth = 32, @@ -103,6 +104,7 @@ class LiteEthUDPIPCore(LiteEthIPCore): clk_freq = clk_freq, arp_entries = arp_entries, with_icmp = with_icmp, + icmp_fifo_depth = icmp_fifo_depth, dw = dw, interface = interface, endianness = endianness,