From efce47b470ef6305b620ff97b3cc689e2d0db10a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 18 Jun 2020 21:58:54 +0200 Subject: synth-oper: handle add_uns_int_slv. For ghdl/ghdl-yosys-plugin#126 --- 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 3059298f3..b66d0c947 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -869,7 +869,8 @@ package body Synth.Oper is return Synth_Compare_Array (Id_Ult, Boolean_Type); when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Nat - | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Int => + | Iir_Predefined_Ieee_Std_Logic_Arith_Add_Uns_Int_Slv + | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Int => -- "+" (Unsigned, Natural) return Synth_Dyadic_Uns_Nat (Ctxt, Id_Add, Left, Right, Expr); when Iir_Predefined_Ieee_Numeric_Std_Add_Nat_Uns => -- cgit v1.2.3