gloin
Newbie level 4
I defined my array and integer signal like this;
type time_array is array(0 to 25) of integer range 0 to 40;
signal store_high_time : Integer range 0 to 40;
signal store_low_time : Integer range 0 to 40;
assigning these signals to the array,
time_array(cnt) <= store_high_time;
or
time_array(cnt) <= store_low_time;
I m getting this error;
>The expression can not be converted to type time_array
With this code I m trying to write time values in to an array, how can I solve this problem?
regards,
Gloin
type time_array is array(0 to 25) of integer range 0 to 40;
signal store_high_time : Integer range 0 to 40;
signal store_low_time : Integer range 0 to 40;
assigning these signals to the array,
time_array(cnt) <= store_high_time;
or
time_array(cnt) <= store_low_time;
I m getting this error;
>The expression can not be converted to type time_array
With this code I m trying to write time values in to an array, how can I solve this problem?
regards,
Gloin