aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-08-04 19:18:29 +0200
committerTristan Gingold <tgingold@free.fr>2020-08-04 19:18:29 +0200
commit83a03454a3b213d214c11f1bafa364d2dfe1d5c5 (patch)
tree15e13b75fd711d4e5cc5f2f4930c1cb57981813d /src
parent73d3e2bd68995aa55c93fbbaa5d008ec9ce2abfe (diff)
downloadghdl-83a03454a3b213d214c11f1bafa364d2dfe1d5c5.tar.gz
ghdl-83a03454a3b213d214c11f1bafa364d2dfe1d5c5.tar.bz2
ghdl-83a03454a3b213d214c11f1bafa364d2dfe1d5c5.zip
synth-oper: handle std_logic_arith."=" for unsigned. Fix #1424
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-oper.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb
index e571beff9..8ace4725f 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -1088,6 +1088,7 @@ package body Synth.Oper is
when Iir_Predefined_Ieee_Numeric_Std_Eq_Uns_Uns
| Iir_Predefined_Ieee_Std_Logic_Unsigned_Eq_Slv_Slv
+ | Iir_Predefined_Ieee_Std_Logic_Arith_Eq_Uns_Uns
| Iir_Predefined_Ieee_Numeric_Std_Match_Eq_Uns_Uns =>
-- "=" (Unsigned, Unsigned) [resize]
return Synth_Compare_Uns_Uns (Id_Eq, Expr_Typ);