diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-08-25 04:12:17 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-08-25 04:12:17 +0200 |
commit | d340440584e3b60d11ec4ac88b34b3ed0dd25d5e (patch) | |
tree | 7e30e3e4f460b8b68e31640b6b8a224d61413024 /src/synth/elab-vhdl_types.ads | |
parent | 1ac09fc1b9344b41054f1f86263f768e526a6e7f (diff) | |
download | ghdl-d340440584e3b60d11ec4ac88b34b3ed0dd25d5e.tar.gz ghdl-d340440584e3b60d11ec4ac88b34b3ed0dd25d5e.tar.bz2 ghdl-d340440584e3b60d11ec4ac88b34b3ed0dd25d5e.zip |
synth: handle type left/right attributes
Diffstat (limited to 'src/synth/elab-vhdl_types.ads')
-rw-r--r-- | src/synth/elab-vhdl_types.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_types.ads b/src/synth/elab-vhdl_types.ads index afab9e494..5f8bbab0e 100644 --- a/src/synth/elab-vhdl_types.ads +++ b/src/synth/elab-vhdl_types.ads @@ -37,6 +37,10 @@ package Elab.Vhdl_Types is function Synth_Array_Attribute (Syn_Inst : Synth_Instance_Acc; Attr : Node) return Bound_Type; + -- Return the type for 'left/'right/... attributes. + function Synth_Type_Attribute (Syn_Inst : Synth_Instance_Acc; Attr : Node) + return Type_Acc; + procedure Synth_Discrete_Range (Syn_Inst : Synth_Instance_Acc; Bound : Node; Rng : out Discrete_Range_Type); |