litepcie icon indicating copy to clipboard operation
litepcie copied to clipboard

TLP Packetizer/Depacketizer: Create unit-tests and avoid code duplication

Open enjoy-digital opened this issue 4 years ago • 0 comments

The TLP Packetizers/Depacketizers are using specific classes for the 64/128/256/512-bit datapaths. It should be possible to simplify the code by creating a generic Packetizer/Depacketizer that would support all the supported data widths. Before doing this, unit-tests for the current implementations should be created and used to validate the new generic module.

enjoy-digital avatar Sep 23 '20 08:09 enjoy-digital