diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-25 07:33:19 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-25 07:37:16 +0200 |
commit | 28802d1a7a775d8c54921965b6793dfd9dafdf3c (patch) | |
tree | c6ccd3b86ba3d6e60ff218ea276fe65b374cca3a /src/synth | |
parent | 164bf0e9111dd3b0f6cfb8afee5528a9b9349f5e (diff) | |
download | ghdl-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.adb | 4 |
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 |