From 2412f7355e029905cdac0883982fd3927f493e3a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 16 May 2020 08:08:31 +0200 Subject: synth: handle functional call to numeric_std binary operators. For #1313 --- src/synth/synth-expr.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/synth') 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); -- cgit v1.2.3