T
Tricky
Now, if I had made an array of arrays like this:
type array1_t is array(0 to 9) of integer;
type array2_t is array(0 to 9) of array1_t;
variable A : array2_t;
I can do assignments like this:
A(1) := (others => 0);
now, if I do this instead
type array_t is array(0 to 9, 0 to 9) of integer;
is there anyway I can do something similar to above (neat and tidy)?
or do I have to do it inside a for loop (a little annoying)?
type array1_t is array(0 to 9) of integer;
type array2_t is array(0 to 9) of array1_t;
variable A : array2_t;
I can do assignments like this:
A(1) := (others => 0);
now, if I do this instead
type array_t is array(0 to 9, 0 to 9) of integer;
is there anyway I can do something similar to above (neat and tidy)?
or do I have to do it inside a for loop (a little annoying)?