aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-12-18 17:16:57 +0100
committerTristan Gingold <tgingold@free.fr>2022-12-18 17:16:57 +0100
commitc0095f3f0c37a2db4d56dc289854252e2e6e67d4 (patch)
tree6fa51ee45d62cd7af1d181bda4495d00ccb6b484 /src/vhdl/vhdl-sem_decls.adb
parentb4f09236ad974a133318d17a8487b36ebc35a78c (diff)
downloadghdl-c0095f3f0c37a2db4d56dc289854252e2e6e67d4.tar.gz
ghdl-c0095f3f0c37a2db4d56dc289854252e2e6e67d4.tar.bz2
ghdl-c0095f3f0c37a2db4d56dc289854252e2e6e67d4.zip
vhdl-sem_inst: add instantiate_interface_package_declaration
Diffstat (limited to 'src/vhdl/vhdl-sem_decls.adb')
-rw-r--r--src/vhdl/vhdl-sem_decls.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_decls.adb b/src/vhdl/vhdl-sem_decls.adb
index a9c686707..974cc21d8 100644
--- a/src/vhdl/vhdl-sem_decls.adb
+++ b/src/vhdl/vhdl-sem_decls.adb
@@ -517,7 +517,9 @@ package body Vhdl.Sem_Decls is
-- Not yet fully supported - need to check the instance.
end if;
- Sem_Inst.Instantiate_Package_Declaration (Inter, Pkg);
+ -- Create generics and declarations for the interface package so that
+ -- references are resolved to those declarations.
+ Sem_Inst.Instantiate_Interface_Package_Declaration (Inter, Pkg);
Sem_Scopes.Add_Name (Inter);
Set_Is_Within_Flag (Inter, True);