OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [rtl/] [sys_gen/] [tst_fx2loop/] [nexys3/] [ic3/] [sys_conf.vhd] - Blame information for rev 21

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 wfjm
-- $Id: sys_conf.vhd 510 2013-04-26 16:14:57Z mueller $
2
--
3
-- Copyright 2012-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
-- This program is free software; you may redistribute and/or modify it under
6
-- the terms of the GNU General Public License as published by the Free
7
-- Software Foundation, either version 2, or at your option any later version.
8
--
9
-- This program is distributed in the hope that it will be useful, but
10
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
-- for complete details.
13
--
14
------------------------------------------------------------------------------
15
-- Package Name:   sys_conf
16
-- Description:    Definitions for sys_tst_fx2loop_ic3_n3 (for synthesis)
17
--
18
-- Dependencies:   -
19
-- Tool versions:  xst 13.3, 14.5; ghdl 0.29
20
-- Revision History: 
21
-- Date         Rev Version  Comment
22
-- 2012-04-25   510   1.1    use 3/2 clock-> 150 MHz sysclk
23
-- 2012-04-09   461   1.0    Initial version 
24
------------------------------------------------------------------------------
25
 
26
library ieee;
27
use ieee.std_logic_1164.all;
28
 
29
use work.slvtypes.all;
30
 
31
package sys_conf is
32
 
33
  constant sys_conf_clkfx_divide : positive   :=  2;
34
  constant sys_conf_clkfx_multiply : positive :=  3;
35
 
36
  constant sys_conf_fx2_type : string := "ic3";
37
 
38
  -- dummy values defs for generic parameters of as controller
39
  constant sys_conf_fx2_rdpwldelay : positive := 1;
40
  constant sys_conf_fx2_rdpwhdelay : positive := 1;
41
  constant sys_conf_fx2_wrpwldelay : positive := 1;
42
  constant sys_conf_fx2_wrpwhdelay : positive := 1;
43
  constant sys_conf_fx2_flagdelay  : positive := 1;
44
 
45
  -- pktend timer setting
46
  --   petowidth=10 -> 2^10 30 MHz clocks -> ~33 usec (normal operation)
47
  constant sys_conf_fx2_petowidth  : positive := 10;
48
 
49
  constant sys_conf_fx2_ccwidth  : positive := 5;
50
 
51
  constant sys_conf_hio_debounce : boolean := true;    -- instantiate debouncers
52
 
53
  -- derived constants
54
 
55
  constant sys_conf_clksys : integer :=
56
    (100000000/sys_conf_clkfx_divide)*sys_conf_clkfx_multiply;
57
  constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
58
 
59
end package sys_conf;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.