soc/interconnect/packet: add > 8-bit support to Packetizer/Depacketizer
authorVamsi K Vytla <vkvytla@lbl.gov>
Fri, 15 Nov 2019 10:22:49 +0000 (11:22 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 15 Nov 2019 10:24:17 +0000 (11:24 +0100)
commit5c19b133ac8d032db3233a9c86ae1ee1154d460e
tree0212fdeeed9c97784997b361a8ad30bcd9fac562
parent5f151152caebb682becb0bf3c33d2078f9cfadf3
soc/interconnect/packet: add > 8-bit support to Packetizer/Depacketizer

With high speed link (10gbps XGMII ethernet for example), stream data_width is generally
> 8-bit which make header/data un-aligned on bytes boundaries. The change allows the
Packetizer/Depacketizer to work on stream with a data_width > 8-bit.
litex/soc/interconnect/packet.py