On Tue, May 26, 2009 at 05:22:41PM +0200, Thomas Sailer wrote:
> in: 
> procedure read (l: inout line; value: out string; good: out boolean) 
> 
> When l is (a pointer to) string(1 to 1) (eg. after write(l, a
> character)), and then I am trying to read a string of one character from
> l, I get a runtime error. 
> 
> The reason is that because l'left < l'right is false (l'ascending cannot
> be used, since ascending does not exist in VHDL-87), value := l (1
> downto 1) further down, which fails, because the array direction is to
> (and not downto). 

Hi,

thank you for the report.  This looks like a bug.  I will re-read the code
as I'd like to avoid an additional 'if'.

Tristan.

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

Reply via email to