forked from M-Labs/artiq
serwb: reduce buffering. Closes #997
This commit is contained in:
parent
da1a61b8cf
commit
2e3bf8602f
|
@ -414,7 +414,7 @@ class _EtherboneRecordDepacketizer(_Depacketizer):
|
||||||
|
|
||||||
|
|
||||||
class _EtherboneRecordReceiver(Module):
|
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.sink = sink = stream.Endpoint(etherbone_record_description(32))
|
||||||
self.source = source = stream.Endpoint(etherbone_mmap_description(32))
|
self.source = source = stream.Endpoint(etherbone_mmap_description(32))
|
||||||
|
|
||||||
|
@ -497,7 +497,7 @@ class _EtherboneRecordReceiver(Module):
|
||||||
|
|
||||||
|
|
||||||
class _EtherboneRecordSender(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.sink = sink = stream.Endpoint(etherbone_mmap_description(32))
|
||||||
self.source = source = stream.Endpoint(etherbone_record_description(32))
|
self.source = source = stream.Endpoint(etherbone_record_description(32))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue