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.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vhdl/translate/trans-chap4.adb b/src/vhdl/translate/trans-chap4.adb
index 3fa188df4..e59e7945c 100644
--- a/src/vhdl/translate/trans-chap4.adb
+++ b/src/vhdl/translate/trans-chap4.adb
@@ -269,8 +269,7 @@ package body Trans.Chap4 is
procedure Create_Package_Interface (Inter : Iir)
is
- Pkg : constant Iir := Get_Named_Entity
- (Get_Uninstantiated_Package_Name (Inter));
+ Pkg : constant Iir := Get_Uninstantiated_Package_Decl (Inter);
Pkg_Info : constant Ortho_Info_Acc := Get_Info (Pkg);
Info : Ortho_Info_Acc;
begin