aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-canon.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-canon.adb')
-rw-r--r--src/vhdl/vhdl-canon.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-canon.adb b/src/vhdl/vhdl-canon.adb
index 0ff2fdc18..d7865104a 100644
--- a/src/vhdl/vhdl-canon.adb
+++ b/src/vhdl/vhdl-canon.adb
@@ -2437,6 +2437,15 @@ package body Vhdl.Canon is
Set_Binding_Indication (Cfg, Bind);
Set_Is_Ref (Cfg, True);
Add_Binding_Indication_Dependence (Top, Bind);
+ if Is_Config then
+ Entity_Aspect := Get_Entity_Aspect (Bind);
+ Entity := Get_Entity_From_Entity_Aspect (Entity_Aspect);
+ Sem_Specs.Sem_Check_Missing_Generic_Association
+ (Get_Generic_Chain (Entity),
+ Get_Generic_Map_Aspect_Chain (Bind),
+ Null_Iir,
+ Cfg);
+ end if;
return;
else
Entity_Aspect := Get_Entity_Aspect (Bind);