aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-07 20:48:24 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-07 20:48:24 +0200
commitcbca4e13e4c045aa4135a5375165d68ba527b63f (patch)
tree851b4c09bda99636b0098a4304e98596db78939c /src/synth/synth-decls.ads
parent0ed7faecf056394561daaeb67250a4177f1829e6 (diff)
downloadghdl-cbca4e13e4c045aa4135a5375165d68ba527b63f.tar.gz
ghdl-cbca4e13e4c045aa4135a5375165d68ba527b63f.tar.bz2
ghdl-cbca4e13e4c045aa4135a5375165d68ba527b63f.zip
synth: handle vhdl-08 ports. Fix ghdl/ghdl-yosys-plugin#111
Diffstat (limited to 'src/synth/synth-decls.ads')
-rw-r--r--src/synth/synth-decls.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-decls.ads b/src/synth/synth-decls.ads
index 68b7fea08..9aae21e2a 100644
--- a/src/synth/synth-decls.ads
+++ b/src/synth/synth-decls.ads
@@ -28,6 +28,9 @@ package Synth.Decls is
-- subtype).
function Get_Declaration_Type (Decl : Node) return Node;
+ -- True if the element subtype indication of ATYPE needs to be created.
+ function Has_Element_Subtype_Indication (Atype : Node) return Boolean;
+
function Synth_Array_Subtype_Indication
(Syn_Inst : Synth_Instance_Acc; Atype : Node) return Type_Acc;