diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-01-13 19:08:58 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-01-13 19:08:58 +0100 |
commit | 1cd6d5aa0563c31b257b6bd9a73c49f72f3638a6 (patch) | |
tree | 1b4cc3ef6a8684e2005d80f1d19ac63f2268f1d4 /src/synth/synth-values.adb | |
parent | 48507cf59e5490af0125e483ef77ad4d0dec4177 (diff) | |
download | ghdl-1cd6d5aa0563c31b257b6bd9a73c49f72f3638a6.tar.gz ghdl-1cd6d5aa0563c31b257b6bd9a73c49f72f3638a6.tar.bz2 ghdl-1cd6d5aa0563c31b257b6bd9a73c49f72f3638a6.zip |
synth: remove wbound field of bound_type.
Diffstat (limited to 'src/synth/synth-values.adb')
-rw-r--r-- | src/synth/synth-values.adb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/synth/synth-values.adb b/src/synth/synth-values.adb index 9eb6c324c..70569d6a6 100644 --- a/src/synth/synth-values.adb +++ b/src/synth/synth-values.adb @@ -300,12 +300,9 @@ package body Synth.Values is end Create_Slice_Type; function Create_Vec_Type_By_Length (Len : Width; El : Type_Acc) - return Type_Acc - is - W : constant Width := Uns32 (Clog2 (Uns64 (Len))); + return Type_Acc is begin return Create_Vector_Type ((Dir => Iir_Downto, - Wbounds => W, Left => Int32 (Len) - 1, Right => 0, Len => Len), |