aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-errors.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-06 08:46:30 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-06 08:46:30 +0200
commit00f8dd9107cef97100a409731e1d09903c98d24d (patch)
tree0c166a1d32836717afb1a8383c2b9dc978f01905 /src/synth/netlists-errors.ads
parentd444e0db133898308795ffbf8081330e6a33ed4f (diff)
downloadghdl-00f8dd9107cef97100a409731e1d09903c98d24d.tar.gz
ghdl-00f8dd9107cef97100a409731e1d09903c98d24d.tar.bz2
ghdl-00f8dd9107cef97100a409731e1d09903c98d24d.zip
synth: add error messages for latches.
Diffstat (limited to 'src/synth/netlists-errors.ads')
-rw-r--r--src/synth/netlists-errors.ads29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/synth/netlists-errors.ads b/src/synth/netlists-errors.ads
new file mode 100644
index 000000000..d51504393
--- /dev/null
+++ b/src/synth/netlists-errors.ads
@@ -0,0 +1,29 @@
+-- Error handling for synthesis.
+-- Copyright (C) 2017 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 Errorout; use Errorout;
+
+package Netlists.Errors is
+ function "+" (N : Instance) return Earg_Type;
+ function "+" (N : Net) return Earg_Type;
+ function "+" (N : Sname) return Earg_Type;
+
+ procedure Initialize;
+end Netlists.Errors;