From 95849a0fed26c2f7e88e731e8ba7cb6b95d873e8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 27 May 2018 07:41:32 +0200 Subject: [PATCH] core/icmp: use buffered=True on buffer to allow tools to use block rams --- liteeth/core/icmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteeth/core/icmp.py b/liteeth/core/icmp.py index 9c5fcfb..bd07d10 100644 --- a/liteeth/core/icmp.py +++ b/liteeth/core/icmp.py @@ -127,7 +127,7 @@ class LiteEthICMPEcho(Module): # # # # TODO: optimize ressources (no need to store parameters as datas) - self.submodules.buffer = stream.SyncFIFO(eth_icmp_user_description(8), 128) + self.submodules.buffer = stream.SyncFIFO(eth_icmp_user_description(8), 128, buffered=True) self.comb += [ sink.connect(self.buffer.sink), self.buffer.source.connect(source),