1 |
31 |
wfjm |
-- $Id: sys_conf_sim.vhd 683 2015-05-17 21:54:35Z mueller $
|
2 |
2 |
wfjm |
--
|
3 |
30 |
wfjm |
-- Copyright 2007-2015 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 |
28 |
wfjm |
-- Tool versions: xst 8.1-14.7; ghdl 0.18-0.31
|
20 |
2 |
wfjm |
-- Revision History:
|
21 |
|
|
-- Date Rev Version Comment
|
22 |
30 |
wfjm |
-- 2015-03-14 658 1.2 add sys_conf_ibd_* definitions
|
23 |
28 |
wfjm |
-- 2014-12-22 619 1.1.2 add _rbmon_awidth
|
24 |
2 |
wfjm |
-- 2010-05-05 288 1.1.1 add sys_conf_hio_debounce
|
25 |
|
|
-- 2008-02-23 118 1.1 add memory config
|
26 |
|
|
-- 2007-09-23 84 1.0 Initial version
|
27 |
|
|
------------------------------------------------------------------------------
|
28 |
|
|
|
29 |
|
|
library ieee;
|
30 |
|
|
use ieee.std_logic_1164.all;
|
31 |
|
|
|
32 |
|
|
use work.slvtypes.all;
|
33 |
|
|
|
34 |
|
|
package sys_conf is
|
35 |
|
|
|
36 |
30 |
wfjm |
-- configure rlink and hio interfaces --------------------------------------
|
37 |
|
|
constant sys_conf_ser2rri_cdinit : integer := 1-1; -- 1 cycle/bit in sim
|
38 |
2 |
wfjm |
constant sys_conf_hio_debounce : boolean := false; -- no debouncers
|
39 |
30 |
wfjm |
|
40 |
|
|
-- configure debug and monitoring units ------------------------------------
|
41 |
28 |
wfjm |
constant sys_conf_rbmon_awidth : integer := 9; -- use 0 to disable rbmon
|
42 |
30 |
wfjm |
constant sys_conf_ibmon_awidth : integer := 9; -- use 0 to disable ibmon
|
43 |
28 |
wfjm |
|
44 |
30 |
wfjm |
-- configure w11 cpu core --------------------------------------------------
|
45 |
2 |
wfjm |
constant sys_conf_bram : integer := 0; -- no bram, use cache
|
46 |
|
|
constant sys_conf_bram_awidth : integer := 14; -- bram size (16 kB)
|
47 |
|
|
constant sys_conf_mem_losize : integer := 8#037777#; -- 1 MByte
|
48 |
|
|
--constant sys_conf_mem_losize : integer := 8#003777#; -- 128 kByte (debug)
|
49 |
|
|
|
50 |
|
|
-- constant sys_conf_bram : integer := 1; -- bram only
|
51 |
|
|
-- constant sys_conf_bram_awidth : integer := 16; -- bram size (64 kB)
|
52 |
|
|
-- constant sys_conf_mem_losize : integer := 8#001777#; -- 64 kByte
|
53 |
|
|
|
54 |
|
|
constant sys_conf_cache_fmiss : slbit := '0'; -- cache enabled
|
55 |
|
|
|
56 |
30 |
wfjm |
-- configure w11 system devices --------------------------------------------
|
57 |
|
|
-- configure character and communication devices
|
58 |
|
|
constant sys_conf_ibd_dl11_1 : boolean := true; -- 2nd DL11
|
59 |
|
|
constant sys_conf_ibd_pc11 : boolean := true; -- PC11
|
60 |
|
|
constant sys_conf_ibd_lp11 : boolean := true; -- LP11
|
61 |
|
|
|
62 |
|
|
-- configure mass storage devices
|
63 |
|
|
constant sys_conf_ibd_rk11 : boolean := true; -- RK11
|
64 |
|
|
constant sys_conf_ibd_rl11 : boolean := true; -- RL11
|
65 |
|
|
constant sys_conf_ibd_rhrp : boolean := true; -- RHRP
|
66 |
31 |
wfjm |
constant sys_conf_ibd_tm11 : boolean := true; -- TM11
|
67 |
30 |
wfjm |
|
68 |
|
|
-- configure other devices
|
69 |
|
|
constant sys_conf_ibd_iist : boolean := true; -- IIST
|
70 |
|
|
|
71 |
2 |
wfjm |
end package sys_conf;
|
72 |
|
|
|