diff options
author | T. Meissner <programming@goodcleanfun.de> | 2019-10-05 17:30:03 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2019-10-05 17:30:03 +0200 |
commit | 622e73bc2272b103f9cf3f65d47e3c15f1e3dd43 (patch) | |
tree | f62c6e3ddc9569219fe9d604563ea3fd4bfa5126 /src/synth/synth-oper.adb | |
parent | 5c72f37c3eaf69d59f0f9a22473d68ce70858450 (diff) | |
download | ghdl-622e73bc2272b103f9cf3f65d47e3c15f1e3dd43.tar.gz ghdl-622e73bc2272b103f9cf3f65d47e3c15f1e3dd43.tar.bz2 ghdl-622e73bc2272b103f9cf3f65d47e3c15f1e3dd43.zip |
synth: add support for comp. equal of two numeric signed (#966)
Diffstat (limited to 'src/synth/synth-oper.adb')
-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 acb637918..35906eee5 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -519,6 +519,10 @@ package body Synth.Oper is -- "=" (Unsigned, Unsigned) [resize] return Synth_Compare_Uns_Uns (Id_Eq); + when Iir_Predefined_Ieee_Numeric_Std_Eq_Sgn_Sgn => + -- "=" (Signed, Signed) [resize] + return Synth_Compare_Sgn_Sgn (Id_Eq); + when Iir_Predefined_Ieee_Numeric_Std_Ne_Uns_Uns | Iir_Predefined_Ieee_Std_Logic_Unsigned_Ne_Slv_Slv => -- "/=" (Unsigned, Unsigned) [resize] |