nsgil85
Member level 4
- Joined
- Dec 11, 2012
- Messages
- 73
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,833
hello you all,
I'm trying to simulate TB that fills series in array of unsigned numbers.
I can't figure out why i get only zeros in this array bellow:
(i know i can put "y" instead of "helper_add_values_to_display_array" and solve it but i wonder what is the problem)
thank you :lol:
I'm trying to simulate TB that fills series in array of unsigned numbers.
I can't figure out why i get only zeros in this array bellow:
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 signal helper_add_values_to_display_array : integer range 0 to ((2**simulation_GENERIC_POS_CONF_DISPLAY_DATA_WIDTH) -1) := 0 ; begin process_fill_up_display_array: process begin loop_arry: for y in 0 to simulation_GENERIC_POS_CONF_NUMBER_OF_ROWS -1 loop simulation_PORT_IN_UNS_ARRAY_DATA_TO_DISPLAY(y) <= to_unsigned(helper_add_values_to_display_array, simulation_PORT_IN_UNS_ARRAY_DATA_TO_DISPLAY(y)'length); helper_add_values_to_display_array <= helper_add_values_to_display_array +1; end loop loop_arry; wait ; end process ;
(i know i can put "y" instead of "helper_add_values_to_display_array" and solve it but i wonder what is the problem)
thank you :lol: