You are using a deprecated Browser. Internet Explorer is no longer supported by Xilinx.
3.1i XST - ERROR: (VHP__0814). <path>\<file> Line #. Integer value # is missing in aggregate.
Keywords: generic, integer, value, type, aggregate, VHDL, HDL
The following error may be generated if a variable (generic) is not passed properly to a type declaration:
ERROR: (VHP__0814). <path>\<file> Line #. Integer value # is missing in aggregate.
where "value #" is the upper bound of a vector type.
type array_type_name is array (generic_variable-1 downto 0) of integer;
constant constant_name : array_type_name := (9, 5, 7, 0);
"generic_variable" is being passed into the entity as the integer value of "4".
Using the above example, you can use named association instead of positional association:
constant constant_name : array_type_name := (3=>9, 2=>5, 1=>7, 0=>0);
or you can declare the type without any operators (change the variable accordingly):
type array_type_name is array (generic_variable downto 0) of integer;
NOTE: This problem is resolved in the 4.1i software release.
Was this Answer Record helpful?