I would like to interleave a data stream where N is the frame size and D is the interleaving depth as follows:
For N = 5 and D = 2,
input A0 A1 A2 A3 A4 B0 B1 B2 B3 B4 C0 C1 C2 C3 C4
output A0 0 A1 0 A2 B0 A3 B1 A4 B2 C0 B3 C1 B4 C2 …
For N = 5 and D = 3,
input A0 A1 A2 A3 A4 B0 B1 B2 B3 B4 C0 C1 C2 C3 C4
output A0 0 0 A1 0 B0 A2 0 B1 A3 C0 B2 A4 C1 B3
I believe this is called a causal interleaver. I would like to create this interleaver.
Best Answer