From ad87210f34671ab9454b581965a15f67eb39cdcf Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 16 May 2020 08:09:27 +0200 Subject: synth: handle static calls to signed numeric_std + -. Fix #1313 --- src/synth/synth-ieee-numeric_std.ads | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/synth/synth-ieee-numeric_std.ads') diff --git a/src/synth/synth-ieee-numeric_std.ads b/src/synth/synth-ieee-numeric_std.ads index 31beea86f..280be3da5 100644 --- a/src/synth/synth-ieee-numeric_std.ads +++ b/src/synth/synth-ieee-numeric_std.ads @@ -27,20 +27,23 @@ package Synth.Ieee.Numeric_Std is function Neg_Sgn (V : Std_Logic_Vector) return Std_Logic_Vector; + -- "+" function Add_Uns_Uns (L, R : Std_Logic_Vector) return Std_Logic_Vector; - function Add_Sgn_Int (L : Std_Logic_Vector; R : Int64) return Std_Logic_Vector; function Add_Uns_Nat (L : Std_Logic_Vector; R : Uns64) return Std_Logic_Vector; + function Add_Sgn_Sgn (L, R : Std_Logic_Vector) return Std_Logic_Vector; + -- "-" function Sub_Uns_Uns (L, R : Std_Logic_Vector) return Std_Logic_Vector; - function Sub_Sgn_Int (L : Std_Logic_Vector; R : Int64) return Std_Logic_Vector; function Sub_Uns_Nat (L : Std_Logic_Vector; R : Uns64) - return Std_Logic_Vector; + return Std_Logic_Vector; + function Sub_Sgn_Sgn (L, R : Std_Logic_Vector) return Std_Logic_Vector; + -- "*" function Mul_Uns_Uns (L, R : Std_Logic_Vector) return Std_Logic_Vector; function Mul_Nat_Uns (L : Uns64; R : Std_Logic_Vector) return Std_Logic_Vector; -- cgit v1.2.3