1-- Iir to ortho translator. 2-- Copyright (C) 2002 - 2014 Tristan Gingold 3-- 4-- This program is free software: you can redistribute it and/or modify 5-- it under the terms of the GNU General Public License as published by 6-- the Free Software Foundation, either version 2 of the License, or 7-- (at your option) any later version. 8-- 9-- This program is distributed in the hope that it will be useful, 10-- but WITHOUT ANY WARRANTY; without even the implied warranty of 11-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12-- GNU General Public License for more details. 13-- 14-- You should have received a copy of the GNU General Public License 15-- along with this program. If not, see <gnu.org/licenses>. 16 17package Trans.Chap1 is 18 -- Declare types for block BLK 19 procedure Start_Block_Decl (Blk : Iir); 20 21 procedure Translate_Entity_Declaration (Entity : Iir_Entity_Declaration); 22 23 -- Generate code to initialize generics of instance INSTANCE of ENTITY 24 -- using the default values. 25 -- This is used when ENTITY is at the top of a design hierarchy. 26 procedure Translate_Entity_Init_Generics (Entity : Iir); 27 28 -- Likewise, but for ports. 29 procedure Translate_Entity_Init_Ports (Entity : Iir); 30 31 procedure Translate_Architecture_Body (Arch : Iir); 32 33 -- CONFIG may be one of: 34 -- * configuration_declaration 35 -- * component_configuration 36 procedure Translate_Configuration_Declaration_Decl (Config : Iir); 37 procedure Translate_Configuration_Declaration_Body (Config : Iir); 38end Trans.Chap1; 39