I am trying to generate a parameterizable CSA tree. I am wondering if this for loop will work as intended:
generate
for (x = 1; x < DATA_LEN_CLOG; x++) begin
for (int j = 0; j < (DATA_LEN/(2**x))/2; j++) begin <--- For loop in question
:
:
endgenerate
This for loop is used to reduce each iteration to powers of 2. Will these properly restrict the for loop in synthesis?