From 56773f962fc7ea80d53179dc71ff55a76bb5245f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 24 Oct 2015 12:55:49 +0200 Subject: [PATCH] identify some ressources optimization in HW icmp and etherbone --- liteeth/core/icmp.py | 1 + liteeth/frontend/etherbone.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/liteeth/core/icmp.py b/liteeth/core/icmp.py index 6b81be5..85bf796 100644 --- a/liteeth/core/icmp.py +++ b/liteeth/core/icmp.py @@ -125,6 +125,7 @@ class LiteEthICMPEcho(Module): # # # + # TODO: optimize ressources (no need to store parameters as datas) self.submodules.buffer = Buffer(eth_icmp_user_description(8), 128, 2) self.comb += [ Record.connect(sink, self.buffer.sink), diff --git a/liteeth/frontend/etherbone.py b/liteeth/frontend/etherbone.py index baa5f1e..a9116a7 100644 --- a/liteeth/frontend/etherbone.py +++ b/liteeth/frontend/etherbone.py @@ -188,6 +188,7 @@ class LiteEthEtherboneRecordReceiver(Module): # # # + # TODO: optimize ressources (no need to store parameters as datas) fifo = SyncFIFO(eth_etherbone_record_description(32), buffer_depth, buffered=True) self.submodules += fifo @@ -263,6 +264,7 @@ class LiteEthEtherboneRecordSender(Module): # # # + # TODO: optimize ressources (no need to store parameters as datas) pbuffer = Buffer(eth_etherbone_mmap_description(32), buffer_depth) self.submodules += pbuffer self.comb += Record.connect(sink, pbuffer.sink)