enjoy-digital/usb3_pipe

Add SKPInserter

enjoy-digital opened this issue · 3 comments

We already have a SKPRemover to remove SKP Ordered Sets we receive from the partner, but we also need to generate them for the partner with an average of 1 SKP ordered set every 354 symbols.

SKP Ordered Sets should not be inserted inside Training Ordered Sets or Packets, so we will probably need to use first/last signals of LiteX streams to delimitate packets.

A first version of the SKIPInserter has been added with ea97bb1 and 3960b00.

A new implentation has been tested (inserting 1 SKP Ordered Set every 88 Data/Ctrl words), but does not improve system behavior so the first implementation has been reverted since simpler ( (inserting 2 SKP Ordered Set every 176 Data/Ctrl words).