aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-04 18:22:40 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-04 18:22:40 +0200
commit3ba26e2631c3a8d5b668c25f4b9f043f0b0eaa0c (patch)
tree3edc1c819c7cbd342468e95ef16e78b132dfb630 /src/synth/synth-decls.adb
parentd6cda1098e82a15bb905235c46992cd7de9bb690 (diff)
downloadghdl-3ba26e2631c3a8d5b668c25f4b9f043f0b0eaa0c.tar.gz
ghdl-3ba26e2631c3a8d5b668c25f4b9f043f0b0eaa0c.tar.bz2
ghdl-3ba26e2631c3a8d5b668c25f4b9f043f0b0eaa0c.zip
vhdl-annotations: partial revert of previous patch for
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r--src/synth/synth-decls.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb
index 688f67a4e..e819ac116 100644
--- a/src/synth/synth-decls.adb
+++ b/src/synth/synth-decls.adb
@@ -33,7 +33,6 @@ with Vhdl.Annotations; use Vhdl.Annotations;
package body Synth.Decls is
procedure Synth_Anonymous_Subtype_Indication
(Syn_Inst : Synth_Instance_Acc; Atype : Node);
- pragma Unreferenced (Synth_Anonymous_Subtype_Indication);
procedure Create_Var_Wire
(Syn_Inst : Synth_Instance_Acc; Decl : Iir; Init : Value_Acc)
@@ -114,6 +113,8 @@ package body Synth.Decls is
-- The elaboration of an index constraint consists of the
-- declaration of each of the discrete ranges in the index
-- constraint in some order that is not defined by the language.
+ Synth_Anonymous_Subtype_Indication
+ (Syn_Inst, Get_Element_Subtype (Atype));
declare
St_Indexes : constant Iir_Flist :=
Get_Index_Subtype_List (Atype);