[an error occurred while processing this directive]
|
Arrays can be used to group elements of the declared element type into multi-dimensional objects. Arrays
shall be declared by specifying the element address range(s) after the declared identifier. Each dimension
shall be represented by an address range. See 3.2.1 and 3.2.2 for net and variable declarations. The expression(
s) that specify the indices of the array shall be constant expressions. The value of the constant expression
can be a positive integer, a negative integer, or zero.
Таким образом стандарт языка не предусматривает индексных границ массивов, единственно, что допускается это индексация битового поля
т.е. MY_BIT_ACCESS[i] можно, MY_ARRAY_ACCESS[j:i] нельзя. Для массивов нужно обходится либо двойными циклами или операциями сдвига >> <<
E-mail: info@telesys.ru