aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/vhdl-evaluation.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-evaluation.adb b/src/vhdl/vhdl-evaluation.adb
index 1b5232767..64aec4488 100644
--- a/src/vhdl/vhdl-evaluation.adb
+++ b/src/vhdl/vhdl-evaluation.adb
@@ -647,6 +647,9 @@ package body Vhdl.Evaluation is
| Iir_Predefined_Bit_Not =>
return Build_Enumeration (Get_Enum_Pos (Operand) = 0, Orig);
+ when Iir_Predefined_Bit_Condition =>
+ return Build_Enumeration (Get_Enum_Pos (Operand) = 1, Orig);
+
when Iir_Predefined_TF_Array_Not =>
declare
Lit_Val : Iir;