diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-06 06:58:39 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-06 09:16:19 +0200 |
commit | 3b80a2e5a9545422e9808f6f3b3f9c4a2421433b (patch) | |
tree | 22ea684d58cd77e94b780e8e5c9499c3c67fbac1 /src/vhdl/translate/trans-chap9.adb | |
parent | ece6e78f537b4f16b020d2eb258038d00a794559 (diff) | |
download | ghdl-3b80a2e5a9545422e9808f6f3b3f9c4a2421433b.tar.gz ghdl-3b80a2e5a9545422e9808f6f3b3f9c4a2421433b.tar.bz2 ghdl-3b80a2e5a9545422e9808f6f3b3f9c4a2421433b.zip |
vhdl: introduce iir_kind_association_element_by_name
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)); |