2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

serwb/etherbone: recuce buffering

This commit is contained in:
Florent Kermarrec 2018-05-12 12:03:11 +02:00
parent 6e67e6d0b1
commit fdc953e569

View File

@ -414,7 +414,7 @@ class _EtherboneRecordDepacketizer(_Depacketizer):
class _EtherboneRecordReceiver(Module):
def __init__(self, buffer_depth=16):
def __init__(self, buffer_depth=4):
self.sink = sink = stream.Endpoint(etherbone_record_description(32))
self.source = source = stream.Endpoint(etherbone_mmap_description(32))
@ -497,7 +497,7 @@ class _EtherboneRecordReceiver(Module):
class _EtherboneRecordSender(Module):
def __init__(self, buffer_depth=16):
def __init__(self, buffer_depth=4):
self.sink = sink = stream.Endpoint(etherbone_mmap_description(32))
self.source = source = stream.Endpoint(etherbone_record_description(32))