Hi,
I have found the problem (I think). The problem occurs when I am using
variable such like that :

variable_foo := '1';
if foo = '0' then
        variable_foo := '0';
end if;
=> doesn't work
The simulation stopped at the beginning with "invalid memory access"


if foo = '0' then
        variable_foo := '0';
else
        variable_foo := '1';
end if;
=> work

BUT this code isn't in initialisation code.

Thanks


2011/2/2 <[email protected]>

> On Wed, 2 Feb 2011 09:39:09 +0100, Benjamin BRAGA <
> [email protected]> wrote:
>
>> Hi,
>> I have some trouble using ghdl sometime when I try to simulate a
>> design using this command "ghdl -r ...", I have this error just at the
>> beginning of the simulation :
>>
>>  ghdl:error: invalid memory access (dangling accesses or stack size
>> too small)
>> ghdl:error: simulation failed
>>
>> Can you explain please ?
>>
>
> it might have something to do with your initialisation code,
> can you provide a minimal source code that exhibits this behaviour ?
>
>  Thanks
>> Regards,
>> Benjamin BRAGA
>>
> yg
>
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss
>
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to