diff options
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r-- | src/synth/synth-decls.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb index 9c3ead57a..41da02795 100644 --- a/src/synth/synth-decls.adb +++ b/src/synth/synth-decls.adb @@ -198,10 +198,10 @@ package body Synth.Decls is W : Width; begin W := Uns32 (Clog2 (Uns64 (Nbr_El))); - Rng := (Dir => Iir_Downto, + Rng := (Dir => Iir_To, Is_Signed => False, - Left => Int64 (Nbr_El - 1), - Right => 0); + Left => 0, + Right => Int64 (Nbr_El - 1)); Typ := Create_Discrete_Type (Rng, Scalar_Size_To_Size (Def), W); end; |