diff options
Diffstat (limited to 'src/vhdl/translate/trans-chap9.adb')
-rw-r--r-- | src/vhdl/translate/trans-chap9.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vhdl/translate/trans-chap9.adb b/src/vhdl/translate/trans-chap9.adb index 4e64907d8..89bc687d5 100644 --- a/src/vhdl/translate/trans-chap9.adb +++ b/src/vhdl/translate/trans-chap9.adb @@ -200,8 +200,7 @@ package body Trans.Chap9 is Assoc := Get_Port_Map_Aspect_Chain (Inst); Inter := Get_Port_Chain (Ports); while Assoc /= Null_Iir loop - if Get_Kind (Assoc) = Iir_Kind_Association_Element_By_Expression - then + if Get_Kind (Assoc) = Iir_Kind_Association_Element_By_Name then declare Act_Conv : constant Iir := Get_Actual_Conversion (Assoc); Act_Type : constant Iir := Get_Type (Get_Actual (Assoc)); |