diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/simulate/simul-annotations.adb | 3 | ||||
-rw-r--r-- | src/vhdl/simulate/simul-elaboration.adb | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/vhdl/simulate/simul-annotations.adb b/src/vhdl/simulate/simul-annotations.adb index 879ca0470..920501744 100644 --- a/src/vhdl/simulate/simul-annotations.adb +++ b/src/vhdl/simulate/simul-annotations.adb @@ -460,7 +460,8 @@ package body Simul.Annotations is Create_Object_Info (Block_Info, Decl); when Iir_Kind_Interface_Package_Declaration => Annotate_Interface_Package_Declaration (Block_Info, Decl); - when Iir_Kinds_Interface_Subprogram_Declaration => + when Iir_Kinds_Interface_Subprogram_Declaration + | Iir_Kind_Interface_Type_Declaration => -- Macro-expanded null; when others => diff --git a/src/vhdl/simulate/simul-elaboration.adb b/src/vhdl/simulate/simul-elaboration.adb index 52024833b..21ec74a19 100644 --- a/src/vhdl/simulate/simul-elaboration.adb +++ b/src/vhdl/simulate/simul-elaboration.adb @@ -1077,7 +1077,8 @@ package body Simul.Elaboration is -- to determine the value of the constant. when Iir_Kind_Interface_Package_Declaration => Create_Object (Instance, Get_Info (Decl).Pkg_Slot); - when Iir_Kinds_Interface_Subprogram_Declaration => + when Iir_Kinds_Interface_Subprogram_Declaration + | Iir_Kind_Interface_Type_Declaration => -- Macro-expanded. null; when others => @@ -1179,7 +1180,8 @@ package body Simul.Elaboration is end; goto Continue; - when Iir_Kind_Association_Element_Subprogram => + when Iir_Kind_Association_Element_Subprogram + | Iir_Kind_Association_Element_Type => goto Continue; when others => Error_Kind ("elaborate_generic_map_aspect", Assoc); |