I have input std_logic_vector of (0 to X). Range of x is 0 to 1000 bytes and the code should support any value of X. I would like to slice the input into 128 bit blocks, for further processing and operations. a) how can it be done? b) is there a way to make the following pseudo-code work? so i can adopt it for solving a)? i need to use the loop index for naming the signals but i guess its not possible with VHDL (?)
for i in 0 to N loop
block_i <= input (X, X-127);
end loop;
Thanks in advance.