aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-oper.adb
diff options
context:
space:
mode:
authorT. Meissner <programming@goodcleanfun.de>2019-10-05 17:30:03 +0200
committertgingold <tgingold@users.noreply.github.com>2019-10-05 17:30:03 +0200
commit622e73bc2272b103f9cf3f65d47e3c15f1e3dd43 (patch)
treef62c6e3ddc9569219fe9d604563ea3fd4bfa5126 /src/synth/synth-oper.adb
parent5c72f37c3eaf69d59f0f9a22473d68ce70858450 (diff)
downloadghdl-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.adb4
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]