Forum Discussion
Altera_Forum
Honored Contributor
13 years agoVHDL-2008 support for unconstrained arrays in records
Quartus II does not support unconstrained arrays in records, which would be useful to define a complex-valued data type for signed values, eg.,
-- A complex-valued signed number
type complex...
Altera_Forum
Honored Contributor
12 years agoI just found that records with unconstrained elements is not supported in Quartus 14.0...I had high hopes since arrays of unconstraned elements is supported.
In VHDL-2008 record elements can be constrained while defining signals of the type. Hopefully this will be supported soon...
TYPE record_type_t IS RECORD
data : STD_LOGIC_VECTOR;
enable : STD_LOGIC;
END RECORD;
SIGNAL a_record : record_type_t(data(7 DOWNTO 0));
SIGNAL b_record : record_type_t(data(6 DOWNTO 0));