ID:10140 Verilog HDL error at <location>: range index is not constant

CAUSE: In a Verilog Design File (.v) at the specified location, you used a nonconstant value in defining a range. A range must not have a variable size.

ACTION: Edit the design so all values in range specifications evaluate to a constant integer.