diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-13 07:39:54 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-13 07:39:54 +0100 |
commit | 57182dfe1306ba624e04bf97559c8fc3c3a9dcf8 (patch) | |
tree | 32c2d800c16b49f077ab3e06f84e071a5ad833a7 /src/synth/synth-files_operations.ads | |
parent | 1b2a14b3f7cf9adbd600e36b1a581dc137316af7 (diff) | |
download | ghdl-57182dfe1306ba624e04bf97559c8fc3c3a9dcf8.tar.gz ghdl-57182dfe1306ba624e04bf97559c8fc3c3a9dcf8.tar.bz2 ghdl-57182dfe1306ba624e04bf97559c8fc3c3a9dcf8.zip |
synth: add support for file declarations.
Diffstat (limited to 'src/synth/synth-files_operations.ads')
-rw-r--r-- | src/synth/synth-files_operations.ads | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/synth/synth-files_operations.ads b/src/synth/synth-files_operations.ads new file mode 100644 index 000000000..81dee4a91 --- /dev/null +++ b/src/synth/synth-files_operations.ads @@ -0,0 +1,29 @@ +-- Create declarations 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 Vhdl.Nodes; use Vhdl.Nodes; + +with Synth.Values; use Synth.Values; +with Synth.Context; use Synth.Context; + +package Synth.Files_Operations is + function Elaborate_File_Declaration + (Syn_Inst : Synth_Instance_Acc; Decl : Node) return File_Index; +end Synth.Files_Operations; |