From 1541c5d742f5860dfff92c12de11415b94ee0709 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Tue, 12 Jul 2022 14:59:31 -0400 Subject: Fix access check failed from iir_kind_selected_element (#2132) --- src/synth/synth-vhdl_expr.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/synth/synth-vhdl_expr.adb b/src/synth/synth-vhdl_expr.adb index 26555ff4d..f4cea4eaf 100644 --- a/src/synth/synth-vhdl_expr.adb +++ b/src/synth/synth-vhdl_expr.adb @@ -2230,6 +2230,7 @@ package body Synth.Vhdl_Expr is when Iir_Kind_High_Array_Attribute | Iir_Kind_Low_Array_Attribute | Iir_Kind_Indexed_Name + | Iir_Kind_Selected_Element | Iir_Kind_Integer_Literal => -- For array attributes: the type is the type of the index, which -- is not synthesized as a type (only as an index). -- cgit v1.2.3