aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-25 18:33:33 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-25 18:33:33 +0200
commit6ae18fae5b91fe4d8fb955aa07d35122d6606977 (patch)
tree5585777ba9fdcbb158c81706976f68be7f13d2eb /src/synth/synth-expr.ads
parentcd012609781465b65bbe3b1ef8e1fe4fa9c8398d (diff)
downloadghdl-6ae18fae5b91fe4d8fb955aa07d35122d6606977.tar.gz
ghdl-6ae18fae5b91fe4d8fb955aa07d35122d6606977.tar.bz2
ghdl-6ae18fae5b91fe4d8fb955aa07d35122d6606977.zip
synth: handle slice assignment.
Diffstat (limited to 'src/synth/synth-expr.ads')
-rw-r--r--src/synth/synth-expr.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-expr.ads b/src/synth/synth-expr.ads
index 1f4cf3ee2..21758b797 100644
--- a/src/synth/synth-expr.ads
+++ b/src/synth/synth-expr.ads
@@ -55,4 +55,9 @@ package Synth.Expr is
function Index_To_Offset (Pfx : Value_Acc; Idx : Int64; Loc : Node)
return Uns32;
+ procedure Synth_Slice_Suffix (Syn_Inst : Synth_Instance_Acc;
+ Name : Node;
+ Pfx_Bnd : Value_Bound_Acc;
+ Res_Bnd : out Value_Bound_Acc;
+ Off : out Uns32);
end Synth.Expr;