diff options
author | Xiretza <xiretza@xiretza.xyz> | 2020-12-02 20:45:57 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2020-12-04 04:11:09 +0100 |
commit | 92b4b6ec4280fcb69eaf0458a808dc117a94ec1e (patch) | |
tree | 3a5448086cc0e6381fee6522f9efd10dc390d79c /src | |
parent | 4194af8f6a6d87f98d00a8fc82964d2b7c342871 (diff) | |
download | ghdl-92b4b6ec4280fcb69eaf0458a808dc117a94ec1e.tar.gz ghdl-92b4b6ec4280fcb69eaf0458a808dc117a94ec1e.tar.bz2 ghdl-92b4b6ec4280fcb69eaf0458a808dc117a94ec1e.zip |
synth-oper: Support Iir_Predefined_Enum_Greater{,_Equal}
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-oper.adb | 4 |
1 files changed, 4 insertions, 0 deletions
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); |