From 42bda91d39ff6aa94bedc116e495995e66e7559e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 30 Jun 2019 04:17:12 +0200 Subject: synth: handle std_logic_unsigned."+" --- src/synth/synth-expr.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/synth') diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index c7100d29e..fdbccadaa 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -712,7 +712,8 @@ package body Synth.Expr is when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Nat => -- "+" (Unsigned, Natural) return Synth_Dyadic_Uns_Nat (Id_Add); - when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns => + when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns + | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Sl => -- "+" (Unsigned, Unsigned) return Synth_Dyadic_Uns (Id_Add, True); when Iir_Predefined_Ieee_Numeric_Std_Sub_Uns_Nat => -- cgit v1.2.3