w11 - vhd 0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
sys_conf_sim.vhd
Go to the documentation of this file.
1-- $Id: sys_conf_sim.vhd 1181 2019-07-08 17:00:50Z mueller $
2-- SPDX-License-Identifier: GPL-3.0-or-later
3-- Copyright 2018- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4--
5------------------------------------------------------------------------------
6-- Package Name: sys_conf
7-- Description: Definitions for tb_artys7_dummy (for simulation)
8--
9-- Dependencies: -
10-- Tool versions: viv 2017.2-2018.2; ghdl 0.34
11-- Revision History:
12-- Date Rev Version Comment
13-- 2018-08-05 1028 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_clksys_vcodivide : positive := 1;
24 constant sys_conf_clksys_vcomultiply : positive := 8; -- vco 800 MHz
25 constant sys_conf_clksys_outdivide : positive := 10; -- sys 80 MHz
26 constant sys_conf_clksys_gentype : string := "MMCM";
27 constant sys_conf_clkser_vcodivide : positive := 1;
28 constant sys_conf_clkser_vcomultiply : positive := 12; -- vco 1200 MHz
29 constant sys_conf_clkser_outdivide : positive := 10; -- sys 120 MHz
30 constant sys_conf_clkser_gentype : string := "MMCM";
31
32 -- derived constants
33
34 constant sys_conf_clksys : integer :=
37 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
38
39 constant sys_conf_clkser : integer :=
42 constant sys_conf_clkser_mhz : integer := sys_conf_clkser/1000000;
43
44end package sys_conf;
45
positive := 8 sys_conf_clksys_vcomultiply
positive := 10 sys_conf_clkser_outdivide
integer :=(( 100000000/ sys_conf_clksys_vcodivide)* sys_conf_clksys_vcomultiply)/ sys_conf_clksys_outdivide sys_conf_clksys
integer := sys_conf_clkser/ 1000000 sys_conf_clkser_mhz
integer := sys_conf_clksys/ 1000000 sys_conf_clksys_mhz
positive := 1 sys_conf_clksys_vcodivide
positive := 12 sys_conf_clkser_vcomultiply
positive := 1 sys_conf_clkser_vcodivide
string := "MMCM" sys_conf_clkser_gentype
integer :=(( 100000000/ sys_conf_clkser_vcodivide)* sys_conf_clkser_vcomultiply)/ sys_conf_clkser_outdivide sys_conf_clkser
positive := 10 sys_conf_clksys_outdivide
string := "MMCM" sys_conf_clksys_gentype