From bd09899fcaa7ac895fb673fbddc1ef60aac59b3b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 6 Aug 2020 22:00:36 +0200 Subject: synth: handle an operation from std_logic_unsigned. For #1426 --- 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 2819469f3..65c836605 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -1264,7 +1264,8 @@ package body Synth.Oper is when Iir_Predefined_Ieee_Std_Logic_Arith_Ne_Int_Uns => -- "/=" (Integer, Unsigned) return Synth_Compare_Int_Uns (Id_Ne, Expr_Typ); - when Iir_Predefined_Ieee_Std_Logic_Arith_Ne_Uns_Int => + when Iir_Predefined_Ieee_Std_Logic_Arith_Ne_Uns_Int + | Iir_Predefined_Ieee_Std_Logic_Unsigned_Ne_Slv_Int => -- "/=" (Unsigned, Integer) return Synth_Compare_Uns_Int (Id_Ne, Expr_Typ); when Iir_Predefined_Ieee_Std_Logic_Arith_Ne_Uns_Sgn => -- cgit v1.2.3