aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-04 18:52:35 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-04 18:52:35 +0100
commitcde20d1471c25e3fb4b38ffb48e9972412c09ca5 (patch)
treefe2a9f51d34a6dc9cf9fae954a988c6e598075be /src
parent04874392cb60b4d35d3f80c5c38f3af448f674ed (diff)
downloadghdl-cde20d1471c25e3fb4b38ffb48e9972412c09ca5.tar.gz
ghdl-cde20d1471c25e3fb4b38ffb48e9972412c09ca5.tar.bz2
ghdl-cde20d1471c25e3fb4b38ffb48e9972412c09ca5.zip
synth-value: export get_bound_length.
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-values.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-values.ads b/src/synth/synth-values.ads
index 93c3d530e..80ddbc210 100644
--- a/src/synth/synth-values.ads
+++ b/src/synth/synth-values.ads
@@ -309,6 +309,9 @@ package Synth.Values is
-- sub-elements.
function Get_Array_Flat_Length (Typ : Type_Acc) return Width;
+ -- Return length of dimension DIM of type T.
+ function Get_Bound_Length (T : Type_Acc; Dim : Iir_Index32) return Width;
+
function Is_Matching_Bounds (L, R : Type_Acc) return Boolean;
function Get_Type_Width (Atype : Type_Acc) return Width;