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-midi-ep2s180/] [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 "leon3hpe.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
library gleichmann;
24
use gleichmann.miscellaneous.all;
25
 
26
package config is
27
 
28
  -----------------------------------------------------------------------------
29
  -- GLEICHMANN SPECIFIC OPTIONS
30
  -----------------------------------------------------------------------------
31
 
32
  -- HPE board version
33
  -- for valid options see package miscellaneous
34
  constant CFG_HPEVER  : integer := midi;
35
 
36
  -- provide ahb signals for an external slave
37
  -- slave number can be defined below
38
  -- numbers 8 to 15 can be used safely, numbers below
39
  -- might be used by other LEON cores depending on configuration
40
  constant CFG_EXTAHB : integer := CONFIG_EXTAHB_ENABLE;
41
 
42
  constant CFG_EXTAHB_ADDR : integer := 16#CONFIG_EXTAHB_BASE#;
43
 
44
  -- interrupt number the external slave is assigned to
45
  -- unused at the moment
46
  constant CFG_EXTAHB_IRQ : integer := CONFIG_EXTAHB_INT;
47
 
48
  -- AHB slave number the external slave is assigned to
49
  constant CFG_EXTAHB_NR : integer := 8;
50
 
51
  -- index number the external slave is assigned to
52
  constant CFG_EXTAHB_ID : integer := 8;
53
 
54
  -- lsb sdram address to bit
55
  constant CFG_SDSHIFT : integer := CFG_SDRAM_SHIFT;
56
 
57
  -----------------------------------------------------------------------------
58
  -- END GLEICHMANN SPECIFIC OPTIONS
59
  -----------------------------------------------------------------------------
60
 
61
#include "config.vhd.h"
62
 
63
end;

powered by: WebSVN 2.1.0

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