On Thu, Dec 24, 2009 at 12:29:49PM +0200, [email protected] wrote: > 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.
No, this is an issue in VHDL: a slice is never is locally static expression. I plan to make it one when using --std=93c. Tristan. > 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). _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
