energy_baz
Junior Member level 1
hi,
I have question on how to use array to declare my constant values. I want to use all the constant value in generic map. So, should I declare all the constant in generic..? As example :
constant ( z : integer := 3);
type a is array (0 to z-1) of integer;
constant b : a := (3,5,7)
I need to use all these value in generic map..thanks in advance...
I have question on how to use array to declare my constant values. I want to use all the constant value in generic map. So, should I declare all the constant in generic..? As example :
constant ( z : integer := 3);
type a is array (0 to z-1) of integer;
constant b : a := (3,5,7)
I need to use all these value in generic map..thanks in advance...