aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-static_oper.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-13 18:36:09 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-13 18:36:09 +0100
commit29693dc550ad3f33e8fba23256640e849818b749 (patch)
tree00b7019a1a1784e75a8fb06b4722ce3949cb23f1 /src/synth/synth-static_oper.ads
parentbd26e10bc1d31cf0a781371710ef3be46bb23a4c (diff)
downloadghdl-29693dc550ad3f33e8fba23256640e849818b749.tar.gz
ghdl-29693dc550ad3f33e8fba23256640e849818b749.tar.bz2
ghdl-29693dc550ad3f33e8fba23256640e849818b749.zip
synth: introduce synth-static_oper.
Diffstat (limited to 'src/synth/synth-static_oper.ads')
-rw-r--r--src/synth/synth-static_oper.ads31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/synth/synth-static_oper.ads b/src/synth/synth-static_oper.ads
new file mode 100644
index 000000000..1cf5d9e68
--- /dev/null
+++ b/src/synth/synth-static_oper.ads
@@ -0,0 +1,31 @@
+-- Operations synthesis.
+-- 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.Values; use Synth.Values;
+with Synth.Context; use Synth.Context;
+with Vhdl.Nodes; use Vhdl.Nodes;
+
+package Synth.Static_Oper is
+ function Synth_Static_Dyadic_Predefined (Syn_Inst : Synth_Instance_Acc;
+ Imp : Node;
+ Left : Value_Acc;
+ Right : Value_Acc;
+ Expr : Node) return Value_Acc;
+end Synth.Static_Oper;