diff options
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-oper.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 8ace4725f..fde0f3123 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -770,6 +770,8 @@ package body Synth.Oper is -- TODO: Optimize ? return Synth_Compare (Id_Ne, Boolean_Type); when Iir_Predefined_Enum_Less_Equal => + return Synth_Compare (Id_Ule, Boolean_Type); + when Iir_Predefined_Enum_Less => return Synth_Compare (Id_Ult, Boolean_Type); when Iir_Predefined_Std_Ulogic_Match_Equality => |