Array randomization

In reply to K_123:

That’s new information.

function void pre_randomize;
    for(int i = 0;i<width'i+=8)
    data[i+:8]  = counter++;
endfunction

BTW, Please use code tags making your code easier to read. I have added them for you.