aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-06 18:22:41 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-06 20:10:57 +0200
commitfa473ef11444934d0a55f1bf46caaf2f5bd91d77 (patch)
treea6d86ba8c10fce4ca2de25f227426cd221067201 /src/synth
parent4ebca1802bc4e81d6c4bfe0b734a9f5828dacb1f (diff)
downloadghdl-fa473ef11444934d0a55f1bf46caaf2f5bd91d77.tar.gz
ghdl-fa473ef11444934d0a55f1bf46caaf2f5bd91d77.tar.bz2
ghdl-fa473ef11444934d0a55f1bf46caaf2f5bd91d77.zip
synth-static_oper: add support for unsgined_add_slv_int. Fix #1198
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-static_oper.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 2cf4c1b98..4d4ff8305 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -891,7 +891,8 @@ package body Synth.Static_Oper is
when Iir_Predefined_Ieee_Numeric_Std_Add_Sgn_Int =>
return Synth_Add_Sgn_Int (Left, Right, Expr);
- when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Nat =>
+ when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Nat
+ | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Int =>
return Synth_Add_Uns_Nat (Left, Right, Expr);
when Iir_Predefined_Ieee_Numeric_Std_Sub_Uns_Uns =>