aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r--src/synth/synth-decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb
index 003505bc6..81d8a20c9 100644
--- a/src/synth/synth-decls.adb
+++ b/src/synth/synth-decls.adb
@@ -199,7 +199,7 @@ package body Synth.Decls is
W : Width;
begin
W := Uns32 (Clog2 (Uns64 (Nbr_El)));
- Rng := (Dir => Iir_To,
+ Rng := (Dir => Dir_To,
Is_Signed => False,
Left => 0,
Right => Int64 (Nbr_El - 1));