OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.5/] [rtl/] [sys_gen/] [w11a/] [s3board/] [sys_conf.vhd] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wfjm
-- $Id: sys_conf.vhd 314 2010-07-09 17:38:41Z mueller $
2
--
3
-- Copyright 2007-2008 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
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 synthesis)
17
--
18
-- Dependencies:   -
19
-- Tool versions:  xst 8.1, 8.2, 9.1, 9.2; ghdl 0.18-0.25
20
-- Revision History: 
21
-- Date         Rev Version  Comment
22
-- 2010-05-05   288   1.1.1  add sys_conf_hio_debounce
23
-- 2008-02-23   118   1.1    add memory config
24
-- 2007-09-23    84   1.0    Initial version 
25
------------------------------------------------------------------------------
26
 
27
library ieee;
28
use ieee.std_logic_1164.all;
29
 
30
use work.slvtypes.all;
31
 
32
package sys_conf is
33
 
34
  constant sys_conf_hio_debounce : boolean := true;    -- instantiate debouncers
35
  constant sys_conf_ser2rri_cdinit : integer := 434-1;   -- 50000000/115200
36
 
37
  constant sys_conf_bram           : integer :=  0;      -- no bram, use cache
38
  constant sys_conf_bram_awidth    : integer := 14;      -- bram size (16 kB)
39
  constant sys_conf_mem_losize     : integer := 8#037777#; --   1 MByte
40
--constant sys_conf_mem_losize     : integer := 8#003777#; -- 128 kByte (debug)
41
 
42
--  constant sys_conf_bram           : integer :=  1;      --  bram only 
43
--  constant sys_conf_bram_awidth    : integer := 15;      -- bram size (32 kB)
44
--  constant sys_conf_mem_losize     : integer := 8#000777#; -- 32 kByte
45
 
46
  constant sys_conf_cache_fmiss    : slbit   := '0';     -- cache enabled
47
 
48
end package sys_conf;
49
 
50
-- Note: mem_losize holds 16 MSB of the PA of the addressable memory
51
--        2 211 111 111 110 000 000 000
52
--        1 098 765 432 109 876 543 210
53
--
54
--        0 000 000 011 111 111 000 000  -> 00037777  --> 14bit -->  16 kByte
55
--        0 000 000 111 111 111 000 000  -> 00077777  --> 15bit -->  32 kByte
56
--        0 000 001 111 111 111 000 000  -> 00177777  --> 16bit -->  64 kByte
57
--        0 000 011 111 111 111 000 000  -> 00377777  --> 17bit --> 128 kByte
58
--        0 011 111 111 111 111 000 000  -> 03777777  --> 20bit -->   1 MByte
59
--        1 110 111 111 111 111 000 000  -> 16777777  --> 22bit -->   4 MByte
60
--                                          upper 256 kB excluded for 11/70 UB

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.