1 |
36 |
wfjm |
-- $Id: sys_conf_sim.vhd 770 2016-05-28 14:15:00Z mueller $
|
2 |
2 |
wfjm |
--
|
3 |
36 |
wfjm |
-- Copyright 2007-2016 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
4 |
2 |
wfjm |
--
|
5 |
|
|
-- This program is free software; you may redistribute and/or modify it under
|
6 |
|
|
-- the terms of the GNU General Public License as published by the Free
|
7 |
|
|
-- Software Foundation, either version 2, or at your option any later version.
|
8 |
|
|
--
|
9 |
|
|
-- This program is distributed in the hope that it will be useful, but
|
10 |
|
|
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
11 |
|
|
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
12 |
|
|
-- for complete details.
|
13 |
|
|
--
|
14 |
|
|
------------------------------------------------------------------------------
|
15 |
|
|
-- Package Name: sys_conf
|
16 |
|
|
-- Description: Definitions for sys_w11a_s3 (for simulation)
|
17 |
|
|
--
|
18 |
|
|
-- Dependencies: -
|
19 |
36 |
wfjm |
-- Tool versions: xst 8.1-14.7; ghdl 0.18-0.33
|
20 |
2 |
wfjm |
-- Revision History:
|
21 |
|
|
-- Date Rev Version Comment
|
22 |
36 |
wfjm |
-- 2016-05-28 770 1.3.1 sys_conf_mem_losize now type natural
|
23 |
|
|
-- 2016-03-22 750 1.3 add sys_conf_cache_twidth
|
24 |
34 |
wfjm |
-- 2015-06-26 695 1.2.1 add sys_conf_(dmscnt|dmhbpt*|dmcmon*)
|
25 |
30 |
wfjm |
-- 2015-03-14 658 1.2 add sys_conf_ibd_* definitions
|
26 |
28 |
wfjm |
-- 2014-12-22 619 1.1.2 add _rbmon_awidth
|
27 |
2 |
wfjm |
-- 2010-05-05 288 1.1.1 add sys_conf_hio_debounce
|
28 |
|
|
-- 2008-02-23 118 1.1 add memory config
|
29 |
|
|
-- 2007-09-23 84 1.0 Initial version
|
30 |
|
|
------------------------------------------------------------------------------
|
31 |
|
|
|
32 |
|
|
library ieee;
|
33 |
|
|
use ieee.std_logic_1164.all;
|
34 |
|
|
|
35 |
|
|
use work.slvtypes.all;
|
36 |
|
|
|
37 |
|
|
package sys_conf is
|
38 |
|
|
|
39 |
30 |
wfjm |
-- configure rlink and hio interfaces --------------------------------------
|
40 |
|
|
constant sys_conf_ser2rri_cdinit : integer := 1-1; -- 1 cycle/bit in sim
|
41 |
2 |
wfjm |
constant sys_conf_hio_debounce : boolean := false; -- no debouncers
|
42 |
30 |
wfjm |
|
43 |
|
|
-- configure debug and monitoring units ------------------------------------
|
44 |
34 |
wfjm |
constant sys_conf_rbmon_awidth : integer := 9; -- use 0 to disable
|
45 |
|
|
constant sys_conf_ibmon_awidth : integer := 9; -- use 0 to disable
|
46 |
|
|
constant sys_conf_dmscnt : boolean := true;
|
47 |
|
|
constant sys_conf_dmhbpt_nunit : integer := 2; -- use 0 to disable
|
48 |
|
|
constant sys_conf_dmcmon_awidth : integer := 9; -- use 0 to disable
|
49 |
28 |
wfjm |
|
50 |
30 |
wfjm |
-- configure w11 cpu core --------------------------------------------------
|
51 |
2 |
wfjm |
constant sys_conf_bram : integer := 0; -- no bram, use cache
|
52 |
|
|
constant sys_conf_bram_awidth : integer := 14; -- bram size (16 kB)
|
53 |
36 |
wfjm |
constant sys_conf_mem_losize : natural := 8#037777#; -- 1 MByte
|
54 |
|
|
--constant sys_conf_mem_losize : natural := 8#003777#; -- 128 kByte (debug)
|
55 |
2 |
wfjm |
|
56 |
|
|
-- constant sys_conf_bram : integer := 1; -- bram only
|
57 |
|
|
-- constant sys_conf_bram_awidth : integer := 16; -- bram size (64 kB)
|
58 |
36 |
wfjm |
-- constant sys_conf_mem_losize : natural := 8#001777#; -- 64 kByte
|
59 |
2 |
wfjm |
|
60 |
|
|
constant sys_conf_cache_fmiss : slbit := '0'; -- cache enabled
|
61 |
36 |
wfjm |
constant sys_conf_cache_twidth : integer := 9; -- 8kB cache
|
62 |
2 |
wfjm |
|
63 |
30 |
wfjm |
-- configure w11 system devices --------------------------------------------
|
64 |
|
|
-- configure character and communication devices
|
65 |
|
|
constant sys_conf_ibd_dl11_1 : boolean := true; -- 2nd DL11
|
66 |
|
|
constant sys_conf_ibd_pc11 : boolean := true; -- PC11
|
67 |
|
|
constant sys_conf_ibd_lp11 : boolean := true; -- LP11
|
68 |
|
|
|
69 |
|
|
-- configure mass storage devices
|
70 |
|
|
constant sys_conf_ibd_rk11 : boolean := true; -- RK11
|
71 |
|
|
constant sys_conf_ibd_rl11 : boolean := true; -- RL11
|
72 |
|
|
constant sys_conf_ibd_rhrp : boolean := true; -- RHRP
|
73 |
31 |
wfjm |
constant sys_conf_ibd_tm11 : boolean := true; -- TM11
|
74 |
30 |
wfjm |
|
75 |
|
|
-- configure other devices
|
76 |
|
|
constant sys_conf_ibd_iist : boolean := true; -- IIST
|
77 |
|
|
|
78 |
2 |
wfjm |
end package sys_conf;
|
79 |
|
|
|