From fb407ce98be6d5dd3e43cab221f04fef72e16fcd Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 4 Apr 2024 17:58:30 +0200 Subject: [PATCH] core/ip/LiteEthIPTX: Enable buffer to ease timings on checksum. --- liteeth/core/ip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/core/ip.py b/liteeth/core/ip.py index 65639b9..22ace2e 100644 --- a/liteeth/core/ip.py +++ b/liteeth/core/ip.py @@ -94,7 +94,7 @@ class LiteEthIPV4Packetizer(Packetizer): class LiteEthIPTX(LiteXModule): - def __init__(self, mac_address, ip_address, arp_table, dw=8, with_buffer=False): + def __init__(self, mac_address, ip_address, arp_table, dw=8, with_buffer=True): self.sink = sink = stream.Endpoint(eth_ipv4_user_description(dw)) self.source = source = stream.Endpoint(eth_mac_description(dw)) self.target_unreachable = Signal()