Remillard / VHDL-Mode

A package for Sublime Text that aids coding in the VHDL language.
MIT License
40 stars 10 forks source link

Function scoping return value doesn't recognize to/downto #109

Closed Remillard closed 5 years ago

Remillard commented 5 years ago

This line doesn't render correctly:

        function convert(addr_in : natural) return std_logic_vector(15 downto 0) is
Remillard commented 5 years ago

Though maybe it's okay. Compilation didn't like it either, said I couldn't have a subtype mark.

Remillard commented 5 years ago

Duplicate of #89

Remillard commented 5 years ago

I think this is okay. The LRM defines the return value as type_mark or subtype_mark. I don't believe this includes vector indicies. Going to close this for now.