K
KLaus Blank
Guest
Hi
I have a very simple problem. I have two arrays counter_1 & counter_2,
defined as standard_logic_vector. 2 std_logic vectors A0 & A1 define
the indices for the counter_1 array. Using the index
counter_1(conv_integer(A0 & A1)) I wanna make an lookup into
counter_2 and increment the value that is currentely stored there
as in the following simple code fragement.
counter_2(conv_integer(counter_1(conv_integer(A0 & A1)))) <=
counter_2(conv_integer(counter_1(conv_integer(A0 & A1)))) + 1;
However, the thing is not really working Has anyone an idea what
is wrong? Or is this not possible having twice an array access as above?
Many thanks for suggestions,
Klaus
I have a very simple problem. I have two arrays counter_1 & counter_2,
defined as standard_logic_vector. 2 std_logic vectors A0 & A1 define
the indices for the counter_1 array. Using the index
counter_1(conv_integer(A0 & A1)) I wanna make an lookup into
counter_2 and increment the value that is currentely stored there
as in the following simple code fragement.
counter_2(conv_integer(counter_1(conv_integer(A0 & A1)))) <=
counter_2(conv_integer(counter_1(conv_integer(A0 & A1)))) + 1;
However, the thing is not really working Has anyone an idea what
is wrong? Or is this not possible having twice an array access as above?
Many thanks for suggestions,
Klaus