frontend/etherbone: reduce default buffer_depth to 4

This commit is contained in:
Florent Kermarrec 2018-10-30 11:21:06 +01:00
parent 602ddec664
commit 52c23015b0
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ class LiteEthEtherboneRecordDepacketizer(Depacketizer):
class LiteEthEtherboneRecordReceiver(Module): 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.sink = sink = stream.Endpoint(eth_etherbone_record_description(32))
self.source = source = stream.Endpoint(eth_etherbone_mmap_description(32)) self.source = source = stream.Endpoint(eth_etherbone_mmap_description(32))
@ -276,7 +276,7 @@ class LiteEthEtherboneRecordReceiver(Module):
class LiteEthEtherboneRecordSender(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.sink = sink = stream.Endpoint(eth_etherbone_mmap_description(32))
self.source = source = stream.Endpoint(eth_etherbone_record_description(32)) self.source = source = stream.Endpoint(eth_etherbone_record_description(32))