aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synthesis.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synthesis.adb')
-rw-r--r--src/synth/synthesis.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synthesis.adb b/src/synth/synthesis.adb
index a854c34cc..13371b122 100644
--- a/src/synth/synthesis.adb
+++ b/src/synth/synthesis.adb
@@ -63,7 +63,7 @@ package body Synthesis is
if Parent_Inst /= Global_Instance then
Create_Object (Parent_Inst, Pkg, Val);
else
- Parent_Inst.Objects (Info.Pkg_Slot) := Val;
+ Create_Package_Object (Parent_Inst, Pkg, Val);
end if;
Synth_Declarations (Syn_Inst, Get_Declaration_Chain (Pkg));
if Pkg = Vhdl.Std_Package.Standard_Package then