aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-oper.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb
index 7baa45841..d50ca1862 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -921,7 +921,8 @@ package body Synth.Oper is
Arg_Net := Get_Net (Arg);
return Create_Value_Net
(Synth_Uresize (Arg_Net, Uns32 (Size.Scal), Expr),
- Create_Res_Bound (Arg, Arg_Net));
+ Create_Vec_Type_By_Length (Uns32 (Size.Scal),
+ Logic_Type));
end if;
end if;
end;