aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-11 15:27:08 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-11 15:27:08 +0200
commit4a623031adc632a94c17529910177927483473fd (patch)
tree2608c7a7782ca9e751b2c6974c2c7ed7dbcfb770 /src/synth
parent5e4358bfee56ee068745923d167f466a4e950074 (diff)
downloadghdl-4a623031adc632a94c17529910177927483473fd.tar.gz
ghdl-4a623031adc632a94c17529910177927483473fd.tar.bz2
ghdl-4a623031adc632a94c17529910177927483473fd.zip
synth-static_oper: handle more additions. Fix #1209
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-static_oper.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 8e82b1ffe..2443e7ee2 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -809,7 +809,11 @@ package body Synth.Static_Oper is
return Create_Value_Discrete (Boolean'Pos (Res), Res_Typ);
end;
- when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns =>
+ when Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Uns
+ | Iir_Predefined_Ieee_Numeric_Std_Add_Uns_Log
+ | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Log
+ | Iir_Predefined_Ieee_Std_Logic_Unsigned_Add_Slv_Slv
+ | Iir_Predefined_Ieee_Std_Logic_Arith_Add_Uns_Uns_Slv =>
return Synth_Add_Uns_Uns (Left, Right, Expr);
when Iir_Predefined_Ieee_Numeric_Std_Add_Sgn_Int =>