diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-16 09:13:59 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-16 09:13:59 +0100 |
commit | 0da6f5cda834b7c1898aa0b85202d81e3a72b068 (patch) | |
tree | 7cf826531cf8632d185e559af72930b0c45f9de6 /src/synth/synth-ieee-numeric_std.ads | |
parent | 706fd3a64ca9d55591542d0488b87698e3835c21 (diff) | |
download | ghdl-0da6f5cda834b7c1898aa0b85202d81e3a72b068.tar.gz ghdl-0da6f5cda834b7c1898aa0b85202d81e3a72b068.tar.bz2 ghdl-0da6f5cda834b7c1898aa0b85202d81e3a72b068.zip |
synth: handle static add sgn int.
Diffstat (limited to 'src/synth/synth-ieee-numeric_std.ads')
-rw-r--r-- | src/synth/synth-ieee-numeric_std.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-ieee-numeric_std.ads b/src/synth/synth-ieee-numeric_std.ads index 051881d0e..824c3fe00 100644 --- a/src/synth/synth-ieee-numeric_std.ads +++ b/src/synth/synth-ieee-numeric_std.ads @@ -18,8 +18,13 @@ -- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, -- MA 02110-1301, USA. +with Types; use Types; + with Synth.Ieee.Std_Logic_1164; use Synth.Ieee.Std_Logic_1164; package Synth.Ieee.Numeric_Std is 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; end Synth.Ieee.Numeric_Std; |