aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-static_oper.adb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 73db0d9f7..5e22fabeb 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -782,6 +782,14 @@ package body Synth.Static_Oper is
(Left, Right, Compare_Greater, Expr) = Compare_Equal;
return Create_Value_Discrete (Boolean'Pos (Res), Res_Typ);
end;
+ when Iir_Predefined_Ieee_Numeric_Std_Eq_Uns_Nat =>
+ declare
+ Res : Boolean;
+ begin
+ Res := Synth_Compare_Uns_Nat
+ (Left, Right, Compare_Greater, Expr) = Compare_Equal;
+ return Create_Value_Discrete (Boolean'Pos (Res), Res_Typ);
+ end;
when Iir_Predefined_Ieee_Numeric_Std_Gt_Uns_Uns =>
declare