aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-static_oper.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-static_oper.adb')
-rw-r--r--src/synth/synth-static_oper.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 68b71b2b1..349117d87 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -399,6 +399,12 @@ package body Synth.Static_Oper is
when Iir_Predefined_Error =>
return null;
+ when Iir_Predefined_Boolean_Xor =>
+ return Create_Value_Discrete
+ (Boolean'Pos (Boolean'Val (Get_Static_Discrete (Left))
+ xor Boolean'Val (Get_Static_Discrete (Right))),
+ Res_Typ);
+
when Iir_Predefined_Enum_Equality =>
return Create_Value_Discrete
(Boolean'Pos