forked from M-Labs/artiq
1
0
Fork 0

gateware/serwb: cleanup imports, use buffered SyncFIFO in EtherboneRecordSender

This commit is contained in:
Florent Kermarrec 2017-11-03 12:15:14 +01:00
parent 0d8bad5128
commit 5bd1e43ced
2 changed files with 2 additions and 4 deletions

View File

@ -503,7 +503,8 @@ class _EtherboneRecordSender(Module):
# # # # # #
pbuffer = stream.SyncFIFO(etherbone_mmap_description(32), buffer_depth) pbuffer = stream.SyncFIFO(etherbone_mmap_description(32), buffer_depth,
buffered=True)
self.submodules += pbuffer self.submodules += pbuffer
self.comb += sink.connect(pbuffer.sink) self.comb += sink.connect(pbuffer.sink)

View File

@ -1,12 +1,9 @@
from math import ceil from math import ceil
from copy import copy
from collections import OrderedDict
from migen import * from migen import *
from migen.genlib.misc import WaitTimer from migen.genlib.misc import WaitTimer
from misoc.interconnect import stream from misoc.interconnect import stream
from misoc.interconnect.stream import EndpointDescription
def reverse_bytes(signal): def reverse_bytes(signal):