frontend/etherbone: use new LiteX's PacketFIFO in LiteEthEtherboneRecordSender.
This ensures the full Etherbone packet is available before starting the transmission and fixes transmission issues with larges bursts or slow sys_clk_freq.
This commit is contained in:
parent
d3ae361748
commit
d3788cd2bb
|
@ -206,8 +206,7 @@ class LiteEthEtherboneRecordReceiver(Module):
|
|||
# # #
|
||||
|
||||
# TODO: optimize ressources (no need to store parameters as datas)
|
||||
fifo = stream.SyncFIFO(eth_etherbone_record_description(32), buffer_depth,
|
||||
buffered=True)
|
||||
fifo = stream.SyncFIFO(eth_etherbone_record_description(32), buffer_depth, buffered=True)
|
||||
self.submodules += fifo
|
||||
self.comb += sink.connect(fifo.sink)
|
||||
|
||||
|
@ -281,7 +280,7 @@ class LiteEthEtherboneRecordSender(Module):
|
|||
# # #
|
||||
|
||||
# TODO: optimize ressources (no need to store parameters as datas)
|
||||
fifo = stream.SyncFIFO(eth_etherbone_mmap_description(32), buffer_depth, buffered=True)
|
||||
fifo = PacketFIFO(eth_etherbone_mmap_description(32), buffer_depth, buffered=True)
|
||||
self.submodules += fifo
|
||||
self.comb += sink.connect(fifo.sink)
|
||||
|
||||
|
|
Loading…
Reference in New Issue