aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-11 18:37:46 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-11 18:38:06 +0100
commit17035deb83dd13aa9c9fc09e28c70b983aeeca59 (patch)
tree8b128556c81d43696c8c94f47f7d41fc2b8554c4 /src/synth
parentc055dacd817234fd25ba20d5a5dac9df532c415b (diff)
downloadghdl-17035deb83dd13aa9c9fc09e28c70b983aeeca59.tar.gz
ghdl-17035deb83dd13aa9c9fc09e28c70b983aeeca59.tar.bz2
ghdl-17035deb83dd13aa9c9fc09e28c70b983aeeca59.zip
vhdl-ieee-std_logic_unsigned: recognize more operations.
Diffstat (limited to 'src/synth')
-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 4e8c434c4..1a3a10bf5 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -1070,6 +1070,7 @@ package body Synth.Oper is
-- ">" (Unsigned, Unsigned) [resize]
return Synth_Compare_Uns_Uns (Id_Ugt, Expr_Typ);
when Iir_Predefined_Ieee_Numeric_Std_Gt_Uns_Nat
+ | Iir_Predefined_Ieee_Std_Logic_Unsigned_Gt_Slv_Int
| Iir_Predefined_Ieee_Numeric_Std_Match_Gt_Uns_Nat =>
-- ">" (Unsigned, Natural)
return Synth_Compare_Uns_Nat (Id_Ugt, Expr_Typ);