diff options
-rw-r--r-- | src/vhdl/vhdl-canon.adb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-canon.adb b/src/vhdl/vhdl-canon.adb index 50bad4ce8..4694c0d36 100644 --- a/src/vhdl/vhdl-canon.adb +++ b/src/vhdl/vhdl-canon.adb @@ -2926,7 +2926,12 @@ package body Vhdl.Canon is null; when Iir_Kind_Function_Instantiation_Declaration | Iir_Kind_Procedure_Instantiation_Declaration => - null; + -- Canon map aspect. + Set_Generic_Map_Aspect_Chain + (Decl, + Canon_Association_Chain_And_Actuals + (Get_Generic_Chain (Decl), + Get_Generic_Map_Aspect_Chain (Decl), Decl)); when Iir_Kind_Type_Declaration => declare |