From 81e426a6d34e71c9f171673d33fcf16c250f060e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 28 Jul 2019 20:27:03 +0200 Subject: synth: unconstrained arrays. --- src/vhdl/vhdl-annotations.adb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vhdl/vhdl-annotations.adb') diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb index 75382cc5f..d61117bb4 100644 --- a/src/vhdl/vhdl-annotations.adb +++ b/src/vhdl/vhdl-annotations.adb @@ -378,6 +378,9 @@ package body Vhdl.Annotations is when Iir_Kind_Array_Type_Definition => El := Get_Element_Subtype (Def); Annotate_Anonymous_Type_Definition (Block_Info, El); + if Flag_Synthesis then + Create_Object_Info (Block_Info, Def, Kind_Type); + end if; when Iir_Kind_Array_Subtype_Definition => if Get_Array_Element_Constraint (Def) /= Null_Node then -- cgit v1.2.3