diff options
Diffstat (limited to 'src/synth/synth-decls.ads')
-rw-r--r-- | src/synth/synth-decls.ads | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synth/synth-decls.ads b/src/synth/synth-decls.ads index 0a5590b35..aaae102c3 100644 --- a/src/synth/synth-decls.ads +++ b/src/synth/synth-decls.ads @@ -22,6 +22,13 @@ with Vhdl.Nodes; use Vhdl.Nodes; with Synth.Context; use Synth.Context; package Synth.Decls is + -- Get the type of DECL iff it is standalone (not an already existing + -- subtype). + function Get_Declaration_Type (Decl : Node) return Node; + + procedure Synth_Subtype_Indication + (Syn_Inst : Synth_Instance_Acc; Atype : Node); + -- Elaborate the type of DECL. procedure Synth_Declaration_Type (Syn_Inst : Synth_Instance_Acc; Decl : Node); |