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_sram_n2 (for synthesis)
8--
9-- Dependencies: -
10-- Tool versions: xst 11.4-14.7; ghdl 0.26-0.33
11-- Revision History:
12-- Date Rev Version Comment
13-- 2016-07-16 788 1.2 use cram_*delay functions to determine delays
14-- 2012-12-20 614 1.1.4 use 85 MHz (max after rlv4 update)
15-- 2010-11-27 341 1.1.3 add sys_conf_clksys_mhz (clksys in MHz)
16-- 2010-11-26 340 1.1.2 default now clksys=60 MHz
17-- 2010-11-22 339 1.1.1 add memctl related constants
18-- 2010-11-13 338 1.1 add dcm related constants
19-- 2010-05-23 294 1.0 Initial version
20------------------------------------------------------------------------------
21
22library ieee;
23use ieee.std_logic_1164.all;
24
25use work.slvtypes.all;
26use work.nxcramlib.all;
27
28package sys_conf is
29
30 constant sys_conf_clkfx_divide : positive := 10;
31 constant sys_conf_clkfx_multiply : positive := 17;
32
33 constant sys_conf_ser2rri_defbaud : integer := 115200; -- default 115k baud
34
35 -- derived constants
36
37 constant sys_conf_clksys : integer :=
39 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
40
41 constant sys_conf_ser2rri_cdinit : integer :=
43
44 constant sys_conf_memctl_read0delay : positive :=
45 cram_read0delay(sys_conf_clksys_mhz);
46 constant sys_conf_memctl_read1delay : positive :=
47 cram_read1delay(sys_conf_clksys_mhz);
48 constant sys_conf_memctl_writedelay : positive :=
49 cram_writedelay(sys_conf_clksys_mhz);
50
51end package sys_conf;
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
positive := cram_writedelay( sys_conf_clksys_mhz ) sys_conf_memctl_writedelay
Definition: sys_conf.vhd:48
positive := 3 sys_conf_clkfx_multiply
integer := 115200 sys_conf_ser2rri_defbaud
Definition: sys_conf.vhd:34
positive := cram_read1delay( sys_conf_clksys_mhz ) sys_conf_memctl_read1delay
Definition: sys_conf.vhd:46
positive := cram_read0delay( sys_conf_clksys_mhz ) sys_conf_memctl_read0delay
Definition: sys_conf.vhd:44