hdl - Add de-interleave option for data reading
In the DDR memory, data are stored interleaved:
ch1, ch2, ch3, ch4, ch1, ch2, ch3, ch4
This is because the DDR memory is used as a circular buffer (data are written straight to the DDR).
A option should be implemented to read the data in de-interleaved way:
ch1, ch1, ch2, ch2, ch3, ch3, ch4, ch4
This should improve the overall readout performance, because without this option the re-ordering is done in software.