aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-static_oper.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index e0d82a5b3..a76f9b5e0 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -322,6 +322,9 @@ package body Synth.Static_Oper is
when Iir_Predefined_Enum_Equality =>
return Create_Value_Discrete
(Boolean'Pos (Left.Scal = Right.Scal), Boolean_Type);
+ when Iir_Predefined_Enum_Inequality =>
+ return Create_Value_Discrete
+ (Boolean'Pos (Left.Scal /= Right.Scal), Boolean_Type);
when Iir_Predefined_Integer_Plus =>
return Create_Value_Discrete