aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-24 20:15:54 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 06:59:31 +0200
commit010aca1966eeb260529041d209d69a92654465f8 (patch)
treec6ee61df644a096924bcdbe1de0f4dd325dcd4b0 /src/synth/synth-decls.ads
parentce6232cf23bf794e5b8df88a5e7c0eed5408b3e0 (diff)
downloadghdl-010aca1966eeb260529041d209d69a92654465f8.tar.gz
ghdl-010aca1966eeb260529041d209d69a92654465f8.tar.bz2
ghdl-010aca1966eeb260529041d209d69a92654465f8.zip
synth: rework type for expression.
Diffstat (limited to 'src/synth/synth-decls.ads')
-rw-r--r--src/synth/synth-decls.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/synth-decls.ads b/src/synth/synth-decls.ads
index dda550ed9..c76fe1d61 100644
--- a/src/synth/synth-decls.ads
+++ b/src/synth/synth-decls.ads
@@ -20,12 +20,16 @@
with Vhdl.Nodes; use Vhdl.Nodes;
with Synth.Context; use Synth.Context;
+with Synth.Values; use Synth.Values;
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;
+ function Synth_Array_Subtype_Indication
+ (Syn_Inst : Synth_Instance_Acc; Atype : Node) return Type_Acc;
+
procedure Synth_Subtype_Indication
(Syn_Inst : Synth_Instance_Acc; Atype : Node);