Tristan,
thanks to Michel Agoyan proposition I found the origin of the crash:
There is a problem with not initialized string generics
You can find a very simplified test-bench that show the problem in
attachment
entity bug is
generic (null_string : string);
end;
architecture empty of bug is
begin
end;
all:
ghdl -a -g bug.vhd
ghdl -a -g testbench.vhd
ghdl -e -g testbench
gdb --args ./testbench
entity testbench is
end entity;
architecture simplified of testbench is
begin
rom:entity work.bug; -- CRASH
--rom:entity work.bug generic map( null_string=> "aaa"); -- WORKS
end architecture;
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss