aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-memories.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-17 06:35:04 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-17 06:35:04 +0200
commita87efba0ca0cc55cc26a28371eb1963a2e720498 (patch)
treea0d18b5bb7b1b3304599ddd35a189ea1c5f138a4 /src/synth/netlists-memories.ads
parentcb024436717e81efcb6cefb7f1c16ecb86e21afa (diff)
downloadghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.tar.gz
ghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.tar.bz2
ghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.zip
synth: add netlists-memories to extract memories. Still WIP.
Diffstat (limited to 'src/synth/netlists-memories.ads')
-rw-r--r--src/synth/netlists-memories.ads26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/synth/netlists-memories.ads b/src/synth/netlists-memories.ads
new file mode 100644
index 000000000..b58ffb29a
--- /dev/null
+++ b/src/synth/netlists-memories.ads
@@ -0,0 +1,26 @@
+-- Extract memories.
+-- 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 Netlists.Builders; use Netlists.Builders;
+
+package Netlists.Memories is
+ -- Try to convert dyn_insert/dyn_extract to memory ports.
+ procedure Extract_Memories (Ctxt : Context_Acc; M : Module);
+end Netlists.Memories;