From c358a4e9b8887e43faad8bcf3ee5860cb4929c6c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 6 Apr 2020 18:19:25 +0200 Subject: synth: add support for signed_add_slv_int. Fix #1193 --- src/synth/synth-oper.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 2f2dc6dcc..d3c9ae459 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -831,7 +831,8 @@ package body Synth.Oper is | Iir_Predefined_Ieee_Std_Logic_Arith_Add_Uns_Uns_Slv => -- "+" (Unsigned, Unsigned) return Synth_Dyadic_Uns_Uns (Id_Add, Left, Right, Expr); - when Iir_Predefined_Ieee_Numeric_Std_Add_Sgn_Int => + when Iir_Predefined_Ieee_Numeric_Std_Add_Sgn_Int + | Iir_Predefined_Ieee_Std_Logic_Signed_Add_Slv_Int => -- "+" (Signed, Integer) return Synth_Dyadic_Sgn_Int (Id_Add, Left, Right, Expr); when Iir_Predefined_Ieee_Numeric_Std_Add_Int_Sgn => -- cgit v1.2.3