aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-ieee-numeric_std.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-13 18:44:20 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-13 18:44:20 +0100
commit928762b7844d06e75a7dc5e86840969ba82b00fe (patch)
treec54247ce26b8d8192d12f9932f9d70c5de6cf7b0 /src/synth/synth-ieee-numeric_std.ads
parentcc0ea4be71cfb321f85d8195328f1db3a0fbb427 (diff)
downloadghdl-928762b7844d06e75a7dc5e86840969ba82b00fe.tar.gz
ghdl-928762b7844d06e75a7dc5e86840969ba82b00fe.tar.bz2
ghdl-928762b7844d06e75a7dc5e86840969ba82b00fe.zip
synth: handle static unsigned/unsigned add.
Diffstat (limited to 'src/synth/synth-ieee-numeric_std.ads')
-rw-r--r--src/synth/synth-ieee-numeric_std.ads25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/synth/synth-ieee-numeric_std.ads b/src/synth/synth-ieee-numeric_std.ads
new file mode 100644
index 000000000..051881d0e
--- /dev/null
+++ b/src/synth/synth-ieee-numeric_std.ads
@@ -0,0 +1,25 @@
+-- numeric_std
+-- Copyright (C) 2019 Tristan Gingold
+--
+-- This file is part of GHDL.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+-- MA 02110-1301, USA.
+
+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;
+end Synth.Ieee.Numeric_Std;