Hi all

> case stdvector8bits(1 downto 0) is
>          when "00"  =>
>              <some code>
>          .
>          .
>          .
>          when others =>
>               <some code>
> end case;

> when I compile this file, ghdl shows this error message:
> "object subtype is not locally static"
> In the above example, stdvector8bits is a std_logic_vector (7 downto 0).

this is a long standing issue in GHDL. You can resolve this by  
refactoring your code, but it is not the best solution.

I have to lookup the standard on this, but my sense that the slice of  
static object should be static as well.

I am talking about VHDL'93, is this resolved in VHDL-2002? (i would  
ask about VHDL-2008 but its support is work-in-progress for more-less  
everyone).

Kind regards
Nikolaos Kavvadias




_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to