core/icmp: use buffered=True on buffer to allow tools to use block rams

This commit is contained in:
Florent Kermarrec 2018-05-27 07:41:32 +02:00
parent 33afda74f7
commit 95849a0fed
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class LiteEthICMPEcho(Module):
# # # # # #
# TODO: optimize ressources (no need to store parameters as datas) # 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 += [ self.comb += [
sink.connect(self.buffer.sink), sink.connect(self.buffer.sink),
self.buffer.source.connect(source), self.buffer.source.connect(source),