From c742f92ae4a1f8363a3a9df34f7ba3f251b3c971 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 29 Mar 2020 09:01:19 +0200 Subject: synth: add one more operation (or_reduce for suv). --- src/synth/synth-oper.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/synth') diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index d6a425bb0..08892424d 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -1575,7 +1575,8 @@ package body Synth.Oper is when Iir_Predefined_Ieee_Numeric_Std_Max_Int_Sgn => return Synth_Dyadic_Int_Sgn (Id_Smax, L, R, Expr); - when Iir_Predefined_Ieee_Std_Logic_Misc_Or_Reduce_Slv => + when Iir_Predefined_Ieee_Std_Logic_Misc_Or_Reduce_Slv + | Iir_Predefined_Ieee_Std_Logic_Misc_Or_Reduce_Suv => return Create_Value_Net (Build_Reduce (Ctxt, Id_Red_Or, Get_Net (L)), Res_Typ); -- cgit v1.2.3