From 4a623031adc632a94c17529910177927483473fd Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 11 Apr 2020 15:27:08 +0200 Subject: synth-static_oper: handle more additions. Fix #1209 --- src/synth/synth-static_oper.adb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb index 8e82b1ffe..2443e7ee2 100644 --- a/src/synth/synth-static_oper.adb +++ b/src/synth/synth-static_oper.adb @@ -809,7 +809,11 @@ package body Synth.Static_Oper is return Create_Value_Discrete (Boolean'Pos (Res), Res_Typ); end; - when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns => + when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns + | Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Log + | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Log + | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Slv + | Iir_Predefined_Ieee_Std_Logic_Arith_Add_Uns_Uns_Slv => return Synth_Add_Uns_Uns (Left, Right, Expr); when Iir_Predefined_Ieee_Numeric_Std_Add_Sgn_Int => -- cgit v1.2.3