aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/trans-chap4.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/translate/trans-chap4.adb')
-rw-r--r--src/vhdl/translate/trans-chap4.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans-chap4.adb b/src/vhdl/translate/trans-chap4.adb
index 3e7f18b75..9634fbe57 100644
--- a/src/vhdl/translate/trans-chap4.adb
+++ b/src/vhdl/translate/trans-chap4.adb
@@ -1732,6 +1732,8 @@ package body Trans.Chap4 is
Chap2.Translate_Package_Declaration (Decl);
when Iir_Kind_Package_Body =>
Chap2.Translate_Package_Body (Decl);
+ when Iir_Kind_Package_Instantiation_Declaration =>
+ Chap2.Translate_Package_Instantiation_Declaration (Decl);
when Iir_Kind_Group_Template_Declaration =>
null;
@@ -2367,6 +2369,9 @@ package body Trans.Chap4 is
when Iir_Kind_Protected_Type_Body =>
Chap3.Translate_Protected_Type_Body (El);
Chap3.Translate_Protected_Type_Body_Subprograms (El);
+ when Iir_Kind_Package_Declaration
+ | Iir_Kind_Package_Body =>
+ Translate_Declaration_Chain_Subprograms (El);
when others =>
null;
end case;