Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- no idea. we're on 11 sp1 now, and I guess 11.1 and 12.0 will be released first. so don't expect anything anytime soon. best to raise an issue on mysupport asking them this question. yes that is true. but one of the parts of vhdl 2008 that quartus does support now is unconstrained arrays and records. so you can declare records like this:
type my_record_t is record
a : std_logic_vector;
b : unsigned;
--etc
end record
......
signal a : my_record_t( a( N-1 downto 0), b( X-1 downto 0), ... );
so you declare the type in a package and use generics to set the sizes on a per entity basis. --- Quote End --- Thanks. I did try that just now, however quartus fails (record element cannot have an unconstrained array type) on the record definition: type my_record_t is record
a : std_logic_vector;
end record; I did put the following compiler directive in the file to let quartus know it's VHDL 2008: --synthesis VHDL_INPUT_VERSION VHDL_2008 That should be ok, right? Any hints on that, do you have a short example that compiles? Thanks, T