aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-vhdl_stmts.adb6
1 files changed, 6 insertions, 0 deletions
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);