w11 - vhd 0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
sys_conf1.vhd
Go to the documentation of this file.
1-- $Id: sys_conf1.vhd 1181 2019-07-08 17:00:50Z mueller $
2-- SPDX-License-Identifier: GPL-3.0-or-later
3-- Copyright 2015-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_serloop1_n4 (for synthesis)
8--
9-- Dependencies: -
10-- Tool versions: viv 2014.4-2015.4; ghdl 0.31-0.33
11-- Revision History:
12-- Date Rev Version Comment
13-- 2016-03-25 751 1.1 clock now from cmt and configurable
14-- 2015-02-01 641 1.0 Initial version
15------------------------------------------------------------------------------
16
17library ieee;
18use ieee.std_logic_1164.all;
19
20use work.slvtypes.all;
21
22package sys_conf is
23
24 -- configure clocks --------------------------------------------------------
25 constant sys_conf_clksys_vcodivide : positive := 1;
26 constant sys_conf_clksys_vcomultiply : positive := 12; -- vco 1200 MHz
27 constant sys_conf_clksys_outdivide : positive := 10; -- sys 120 MHz
28 constant sys_conf_clksys_gentype : string := "MMCM";
29
30 constant sys_conf_clkdiv_usecdiv : integer := 100; -- default usec
31 constant sys_conf_clkdiv_msecdiv : integer := 1000; -- default msec
32
33 -- configure hio interfaces -----------------------------------------------
34 constant sys_conf_hio_debounce : boolean := true; -- instantiate debouncers
35
36 -- configure serport ------------------------------------------------------
37 constant sys_conf_uart_defbaud : integer := 115200; -- default 115k baud
38
39 -- derived constants =======================================================
40 constant sys_conf_clksys : integer :=
43 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
44
45 constant sys_conf_uart_cdinit : integer :=
47
48end package sys_conf;
integer := 100 sys_conf_clkdiv_usecdiv
Definition: sys_conf1.vhd:29
positive := 8 sys_conf_clksys_vcomultiply
integer :=(( 100000000/ sys_conf_clksys_vcodivide)* sys_conf_clksys_vcomultiply)/ sys_conf_clksys_outdivide sys_conf_clksys
integer := sys_conf_clksys/ 1000000 sys_conf_clksys_mhz
positive := 1 sys_conf_clksys_vcodivide
integer := 115200 sys_conf_uart_defbaud
Definition: sys_conf1.vhd:36
boolean := true sys_conf_hio_debounce
Definition: sys_conf.vhd:33
integer := 1000 sys_conf_clkdiv_msecdiv
Definition: sys_conf1.vhd:30
positive := 10 sys_conf_clksys_outdivide
integer :=( sys_conf_clksys/ sys_conf_uart_defbaud)- 1 sys_conf_uart_cdinit
Definition: sys_conf1.vhd:44
string := "MMCM" sys_conf_clksys_gentype