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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [rtl/] [sys_gen/] [tst_rlink/] [nexys3/] [tb/] [sys_conf_sim.vhd] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 wfjm
-- $Id: sys_conf_sim.vhd 538 2013-10-06 17:21:25Z mueller $
2 15 wfjm
--
3 22 wfjm
-- Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4 15 wfjm
--
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_n3 (for simulation)
17
--
18
-- Dependencies:   -
19 22 wfjm
-- Tool versions:  xst 13.1, 14.6; ghdl 0.29
20 15 wfjm
-- Revision History: 
21
-- Date         Rev Version  Comment
22 22 wfjm
-- 2013-10-06   538   1.1    pll support, use clksys_vcodivide ect
23 15 wfjm
-- 2011-11-26   433   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 22 wfjm
  constant sys_conf_clksys_vcodivide   : positive :=   1;
34
  constant sys_conf_clksys_vcomultiply : positive :=   1;   -- dcm  100 MHz
35
  constant sys_conf_clksys_outdivide   : positive :=   1;   -- sys  100 MHz
36
  constant sys_conf_clksys_gentype     : string   := "DCM";
37 15 wfjm
 
38
  constant sys_conf_ser2rri_cdinit : integer := 1-1;   -- 1 cycle/bit in sim
39
 
40
  constant sys_conf_hio_debounce : boolean := false;   -- no debouncers
41
 
42
  -- derived constants
43
 
44
  constant sys_conf_clksys : integer :=
45 22 wfjm
    ((100000000/sys_conf_clksys_vcodivide)*sys_conf_clksys_vcomultiply) /
46
    sys_conf_clksys_outdivide;
47 15 wfjm
  constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
48
 
49
end package sys_conf;

powered by: WebSVN 2.1.0

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