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/] [ut699rh-evab/] [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
 
23
-- Technology and synthesis options
24
  constant CFG_FABTECH : integer := virtex4;
25
  constant CFG_MEMTECH : integer := virtex4;
26
  constant CFG_PADTECH : integer := virtex4;
27
  constant CFG_NOASYNC : integer := 0;
28
  constant CFG_SCAN : integer := 0;
29
 
30
-- Clock generator
31
  constant CFG_CLKTECH : integer := virtex4;
32
  constant CFG_CLKMUL : integer := (4);
33
  constant CFG_CLKDIV : integer := (5);
34
  constant CFG_OCLKDIV : integer := 2;
35
  constant CFG_PCIDLL : integer := 0;
36
  constant CFG_PCISYSCLK: integer := 0;
37
  constant CFG_CLK_NOFB : integer := 0;
38
 
39
-- LEON3 processor core
40
  constant CFG_LEON3 : integer := 1;
41
  constant CFG_NCPU : integer := (1);
42
  constant CFG_NWIN : integer := (8);
43
  constant CFG_V8 : integer := 2;
44
  constant CFG_MAC : integer := 0;
45
  constant CFG_SVT : integer := 1;
46
  constant CFG_RSTADDR : integer := 16#00000#;
47
  constant CFG_LDDEL : integer := (2);
48
  constant CFG_NWP : integer := (4);
49
  constant CFG_PWD : integer := 1*2;
50
  constant CFG_FPU : integer := 0 + 16*0;
51
  constant CFG_GRFPUSH : integer := 0;
52
  constant CFG_ICEN : integer := 1;
53
  constant CFG_ISETS : integer := 2;
54
  constant CFG_ISETSZ : integer := 4;
55
  constant CFG_ILINE : integer := 8;
56
  constant CFG_IREPL : integer := 0;
57
  constant CFG_ILOCK : integer := 0;
58
  constant CFG_ILRAMEN : integer := 0;
59
  constant CFG_ILRAMADDR: integer := 16#8E#;
60
  constant CFG_ILRAMSZ : integer := 1;
61
  constant CFG_DCEN : integer := 1;
62
  constant CFG_DSETS : integer := 2;
63
  constant CFG_DSETSZ : integer := 4;
64
  constant CFG_DLINE : integer := 4;
65
  constant CFG_DREPL : integer := 0;
66
  constant CFG_DLOCK : integer := 0;
67
  constant CFG_DSNOOP : integer := 1 + 0 + 4*1;
68
  constant CFG_DFIXED : integer := 16#0#;
69
  constant CFG_DLRAMEN : integer := 0;
70
  constant CFG_DLRAMADDR: integer := 16#8F#;
71
  constant CFG_DLRAMSZ : integer := 1;
72
  constant CFG_MMUEN : integer := 1;
73
  constant CFG_ITLBNUM : integer := 16;
74
  constant CFG_DTLBNUM : integer := 16;
75
  constant CFG_TLB_TYPE : integer := 0;
76
  constant CFG_TLB_REP : integer := 0;
77
  constant CFG_DSU : integer := 1;
78
  constant CFG_ITBSZ : integer := 2;
79
  constant CFG_ATBSZ : integer := 2;
80
  constant CFG_LEON3FT_EN : integer := 0;
81
  constant CFG_IUFT_EN : integer := 0;
82
  constant CFG_FPUFT_EN : integer := 0;
83
  constant CFG_RF_ERRINJ : integer := 0;
84
  constant CFG_CACHE_FT_EN : integer := 0;
85
  constant CFG_CACHE_ERRINJ : integer := 0;
86
  constant CFG_LEON3_NETLIST: integer := 0;
87
  constant CFG_DISAS : integer := 0 + 0;
88
  constant CFG_PCLOW : integer := 2;
89
 
90
-- AMBA settings
91
  constant CFG_DEFMST : integer := (0);
92
  constant CFG_RROBIN : integer := 1;
93
  constant CFG_SPLIT : integer := 0;
94
  constant CFG_AHBIO : integer := 16#FFF#;
95
  constant CFG_APBADDR : integer := 16#800#;
96
  constant CFG_AHB_MON : integer := 0;
97
  constant CFG_AHB_MONERR : integer := 0;
98
  constant CFG_AHB_MONWAR : integer := 0;
99
 
100
-- DSU UART
101
  constant CFG_AHB_UART : integer := 1;
102
 
103
-- JTAG based DSU interface
104
  constant CFG_AHB_JTAG : integer := 1;
105
 
106
-- Ethernet DSU
107
  constant CFG_DSU_ETH : integer := 1 + 0;
108
  constant CFG_ETH_BUF : integer := 2;
109
  constant CFG_ETH_IPM : integer := 16#C0A8#;
110
  constant CFG_ETH_IPL : integer := 16#0030#;
111
  constant CFG_ETH_ENM : integer := 16#00007A#;
112
  constant CFG_ETH_ENL : integer := 16#CC0669#;
113
 
114
-- FTMCTRL memory controller
115
  constant CFG_MCTRLFT : integer := 0;
116
  constant CFG_MCTRLFT_RAM8BIT : integer := 0;
117
  constant CFG_MCTRLFT_RAM16BIT : integer := 0;
118
  constant CFG_MCTRLFT_5CS : integer := 0;
119
  constant CFG_MCTRLFT_SDEN : integer := 0;
120
  constant CFG_MCTRLFT_SEPBUS : integer := 0;
121
  constant CFG_MCTRLFT_INVCLK : integer := 0;
122
  constant CFG_MCTRLFT_EDAC : integer := 0 + 0;
123
  constant CFG_MCTRLFT_PAGE : integer := 0 + 0;
124
  constant CFG_MCTRLFT_ROMASEL : integer := 0;
125
  constant CFG_MCTRLFT_WFB : integer := 0;
126
 
127
-- LEON2 memory controller
128
  constant CFG_MCTRL_LEON2 : integer := 1;
129
  constant CFG_MCTRL_RAM8BIT : integer := 1;
130
  constant CFG_MCTRL_RAM16BIT : integer := 0;
131
  constant CFG_MCTRL_5CS : integer := 1;
132
  constant CFG_MCTRL_SDEN : integer := 1;
133
  constant CFG_MCTRL_SEPBUS : integer := 0;
134
  constant CFG_MCTRL_INVCLK : integer := 0;
135
  constant CFG_MCTRL_SD64 : integer := 0;
136
  constant CFG_MCTRL_PAGE : integer := 0 + 0;
137
 
138
-- AHB status register
139
  constant CFG_AHBSTAT : integer := 1;
140
  constant CFG_AHBSTATN : integer := (1);
141
 
142
-- Gaisler Ethernet core
143
  constant CFG_GRETH : integer := 1;
144
  constant CFG_GRETH1G : integer := 0;
145
  constant CFG_ETH_FIFO : integer := 32;
146
 
147
-- CAN 2.0 interface
148
  constant CFG_CAN : integer := 1;
149
  constant CFG_CAN_NUM : integer := (2);
150
  constant CFG_CANIO : integer := 16#200#;
151
  constant CFG_CANIRQ : integer := (4);
152
  constant CFG_CANSEPIRQ: integer := 1;
153
  constant CFG_CAN_SYNCRST : integer := 1;
154
  constant CFG_CANFT : integer := 0;
155
 
156
-- PCI interface
157
  constant CFG_PCI : integer := 3;
158
  constant CFG_PCIVID : integer := 16#1AD0#;
159
  constant CFG_PCIDID : integer := 16#0699#;
160
  constant CFG_PCIDEPTH : integer := 8;
161
  constant CFG_PCI_MTF : integer := 1;
162
 
163
-- PCI arbiter
164
  constant CFG_PCI_ARB : integer := 1;
165
  constant CFG_PCI_ARBAPB : integer := 1;
166
  constant CFG_PCI_ARB_NGNT : integer := (4);
167
 
168
-- PCI trace buffer
169
  constant CFG_PCITBUFEN: integer := 0;
170
  constant CFG_PCITBUF : integer := 256;
171
 
172
-- Spacewire interface
173
  constant CFG_SPW_EN : integer := 0;
174
  constant CFG_SPW_NUM : integer := 1;
175
  constant CFG_SPW_AHBFIFO : integer := 4;
176
  constant CFG_SPW_RXFIFO : integer := 16;
177
  constant CFG_SPW_RMAP : integer := 0;
178
  constant CFG_SPW_RMAPBUF : integer := 4;
179
  constant CFG_SPW_RMAPCRC : integer := 0;
180
  constant CFG_SPW_NETLIST : integer := 0;
181
  constant CFG_SPW_FT : integer := 0;
182
 
183
-- UART 1
184
  constant CFG_UART1_ENABLE : integer := 1;
185
  constant CFG_UART1_FIFO : integer := 8;
186
 
187
-- UART 2
188
  constant CFG_UART2_ENABLE : integer := 0;
189
  constant CFG_UART2_FIFO : integer := 1;
190
 
191
-- LEON3 interrupt controller
192
  constant CFG_IRQ3_ENABLE : integer := 1;
193
 
194
-- Modular timer
195
  constant CFG_GPT_ENABLE : integer := 1;
196
  constant CFG_GPT_NTIM : integer := (4);
197
  constant CFG_GPT_SW : integer := (12);
198
  constant CFG_GPT_TW : integer := (32);
199
  constant CFG_GPT_IRQ : integer := (6);
200
  constant CFG_GPT_SEPIRQ : integer := 1;
201
  constant CFG_GPT_WDOGEN : integer := 1;
202
  constant CFG_GPT_WDOG : integer := 16#FFFFF#;
203
 
204
-- GPIO port
205
  constant CFG_GRGPIO_ENABLE : integer := 1;
206
  constant CFG_GRGPIO_IMASK : integer := 16#FFFE#;
207
  constant CFG_GRGPIO_WIDTH : integer := (16);
208
 
209
-- GRLIB debugging
210
  constant CFG_DUART : integer := 0;
211
 
212
 
213
 
214
end;

powered by: WebSVN 2.1.0

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