From 92b4b6ec4280fcb69eaf0458a808dc117a94ec1e Mon Sep 17 00:00:00 2001 From: Xiretza Date: Wed, 2 Dec 2020 20:45:57 +0100 Subject: synth-oper: Support Iir_Predefined_Enum_Greater{,_Equal} --- src/synth/synth-oper.adb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 4493db681..3a5c0edda 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -875,6 +875,10 @@ package body Synth.Oper is return Synth_Compare (Id_Ule, Boolean_Type); when Iir_Predefined_Enum_Less => return Synth_Compare (Id_Ult, Boolean_Type); + when Iir_Predefined_Enum_Greater_Equal => + return Synth_Compare (Id_Uge, Boolean_Type); + when Iir_Predefined_Enum_Greater => + return Synth_Compare (Id_Ugt, Boolean_Type); when Iir_Predefined_Std_Ulogic_Match_Equality => return Synth_Compare (Id_Eq, Logic_Type); -- cgit v1.2.3