aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-values.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-22 20:40:39 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-22 20:40:39 +0200
commit5819a01f0b175002ed79b6ed5b42ed296b39f239 (patch)
treed2fd98a9b2e91ed7503b9884d8b336c36d751deb /src/synth/synth-values.ads
parentb67d934541336238f66556d8f861f972c288c131 (diff)
downloadghdl-5819a01f0b175002ed79b6ed5b42ed296b39f239.tar.gz
ghdl-5819a01f0b175002ed79b6ed5b42ed296b39f239.tar.bz2
ghdl-5819a01f0b175002ed79b6ed5b42ed296b39f239.zip
synth: introduce type_unbounded_vector.
Diffstat (limited to 'src/synth/synth-values.ads')
-rw-r--r--src/synth/synth-values.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/synth-values.ads b/src/synth/synth-values.ads
index 81565e1fc..5c5c35e97 100644
--- a/src/synth/synth-values.ads
+++ b/src/synth/synth-values.ads
@@ -76,6 +76,7 @@ package Synth.Values is
Type_Discrete,
Type_Float,
Type_Vector,
+ Type_Unbounded_Vector,
-- A slice is for a slice of vector with dynamic bounds. So the bounds
-- of the result aren't known, but its width is.
@@ -112,6 +113,8 @@ package Synth.Values is
when Type_Vector =>
Vbound : Bound_Type;
Vec_El : Type_Acc;
+ when Type_Unbounded_Vector =>
+ Uvec_El : Type_Acc;
when Type_Slice =>
Slice_El : Type_Acc;
when Type_Array =>
@@ -219,6 +222,7 @@ package Synth.Values is
return Type_Acc;
function Create_Vector_Type (Bnd : Bound_Type; El_Type : Type_Acc)
return Type_Acc;
+ function Create_Unbounded_Vector (El_Type : Type_Acc) return Type_Acc;
function Create_Slice_Type (W : Width; El_Type : Type_Acc) return Type_Acc;
function Create_Bound_Array (Ndims : Iir_Index32) return Bound_Array_Acc;
function Create_Array_Type (Bnd : Bound_Array_Acc; El_Type : Type_Acc)