serwb: reduce buffering. Closes #997

This commit is contained in:
Sebastien Bourdeauducq 2018-05-11 14:13:41 +08:00
parent da1a61b8cf
commit 2e3bf8602f

View File

@ -414,7 +414,7 @@ class _EtherboneRecordDepacketizer(_Depacketizer):
class _EtherboneRecordReceiver(Module):
def __init__(self, buffer_depth=256):
def __init__(self, buffer_depth=16):
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=256):
def __init__(self, buffer_depth=16):
self.sink = sink = stream.Endpoint(etherbone_mmap_description(32))
self.source = source = stream.Endpoint(etherbone_record_description(32))