soc/interconnect/packet: simplify/refactor Packetizer/Depacketizer to keep it simple
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 15 Nov 2019 13:34:56 +0000 (14:34 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 15 Nov 2019 13:39:55 +0000 (14:39 +0100)
commit2946581e50fe5a2a362ccd6d7fee5a0888270a53
treeb0aad0a03a03dcbd393ad7fb22d083555d47e714
parent33c4d961b58d8c3a10557f078b7d72b7981beb19
soc/interconnect/packet: simplify/refactor Packetizer/Depacketizer to keep it simple

To avoid complex FSMs, let the synthesis tool do the simplifications when the FSM states are not reachable.
litex/soc/interconnect/packet.py