diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-26 12:58:46 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-26 12:58:46 +0100 |
commit | 643f13aab1704494ceee79c3d8e0ac65b75ea2a1 (patch) | |
tree | fd2b9327b88f56132595dda3f6c8c8d688424a2d /src/synth/synth-expr.ads | |
parent | 0d36b145f729e5a72822e8f881cb23620a8ffe52 (diff) | |
download | ghdl-643f13aab1704494ceee79c3d8e0ac65b75ea2a1.tar.gz ghdl-643f13aab1704494ceee79c3d8e0ac65b75ea2a1.tar.bz2 ghdl-643f13aab1704494ceee79c3d8e0ac65b75ea2a1.zip |
synth-expr: handle any object for array attributes.
Diffstat (limited to 'src/synth/synth-expr.ads')
-rw-r--r-- | src/synth/synth-expr.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-expr.ads b/src/synth/synth-expr.ads index c5969b483..eee5f1d4d 100644 --- a/src/synth/synth-expr.ads +++ b/src/synth/synth-expr.ads @@ -118,6 +118,11 @@ package Synth.Expr is Off : out Uns32; W : out Width); + -- Return the type of EXPR (an object) without evaluating it (except when + -- needed, like bounds of a slice). + function Synth_Type_Of_Object (Syn_Inst : Synth_Instance_Acc; Expr : Node) + return Type_Acc; + -- Conversion to logic vector. type Logic_32 is record |