aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/elab-vhdl_decls.adb')
-rw-r--r--src/synth/elab-vhdl_decls.adb10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_decls.adb b/src/synth/elab-vhdl_decls.adb
index 111e8f667..33aa08560 100644
--- a/src/synth/elab-vhdl_decls.adb
+++ b/src/synth/elab-vhdl_decls.adb
@@ -313,8 +313,18 @@ package body Elab.Vhdl_Decls is
null;
when Iir_Kind_File_Declaration =>
Elab_File_Declaration (Syn_Inst, Decl);
+
when Iir_Kind_Package_Instantiation_Declaration =>
Vhdl_Insts.Elab_Package_Instantiation (Syn_Inst, Decl);
+ when Iir_Kind_Package_Declaration =>
+ Vhdl_Insts.Elab_Package_Declaration (Syn_Inst, Decl);
+ when Iir_Kind_Package_Body =>
+ declare
+ Spec : constant Node := Get_Package (Decl);
+ begin
+ Vhdl_Insts.Elab_Package_Body (Syn_Inst, Spec, Decl);
+ end;
+
when Iir_Kind_Protected_Type_Body =>
null;
when Iir_Kind_Psl_Default_Clock =>