diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-05-16 08:08:31 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-05-16 08:17:50 +0200 |
commit | 2412f7355e029905cdac0883982fd3927f493e3a (patch) | |
tree | e3ee89c4d63d925d160050bf04c5c92fd074e09e /src/synth | |
parent | 23bb49eb1f24c65effe07377d8748687e5a668bf (diff) | |
download | ghdl-2412f7355e029905cdac0883982fd3927f493e3a.tar.gz ghdl-2412f7355e029905cdac0883982fd3927f493e3a.tar.bz2 ghdl-2412f7355e029905cdac0883982fd3927f493e3a.zip |
synth: handle functional call to numeric_std binary operators. For #1313
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-expr.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index faebd7c93..c960b8867 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -1985,7 +1985,8 @@ package body Synth.Expr is Imp : constant Node := Get_Implementation (Expr); begin case Get_Implicit_Definition (Imp) is - when Iir_Predefined_Pure_Functions => + when Iir_Predefined_Pure_Functions + | Iir_Predefined_Ieee_Numeric_Std_Binary_Operators => return Synth_Operator_Function_Call (Syn_Inst, Expr); when Iir_Predefined_None => return Synth_User_Function_Call (Syn_Inst, Expr); |