From 52c23015b052e40600a84ac73227fb5a0f0ce862 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 30 Oct 2018 11:21:06 +0100 Subject: [PATCH] frontend/etherbone: reduce default buffer_depth to 4 --- liteeth/frontend/etherbone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/frontend/etherbone.py b/liteeth/frontend/etherbone.py index b63b2df..d34e1e9 100644 --- a/liteeth/frontend/etherbone.py +++ b/liteeth/frontend/etherbone.py @@ -193,7 +193,7 @@ class LiteEthEtherboneRecordDepacketizer(Depacketizer): class LiteEthEtherboneRecordReceiver(Module): - def __init__(self, buffer_depth=256): + def __init__(self, buffer_depth=4): self.sink = sink = stream.Endpoint(eth_etherbone_record_description(32)) self.source = source = stream.Endpoint(eth_etherbone_mmap_description(32)) @@ -276,7 +276,7 @@ class LiteEthEtherboneRecordReceiver(Module): class LiteEthEtherboneRecordSender(Module): - def __init__(self, buffer_depth=256): + def __init__(self, buffer_depth=4): self.sink = sink = stream.Endpoint(eth_etherbone_mmap_description(32)) self.source = source = stream.Endpoint(eth_etherbone_record_description(32))