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-avnet-3s1500/] [config.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
-----------------------------------------------------------------------------
2
-- LEON3 Demonstration design test bench configuration
3
-- Copyright (C) 2004 Jiri Gaisler, Gaisler Research
4
--
5
-- This program is free software; you can redistribute it and/or modify
6
-- it under the terms of the GNU General Public License as published by
7
-- the Free Software Foundation; either version 2 of the License, or
8
-- (at your option) any later version.
9
--
10
-- This program is distributed in the hope that it will be useful,
11
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
12
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
-- GNU General Public License for more details.
14
------------------------------------------------------------------------------
15
 
16
 
17
library techmap;
18
use techmap.gencomp.all;
19
 
20
package config is
21
 
22
-- board options
23
 
24
  constant CFG_ADS_DAU_MEZZ : integer := 1;
25
 
26
-- Technology and synthesis options
27
  constant CFG_FABTECH : integer := spartan3;
28
  constant CFG_MEMTECH : integer := spartan3;
29
  constant CFG_PADTECH : integer := spartan3;
30
  constant CFG_NOASYNC : integer := 0;
31
  constant CFG_SCAN : integer := 0;
32
 
33
-- Clock generator
34
  constant CFG_CLKTECH : integer := spartan3;
35
  constant CFG_CLKMUL : integer := (3);
36
  constant CFG_CLKDIV : integer := (5);
37
  constant CFG_OCLKDIV : integer := 2;
38
  constant CFG_PCIDLL : integer := 0;
39
  constant CFG_PCISYSCLK: integer := 0;
40
  constant CFG_CLK_NOFB : integer := 1;
41
 
42
-- LEON3 processor core
43
  constant CFG_LEON3 : integer := 1;
44
  constant CFG_NCPU : integer := (1);
45
  constant CFG_NWIN : integer := (8);
46
  constant CFG_V8 : integer := 2;
47
  constant CFG_MAC : integer := 0;
48
  constant CFG_SVT : integer := 1;
49
  constant CFG_RSTADDR : integer := 16#00000#;
50
  constant CFG_LDDEL : integer := (1);
51
  constant CFG_NWP : integer := (2);
52
  constant CFG_PWD : integer := 0*2;
53
  constant CFG_FPU : integer := 0 + 16*0;
54
  constant CFG_GRFPUSH : integer := 0;
55
  constant CFG_ICEN : integer := 1;
56
  constant CFG_ISETS : integer := 2;
57
  constant CFG_ISETSZ : integer := 4;
58
  constant CFG_ILINE : integer := 8;
59
  constant CFG_IREPL : integer := 1;
60
  constant CFG_ILOCK : integer := 0;
61
  constant CFG_ILRAMEN : integer := 0;
62
  constant CFG_ILRAMADDR: integer := 16#8E#;
63
  constant CFG_ILRAMSZ : integer := 1;
64
  constant CFG_DCEN : integer := 1;
65
  constant CFG_DSETS : integer := 1;
66
  constant CFG_DSETSZ : integer := 4;
67
  constant CFG_DLINE : integer := 4;
68
  constant CFG_DREPL : integer := 0;
69
  constant CFG_DLOCK : integer := 0;
70
  constant CFG_DSNOOP : integer := 1 + 0 + 4*0;
71
  constant CFG_DFIXED : integer := 16#0#;
72
  constant CFG_DLRAMEN : integer := 0;
73
  constant CFG_DLRAMADDR: integer := 16#8F#;
74
  constant CFG_DLRAMSZ : integer := 1;
75
  constant CFG_MMUEN : integer := 0;
76
  constant CFG_ITLBNUM : integer := 2;
77
  constant CFG_DTLBNUM : integer := 2;
78
  constant CFG_TLB_TYPE : integer := 1 + 0*2;
79
  constant CFG_TLB_REP : integer := 1;
80
  constant CFG_DSU : integer := 1;
81
  constant CFG_ITBSZ : integer := 4;
82
  constant CFG_ATBSZ : integer := 4;
83
  constant CFG_LEON3FT_EN : integer := 0;
84
  constant CFG_IUFT_EN : integer := 0;
85
  constant CFG_FPUFT_EN : integer := 0;
86
  constant CFG_RF_ERRINJ : integer := 0;
87
  constant CFG_CACHE_FT_EN : integer := 0;
88
  constant CFG_CACHE_ERRINJ : integer := 0;
89
  constant CFG_LEON3_NETLIST: integer := 0;
90
  constant CFG_DISAS : integer := 0 + 0;
91
  constant CFG_PCLOW : integer := 2;
92
 
93
-- AMBA settings
94
  constant CFG_DEFMST : integer := (0);
95
  constant CFG_RROBIN : integer := 1;
96
  constant CFG_SPLIT : integer := 0;
97
  constant CFG_AHBIO : integer := 16#FFF#;
98
  constant CFG_APBADDR : integer := 16#800#;
99
  constant CFG_AHB_MON : integer := 0;
100
  constant CFG_AHB_MONERR : integer := 0;
101
  constant CFG_AHB_MONWAR : integer := 0;
102
 
103
-- DSU UART
104
  constant CFG_AHB_UART : integer := 0;
105
 
106
-- JTAG based DSU interface
107
  constant CFG_AHB_JTAG : integer := 1;
108
 
109
-- Ethernet DSU
110
  constant CFG_DSU_ETH : integer := 1 + 0;
111
  constant CFG_ETH_BUF : integer := 2;
112
  constant CFG_ETH_IPM : integer := 16#C0A8#;
113
  constant CFG_ETH_IPL : integer := 16#0033#;
114
  constant CFG_ETH_ENM : integer := 16#00007A#;
115
  constant CFG_ETH_ENL : integer := 16#CC0034#;
116
 
117
-- LEON2 memory controller
118
  constant CFG_MCTRL_LEON2 : integer := 1;
119
  constant CFG_MCTRL_RAM8BIT : integer := 0;
120
  constant CFG_MCTRL_RAM16BIT : integer := 0;
121
  constant CFG_MCTRL_5CS : integer := 0;
122
  constant CFG_MCTRL_SDEN : integer := 1;
123
  constant CFG_MCTRL_SEPBUS : integer := 0;
124
  constant CFG_MCTRL_INVCLK : integer := 0;
125
  constant CFG_MCTRL_SD64 : integer := 0;
126
  constant CFG_MCTRL_PAGE : integer := 0 + 0;
127
 
128
-- AHB ROM
129
  constant CFG_AHBROMEN : integer := 0;
130
  constant CFG_AHBROPIP : integer := 0;
131
  constant CFG_AHBRODDR : integer := 16#000#;
132
  constant CFG_ROMADDR : integer := 16#000#;
133
  constant CFG_ROMMASK : integer := 16#E00# + 16#000#;
134
 
135
-- AHB RAM
136
  constant CFG_AHBRAMEN : integer := 0;
137
  constant CFG_AHBRSZ : integer := 1;
138
  constant CFG_AHBRADDR : integer := 16#A00#;
139
 
140
-- Gaisler Ethernet core
141
  constant CFG_GRETH : integer := 1;
142
  constant CFG_GRETH1G : integer := 0;
143
  constant CFG_ETH_FIFO : integer := 32;
144
 
145
-- CAN 2.0 interface
146
  constant CFG_CAN : integer := 1;
147
  constant CFG_CANIO : integer := 16#C00#;
148
  constant CFG_CANIRQ : integer := (13);
149
  constant CFG_CANLOOP : integer := 0;
150
  constant CFG_CAN_SYNCRST : integer := 0;
151
  constant CFG_CANFT : integer := 0;
152
 
153
-- PCI interface
154
  constant CFG_PCI : integer := 2;
155
  constant CFG_PCIVID : integer := 16#16E3#;
156
  constant CFG_PCIDID : integer := 16#0210#;
157
  constant CFG_PCIDEPTH : integer := 16;
158
  constant CFG_PCI_MTF : integer := 1;
159
 
160
-- PCI arbiter
161
  constant CFG_PCI_ARB : integer := 0;
162
  constant CFG_PCI_ARBAPB : integer := 0;
163
  constant CFG_PCI_ARB_NGNT : integer := 4;
164
 
165
-- PCI trace buffer
166
  constant CFG_PCITBUFEN: integer := 0;
167
  constant CFG_PCITBUF : integer := 256;
168
 
169
-- UART 1
170
  constant CFG_UART1_ENABLE : integer := 1;
171
  constant CFG_UART1_FIFO : integer := 8;
172
 
173
-- LEON3 interrupt controller
174
  constant CFG_IRQ3_ENABLE : integer := 1;
175
  constant CFG_IRQ3_NSEC : integer := 0;
176
 
177
-- Modular timer
178
  constant CFG_GPT_ENABLE : integer := 1;
179
  constant CFG_GPT_NTIM : integer := (2);
180
  constant CFG_GPT_SW : integer := (8);
181
  constant CFG_GPT_TW : integer := (32);
182
  constant CFG_GPT_IRQ : integer := (8);
183
  constant CFG_GPT_SEPIRQ : integer := 1;
184
  constant CFG_GPT_WDOGEN : integer := 0;
185
  constant CFG_GPT_WDOG : integer := 16#0#;
186
 
187
-- VGA and PS2/ interface
188
  constant CFG_KBD_ENABLE : integer := 1;
189
  constant CFG_VGA_ENABLE : integer := 0;
190
  constant CFG_SVGA_ENABLE : integer := 1;
191
 
192
-- GRLIB debugging
193
  constant CFG_DUART : integer := 0;
194
 
195
 
196
end;

powered by: WebSVN 2.1.0

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