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 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4--
5------------------------------------------------------------------------------
6-- Package Name: sys_conf
7-- Description: Definitions for tb_nexys3_fusp_dummy (for simulation)
8--
9-- Dependencies: -
10-- Tool versions: xst 13.1, 14.6; ghdl 0.29
11-- Revision History:
12-- Date Rev Version Comment
13-- 2013-10-06 538 1.1 pll support, use clksys_vcodivide ect
14-- 2011-11-25 433 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 constant sys_conf_clksys_vcodivide : positive := 4;
25 constant sys_conf_clksys_vcomultiply : positive := 3; -- dcm 75 MHz
26 constant sys_conf_clksys_outdivide : positive := 1; -- sys 75 MHz
27 constant sys_conf_clksys_gentype : string := "DCM";
28
29 -- derived constants
30
31 constant sys_conf_clksys : integer :=
34 constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
35
36end package sys_conf;
37
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
positive := 10 sys_conf_clksys_outdivide
string := "MMCM" sys_conf_clksys_gentype