forked from M-Labs/artiq
1
0
Fork 0

serwb/etherbone: recuce buffering

This commit is contained in:
Florent Kermarrec 2018-05-12 12:03:11 +02:00
parent 6e67e6d0b1
commit fdc953e569
1 changed files with 2 additions and 2 deletions

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))