You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description:
Hi guys, the following errors are reported for the snippet below: Expected '{identifier}' and Expected 'library', 'use', 'context', 'entity', 'architecture', 'configuration' or 'package'
It seems to be that VHDL LS doesn't allow arrays be indexed when they're used as a type identifier. With the error itself I can live with but it also breaks the entire hovering over labels and stops to produce warning other stuffs.
The code works with Questa Sim 2022.4.
Code to reproduce the error:
type test_arr_t isarray (naturalrange<>) ofstd_logic_vector(3downto0);
signal test_arr_sig: test_arr_t(3downto0);
signal test_sig: test_arr_sig(0)'subtype:= (others=>'0');