The previously described issue is indeed trivial. Please see the attached patch.
But after the successful compilation of ghdl, programs compiled with ghdl crash:
#0 0x000000000040cadb in ieee__std_logic_1164__ELAB_BODY ()
#1 0x000000000042b642 in work__spi_16_top_tb__PKG_ELAB ()
#2 0x0000000000402bd9 in __ghdl_ELABORATE ()
#3 0x000000000044419f in grt__main__ghdl_elaborate_wrapper ()
#4 0x000000000043fb70 in __ghdl_run_through_longjump ()
#5 0x0000000000444233 in grt__main__run ()
#6 0x000000000044250f in ghdl_main ()
#7 0x000000000043fc6a in main ()
Regards,
Andrey
---
libraries/std/textio_body.vhdl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/libraries/std/textio_body.vhdl
+++ b/libraries/std/textio_body.vhdl
@@ -83,7 +83,7 @@ package body textio is
end case;
end is_Whitespace;
- procedure writeline (f: out text; l: inout line) is --V87
+ procedure writeline (variable f: out text; l: inout line) is --V87
procedure writeline (file f: text; l: inout line) is --V93
begin
if l = null then
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss