aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-21 14:04:29 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-21 14:04:29 +0100
commit2615e17cd9cbd19e88b3093d30b0011435bd3eb2 (patch)
tree4e59f6e871279632b164ce08b675208789284e56
parent28cf5741ca6f6a83bc92fae63aa69ddabe9d5c0e (diff)
downloadghdl-2615e17cd9cbd19e88b3093d30b0011435bd3eb2.tar.gz
ghdl-2615e17cd9cbd19e88b3093d30b0011435bd3eb2.tar.bz2
ghdl-2615e17cd9cbd19e88b3093d30b0011435bd3eb2.zip
synth-static_oper: handle not for signed and unsigned. Fix #1167
-rw-r--r--src/synth/synth-static_oper.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 270260b71..68b71b2b1 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -783,7 +783,9 @@ package body Synth.Static_Oper is
end;
end;
- when Iir_Predefined_Ieee_1164_Vector_Not =>
+ when Iir_Predefined_Ieee_1164_Vector_Not
+ | Iir_Predefined_Ieee_Numeric_Std_Not_Uns
+ | Iir_Predefined_Ieee_Numeric_Std_Not_Sgn =>
return Synth_Vector_Monadic (Operand, Not_Table);
when Iir_Predefined_Ieee_1164_Scalar_Not =>