From 26353d25ad3eead54a5143df0f0298f142911670 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 15 Sep 2022 03:13:52 +0200 Subject: synth: handle vhdl-87 files --- src/synth/synth-vhdl_stmts.adb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/synth') diff --git a/src/synth/synth-vhdl_stmts.adb b/src/synth/synth-vhdl_stmts.adb index ad7382da9..45de83118 100644 --- a/src/synth/synth-vhdl_stmts.adb +++ b/src/synth/synth-vhdl_stmts.adb @@ -1967,6 +1967,12 @@ package body Synth.Vhdl_Stmts is Copy_Memory (Val.Val.Mem, Info.Obj.Val.Mem + Info.Off.Mem_Off, Info.Targ_Type.Sz); + elsif Info.Kind = Target_Simple + and then Info.Obj.Val.Kind = Value_File + then + -- For vhdl-87 + Val := Create_Value_File + (Info.Targ_Type, Info.Obj.Val.File, Instance_Pool); else Val := Synth_Read (Caller_Inst, Info, Assoc); Val := Unshare (Val, Instance_Pool); -- cgit v1.2.3