aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-ieee-numeric_std.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-13 06:20:00 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-13 06:20:00 +0100
commitbcc88a45ddffd2cc54b9fcbfe7313f624478f873 (patch)
treee775aba2579b3d2e29388810acd832a9b24546a0 /src/synth/synth-ieee-numeric_std.ads
parentc3e17a99f3369ec5e63433dbee6819b6aadae4cd (diff)
downloadghdl-bcc88a45ddffd2cc54b9fcbfe7313f624478f873.tar.gz
ghdl-bcc88a45ddffd2cc54b9fcbfe7313f624478f873.tar.bz2
ghdl-bcc88a45ddffd2cc54b9fcbfe7313f624478f873.zip
synth: handle static "-" for unsigned. For of #1087
Diffstat (limited to 'src/synth/synth-ieee-numeric_std.ads')
-rw-r--r--src/synth/synth-ieee-numeric_std.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-ieee-numeric_std.ads b/src/synth/synth-ieee-numeric_std.ads
index 1d8dacd7b..1490bf9d1 100644
--- a/src/synth/synth-ieee-numeric_std.ads
+++ b/src/synth/synth-ieee-numeric_std.ads
@@ -34,6 +34,8 @@ package Synth.Ieee.Numeric_Std is
function Add_Uns_Nat (L : Std_Logic_Vector; R : Uns64)
return Std_Logic_Vector;
+ function Sub_Uns_Uns (L, R : Std_Logic_Vector) return Std_Logic_Vector;
+
function Mul_Uns_Uns (L, R : Std_Logic_Vector) return Std_Logic_Vector;
function Mul_Sgn_Sgn (L, R : Std_Logic_Vector) return Std_Logic_Vector;