aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_insts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/elab-vhdl_insts.adb')
-rw-r--r--src/synth/elab-vhdl_insts.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_insts.adb b/src/synth/elab-vhdl_insts.adb
index 25984a8fa..ac60a49f9 100644
--- a/src/synth/elab-vhdl_insts.adb
+++ b/src/synth/elab-vhdl_insts.adb
@@ -1042,6 +1042,8 @@ package body Elab.Vhdl_Insts is
pragma Assert (Is_Expr_Pool_Empty);
+ Top_Instance := Top_Inst;
+
Elab_Instance_Body (Top_Inst);
pragma Assert (Areapools.Is_Empty (Expr_Pool));