w11 - vhd 0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
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 2010-2016 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_n2 (for synthesis)
8--
9-- Dependencies: -
10-- Tool versions: xst 12.1-14.7; ghdl 0.29-0.33
11-- Revision History:
12-- Date Rev Version Comment
13-- 2010-12-29 351 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 -- configure clocks --------------------------------------------------------
24 constant sys_conf_clkfx_divide : positive := 1;
25 constant sys_conf_clkfx_multiply : positive := 1; --
26
27 -- configure rlink and hio interfaces --------------------------------------
28 constant sys_conf_ser2rri_defbaud : integer := 115200; -- default 115k baud
29 constant sys_conf_hio_debounce : boolean := true; -- instantiate debouncers
30
31 -- derived constants =======================================================
32
33 constant sys_conf_clksys : integer :=
35 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
36
37 constant sys_conf_ser2rri_cdinit : integer :=
39
40end package sys_conf;
41
integer :=(( 100000000/ sys_conf_clksys_vcodivide)* sys_conf_clksys_vcomultiply)/ sys_conf_clksys_outdivide sys_conf_clksys
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
boolean := true sys_conf_hio_debounce
Definition: sys_conf.vhd:33
positive := 3 sys_conf_clkfx_multiply
integer := 115200 sys_conf_ser2rri_defbaud
Definition: sys_conf.vhd:34