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 eb8d6b124..71adc953d 100644
--- a/src/synth/elab-vhdl_insts.adb
+++ b/src/synth/elab-vhdl_insts.adb
@@ -518,6 +518,8 @@ package body Elab.Vhdl_Insts is
Entity := Get_Entity (Arch);
Apply_Block_Configuration (Config, Arch);
+ Elab.Vhdl_Files.Set_Design_Unit (Arch);
+
Elab_Declarations (Syn_Inst, Get_Declaration_Chain (Entity));
Elab_Concurrent_Statements
(Syn_Inst, Get_Concurrent_Statement_Chain (Entity));