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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [designs/] [leon3-ge-hpe-mini/] [config.vhd.in] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
#include "config.h"
2
#include "tkconfig.h"
3
#include "leon3mini.h"
4
 
5
-----------------------------------------------------------------------------
6
--  LEON3 Demonstration design test bench configuration
7
--  Copyright (C) 2004 Jiri Gaisler, Gaisler Research
8
--
9
--  This program is free software; you can redistribute it and/or modify
10
--  it under the terms of the GNU General Public License as published by
11
--  the Free Software Foundation; either version 2 of the License, or
12
--  (at your option) any later version.
13
--
14
--  This program is distributed in the hope that it will be useful,
15
--  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
--  GNU General Public License for more details.
18
------------------------------------------------------------------------------
19
 
20
 
21
library techmap;
22
use techmap.gencomp.all;
23
 
24
package config is
25
 
26
  -----------------------------------------------------------------------------
27
  -- GLEICHMANN SPECIFIC OPTIONS
28
  -----------------------------------------------------------------------------
29
 
30
  -- boot prom source
31
  -- 0: external
32
  -- 1: internal
33
  constant CFG_BOOTOPT : integer := CONFIG_BOOTOPT;
34
 
35
  -- HPE board version
36
  -- 1: version 1
37
  -- /= 1: version 2
38
  constant CFG_HPEVER  : integer := CONFIG_HPEVER;
39
 
40
  -- provide ahb signals for an external slave
41
  -- slave number can be defined below
42
  -- numbers 8 to 15 can be used safely, numbers below
43
  -- might be used by other LEON cores depending on configuration
44
  constant CFG_EXTAHB : integer := CONFIG_EXTAHB_ENABLE;
45
 
46
  constant CFG_EXTAHB_ADDR : integer := 16#CONFIG_EXTAHB_BASE#;
47
 
48
  -- interrupt number the external slave is assigned to
49
  -- unused at the moment
50
  constant CFG_EXTAHB_IRQ : integer := CONFIG_EXTAHB_INT;
51
 
52
  -- AHB slave number the external slave is assigned to
53
  constant CFG_EXTAHB_NR : integer := 8;
54
 
55
  -- index number the external slave is assigned to
56
  constant CFG_EXTAHB_ID : integer := 8;
57
 
58
  -- shift sdram address to bits 12+
59
  constant CFG_SDSHIFT : integer := CONFIG_SDRAM_SHIFT;
60
 
61
  -----------------------------------------------------------------------------
62
  -- END GLEICHMANN SPECIFIC OPTIONS
63
  -----------------------------------------------------------------------------
64
 
65
#include "config.vhd.h"
66
 
67
end;

powered by: WebSVN 2.1.0

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