diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-11-04 20:21:00 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-11-04 20:21:00 +0100 |
commit | 0a088b311ed2fcebc542f8a2e42d09e2e3c9311c (patch) | |
tree | 8ec898f38ddff616e459a0df57b3f4112bd96ffc /src/configuration.ads | |
parent | 9c195bf5d86d67ea5eb419ccf6e48dc153e57c68 (diff) | |
download | ghdl-0a088b311ed2fcebc542f8a2e42d09e2e3c9311c.tar.gz ghdl-0a088b311ed2fcebc542f8a2e42d09e2e3c9311c.tar.bz2 ghdl-0a088b311ed2fcebc542f8a2e42d09e2e3c9311c.zip |
Create src/vhdl subdirectory.
Diffstat (limited to 'src/configuration.ads')
-rw-r--r-- | src/configuration.ads | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/configuration.ads b/src/configuration.ads deleted file mode 100644 index 0a19a23c2..000000000 --- a/src/configuration.ads +++ /dev/null @@ -1,55 +0,0 @@ --- Configuration generation. --- Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold --- --- GHDL 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, or (at your option) any later --- version. --- --- GHDL 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 GHDL; see the file COPYING. If not, write to the Free --- Software Foundation, 59 Temple Place - Suite 330, Boston, MA --- 02111-1307, USA. -with Types; use Types; -with Iirs; use Iirs; -with GNAT.Table; - -package Configuration is - package Design_Units is new GNAT.Table - (Table_Component_Type => Iir_Design_Unit, - Table_Index_Type => Natural, - Table_Low_Bound => 1, - Table_Initial => 16, - Table_Increment => 100); - - -- Get the top configuration to build a design hierarchy whose top is - -- PRIMARY + SECONDARY. - -- PRIMARY must designate a configuration declaration or an entity - -- declaration. In the last case, SECONDARY must be null_identifier or - -- designates an architecture declaration. - -- - -- creates a list of design unit. - -- and return the top configuration. - -- Note: this set the Elab_Flag on units. - function Configure (Primary_Id : Name_Id; Secondary_Id : Name_Id) - return Iir; - - -- Add design unit UNIT (with its dependences) in the design_units table. - procedure Add_Design_Unit (Unit : Iir_Design_Unit; From : Iir); - - -- If set, all design units (even package bodies) are loaded. - Flag_Load_All_Design_Units : Boolean := True; - - Flag_Build_File_Dependence : Boolean := False; - - -- Check if ENTITY can be at the top of a hierarchy, ie: - -- ENTITY has no generics or all generics have a default expression - -- ENTITY has no ports or all ports type are constrained. - -- If not, emit a elab error message. - procedure Check_Entity_Declaration_Top (Entity : Iir_Entity_Declaration); -end Configuration; |