w11 - vhd 0.791
W11 CPU core and support modules
sys_conf.vhd
Go to the documentation of this file.
1-- $Id: sys_conf.vhd 1181 2019-07-08 17:00:50Z mueller $
2-- SPDX-License-Identifier: GPL-3.0-or-later
3-- Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4--
5------------------------------------------------------------------------------
6-- Package Name: sys_conf
7-- Description: Definitions for sys_tst_rlink_cuff_ic_atlys (for synthesis)
8--
9-- Dependencies: -
10-- Tool versions: xst 13.3-14.7; ghdl 0.29-0.31
11-- Revision History:
12-- Date Rev Version Comment
13-- 2013-01-06 472 1.0 Initial version
14------------------------------------------------------------------------------
15
16library ieee;
17use ieee.std_logic_1164.all;
18
19use work.slvtypes.all;
20
21package sys_conf is
22
23 constant sys_conf_clkfx_divide : positive := 1;
24 constant sys_conf_clkfx_multiply : positive := 1;
25
26 constant sys_conf_ser2rri_defbaud : integer := 115200; -- default 115k baud
27 constant sys_conf_hio_debounce : boolean := true; -- instantiate debouncers
28
29 constant sys_conf_fx2_type : string := "ic2";
30
31 -- dummy values defs for generic parameters of as controller
32 constant sys_conf_fx2_rdpwldelay : positive := 1;
33 constant sys_conf_fx2_rdpwhdelay : positive := 1;
34 constant sys_conf_fx2_wrpwldelay : positive := 1;
35 constant sys_conf_fx2_wrpwhdelay : positive := 1;
36 constant sys_conf_fx2_flagdelay : positive := 1;
37
38 -- pktend timer setting
39 -- petowidth=10 -> 2^10 30 MHz clocks -> ~33 usec (normal operation)
40 constant sys_conf_fx2_petowidth : positive := 10;
41
42 constant sys_conf_fx2_ccwidth : positive := 5;
43
44 -- derived constants
45
46 constant sys_conf_clksys : integer :=
48 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
49
50 constant sys_conf_ser2rri_cdinit : integer :=
52
53end package sys_conf;
integer :=(( 100000000/ sys_conf_clksys_vcodivide)* sys_conf_clksys_vcomultiply)/ sys_conf_clksys_outdivide sys_conf_clksys
positive := 5 sys_conf_fx2_ccwidth
Definition: sys_conf.vhd:42
positive := 10 sys_conf_fx2_petowidth
Definition: sys_conf.vhd:40
positive := 2 sys_conf_clkfx_divide
integer :=( sys_conf_clkser/ sys_conf_ser2rri_defbaud)- 1 sys_conf_ser2rri_cdinit
Definition: sys_conf.vhd:48
integer := sys_conf_clksys/ 1000000 sys_conf_clksys_mhz
positive := 1 sys_conf_fx2_wrpwldelay
Definition: sys_conf.vhd:34
positive := 1 sys_conf_fx2_flagdelay
Definition: sys_conf.vhd:36
boolean := true sys_conf_hio_debounce
Definition: sys_conf.vhd:33
positive := 1 sys_conf_fx2_wrpwhdelay
Definition: sys_conf.vhd:35
positive := 1 sys_conf_fx2_rdpwhdelay
Definition: sys_conf.vhd:33
positive := 1 sys_conf_fx2_rdpwldelay
Definition: sys_conf.vhd:32
string := "ic2" sys_conf_fx2_type
Definition: sys_conf.vhd:29
positive := 3 sys_conf_clkfx_multiply
integer := 115200 sys_conf_ser2rri_defbaud
Definition: sys_conf.vhd:34