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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [rtl/] [sys_gen/] [tst_rlink/] [nexys2/] [sys_conf.vhd] - Blame information for rev 40

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

Line No. Rev Author Line
1 10 wfjm
-- $Id: sys_conf.vhd 351 2010-12-30 21:50:54Z mueller $
2
--
3
-- Copyright 2010- 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_rlink_n2 (for synthesis)
17
--
18
-- Dependencies:   -
19
-- Tool versions:  xst 12.1; ghdl 0.29
20
-- Revision History: 
21
-- Date         Rev Version  Comment
22
-- 2010-12-29   351   1.0    Initial version
23
------------------------------------------------------------------------------
24
 
25
library ieee;
26
use ieee.std_logic_1164.all;
27
 
28
use work.slvtypes.all;
29
 
30
package sys_conf is
31
 
32
  constant sys_conf_clkfx_divide : positive   :=   1;
33
  constant sys_conf_clkfx_multiply : positive :=   1;   -- 
34
 
35
  constant sys_conf_ser2rri_defbaud : integer := 115200;   -- default 115k baud
36
 
37
  constant sys_conf_hio_debounce : boolean := true;    -- instantiate debouncers
38
 
39
  -- derived constants
40
 
41
  constant sys_conf_clksys : integer :=
42
    (50000000/sys_conf_clkfx_divide)*sys_conf_clkfx_multiply;
43
  constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
44
 
45
  constant sys_conf_ser2rri_cdinit : integer :=
46
    (sys_conf_clksys/sys_conf_ser2rri_defbaud)-1;
47
 
48
end package sys_conf;
49
 

powered by: WebSVN 2.1.0

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