diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-07-28 20:27:03 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-07-28 20:27:57 +0200 |
commit | 81e426a6d34e71c9f171673d33fcf16c250f060e (patch) | |
tree | 0f5dca5c6656214d1f0d902139f092efeebbe08e /src/vhdl | |
parent | b2ce3ad7385a6d3c3ddb4017f1418b60c83042c4 (diff) | |
download | ghdl-81e426a6d34e71c9f171673d33fcf16c250f060e.tar.gz ghdl-81e426a6d34e71c9f171673d33fcf16c250f060e.tar.bz2 ghdl-81e426a6d34e71c9f171673d33fcf16c250f060e.zip |
synth: unconstrained arrays.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-annotations.adb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |