aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-25 07:33:19 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 07:37:16 +0200
commit28802d1a7a775d8c54921965b6793dfd9dafdf3c (patch)
treec6ccd3b86ba3d6e60ff218ea276fe65b374cca3a /src/synth
parent164bf0e9111dd3b0f6cfb8afee5528a9b9349f5e (diff)
downloadghdl-28802d1a7a775d8c54921965b6793dfd9dafdf3c.tar.gz
ghdl-28802d1a7a775d8c54921965b6793dfd9dafdf3c.tar.bz2
ghdl-28802d1a7a775d8c54921965b6793dfd9dafdf3c.zip
synth-oper: handle not for boolean and bit. Fix #937
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-oper.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb
index 0f229aea8..d0b7a7f5d 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -749,7 +749,9 @@ package body Synth.Oper is
case Def is
when Iir_Predefined_Error =>
return null;
- when Iir_Predefined_Ieee_1164_Scalar_Not =>
+ when Iir_Predefined_Ieee_1164_Scalar_Not
+ | Iir_Predefined_Boolean_Not
+ | Iir_Predefined_Bit_Not =>
return Synth_Bit_Monadic (Id_Not);
when Iir_Predefined_Ieee_1164_Vector_Not
| Iir_Predefined_Ieee_Numeric_Std_Not_Uns