shaiko
Advanced Member level 5
- Joined
- Aug 20, 2011
- Messages
- 2,644
- Helped
- 303
- Reputation
- 608
- Reaction score
- 297
- Trophy points
- 1,363
- Activity points
- 18,302
Hello,
I got the following error while compiling my project:
"OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1" is an entity output port defined as follows:
POSITIVE_CONFIGURATION_2 is a generic.
Why does Quartus consider the range of OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 to be non static?
I got the following error while compiling my project:
this is what written in line 128 of the mentioned file:Error (10806): VHDL error at controller_write_fifo.vhd(128): range in generation scheme must be static
Code:
write_pointer_to_write_address : for index in OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 ' range
generate
OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_2 ( index ) <=
OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 ( index ) ( OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 ( 0 ) ' high - 1 downto 0 ) ;
end generate write_pointer_to_write_address ;
Code:
OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 : buffer type_array_unsigned ( 0 to POSITIVE_CONFIGURATION_2 - 1 ) ( positive ( log2 ( real ( POSITIVE_CONFIGURATION_2 ) ) ) downto 0 ) ;
Why does Quartus consider the range of OUT_TYPE_ARRAY_UNSIGNED_ADDRESS_1 to be non static?