URL
https://opencores.org/ocsvn/funbase_ip_library/funbase_ip_library/trunk
Subversion Repositories funbase_ip_library
[/] [funbase_ip_library/] [trunk/] [TUT/] [ip.hwp.communication/] [hibi/] [2.0/] [vhd/] [cfg_init_pkg.vhd] - Rev 159
Go to most recent revision | Compare with Previous | Blame | View Log
------------------------------------------------------------------------------- -- Funbase IP library Copyright (C) 2011 TUT Department of Computer Systems -- -- This source file may be used and distributed without -- restriction provided that this copyright statement is not -- removed from the file and that any derivative work contains -- the original copyright notice and the associated disclaimer. -- -- This source file is free software; you can redistribute it -- and/or modify it under the terms of the GNU Lesser General -- Public License as published by the Free Software Foundation; -- either version 2.1 of the License, or (at your option) any -- later version. -- -- This source 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 Lesser General Public License for more -- details. -- -- You should have received a copy of the GNU Lesser General -- Public License along with this source; if not, download it -- from http://www.opencores.org/lgpl.shtml ------------------------------------------------------------------------------- ------------------------------------------------- -- File cfg_init_pkg.vhdl -- Design -- Description Package for Hibi2 cfg_mem -- -- This pkg contains the initial values for cfg parameters -- -- DO NOT COMPILE OR SYNTHESIZE THIS FILE FROM HIBI/VHDL -- DIRECTORY. -- COPY THIS TO YOUR WORK DIRECTORY AND MODIFY THAT COPY ONLY! -- -- Author : Erno salminen -- e-mail : erno.salminen@tut.fi -- Date : 16.12.2005 -- Project : in the jungle -- Modified : ------------------------------------------------- library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; package cfg_init_pkg is -- Bounds for init arrys -- Wrappers can less or equal num of pages or slots constant max_n_tslots_c : integer := 3; constant max_n_cfg_pages_c : integer := 2; type tframe_1d_arr_type is array (1 to max_n_cfg_pages_c) of integer; -- --note indexing type tslot_param_1d_arr_type is array (0 to max_n_tslots_c-1) of integer; type tslot_param_2d_array_type is array ( 1 to max_n_cfg_pages_c) of tslot_param_1d_arr_type; constant tframe_c : tframe_1d_arr_type := (100, 75); constant tslot_start_c : tslot_param_2d_array_type := ((10, 30, 40), (12, 32, 42) ); constant tslot_stop_c : tslot_param_2d_array_type := ((18, 35, 85), (6, 16, 36) ); constant tslot_id_c : tslot_param_2d_array_type := ((3, 4, 5), (2, 3, 1) ); end cfg_init_pkg;
Go to most recent revision | Compare with Previous | Blame | View Log