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-jopdesign-ep1c12/] [config.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
 
2
 
3
 
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
-- Technology and synthesis options
26
  constant CFG_FABTECH : integer := altera;
27
  constant CFG_MEMTECH : integer := altera;
28
  constant CFG_PADTECH : integer := altera;
29
  constant CFG_NOASYNC : integer := 0;
30
  constant CFG_SCAN : integer := 0;
31
-- Clock generator
32
  constant CFG_CLKTECH : integer := inferred;
33
  constant CFG_CLKMUL : integer := 2;
34
  constant CFG_CLKDIV : integer := 2;
35
  constant CFG_OCLKDIV : integer := 2;
36
  constant CFG_PCIDLL : integer := 0;
37
  constant CFG_PCISYSCLK: integer := 0;
38
  constant CFG_CLK_NOFB : integer := 0;
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 := 0;
46
  constant CFG_RSTADDR : integer := 16#00000#;
47
  constant CFG_LDDEL : integer := (1);
48
  constant CFG_NWP : integer := (2);
49
  constant CFG_PWD : integer := 0*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 := 2;
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 := 2;
64
  constant CFG_DLINE : integer := 8;
65
  constant CFG_DREPL : integer := 0;
66
  constant CFG_DLOCK : integer := 0;
67
  constant CFG_DSNOOP : integer := 1 + 0 + 4*0;
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 := 0;
73
  constant CFG_ITLBNUM : integer := 2;
74
  constant CFG_DTLBNUM : integer := 2;
75
  constant CFG_TLB_TYPE : integer := 1 + 0*2;
76
  constant CFG_TLB_REP : integer := 1;
77
  constant CFG_DSU : integer := 1;
78
  constant CFG_ITBSZ : integer := 0;
79
  constant CFG_ATBSZ : integer := 0;
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
-- AMBA settings
90
  constant CFG_DEFMST : integer := (0);
91
  constant CFG_RROBIN : integer := 1;
92
  constant CFG_SPLIT : integer := 0;
93
  constant CFG_AHBIO : integer := 16#FFF#;
94
  constant CFG_APBADDR : integer := 16#800#;
95
  constant CFG_AHB_MON : integer := 0;
96
  constant CFG_AHB_MONERR : integer := 0;
97
  constant CFG_AHB_MONWAR : integer := 0;
98
-- DSU UART
99
  constant CFG_AHB_UART : integer := 1;
100
-- JTAG based DSU interface
101
  constant CFG_AHB_JTAG : integer := 0;
102
-- Ethernet DSU
103
  constant CFG_DSU_ETH : integer := 0 + 0;
104
  constant CFG_ETH_BUF : integer := 1;
105
  constant CFG_ETH_IPM : integer := 16#C0A8#;
106
  constant CFG_ETH_IPL : integer := 16#0033#;
107
  constant CFG_ETH_ENM : integer := 16#00007A#;
108
  constant CFG_ETH_ENL : integer := 16#CC0001#;
109
-- PROM/SRAM controller
110
  constant CFG_SRCTRL : integer := 1;
111
  constant CFG_SRCTRL_PROMWS : integer := (3);
112
  constant CFG_SRCTRL_RAMWS : integer := (2);
113
  constant CFG_SRCTRL_IOWS : integer := (0);
114
  constant CFG_SRCTRL_RMW : integer := 1;
115
  constant CFG_SRCTRL_8BIT : integer := 0;
116
  constant CFG_SRCTRL_SRBANKS : integer := 1;
117
  constant CFG_SRCTRL_BANKSZ : integer := 0;
118
  constant CFG_SRCTRL_ROMASEL : integer := (19);
119
-- LEON2 memory controller
120
  constant CFG_MCTRL_LEON2 : integer := 0;
121
  constant CFG_MCTRL_RAM8BIT : integer := 0;
122
  constant CFG_MCTRL_RAM16BIT : integer := 0;
123
  constant CFG_MCTRL_5CS : integer := 0;
124
  constant CFG_MCTRL_SDEN : integer := 0;
125
  constant CFG_MCTRL_SEPBUS : integer := 0;
126
  constant CFG_MCTRL_INVCLK : integer := 0;
127
  constant CFG_MCTRL_SD64 : integer := 0;
128
  constant CFG_MCTRL_PAGE : integer := 0 + 0;
129
-- SDRAM controller
130
  constant CFG_SDCTRL : integer := 0;
131
  constant CFG_SDCTRL_INVCLK : integer := 0;
132
  constant CFG_SDCTRL_SD64 : integer := 0;
133
  constant CFG_SDCTRL_PAGE : integer := 0 + 0;
134
-- AHB ROM
135
  constant CFG_AHBROMEN : integer := 0;
136
  constant CFG_AHBROPIP : integer := 0;
137
  constant CFG_AHBRODDR : integer := 16#000#;
138
  constant CFG_ROMADDR : integer := 16#000#;
139
  constant CFG_ROMMASK : integer := 16#E00# + 16#000#;
140
-- AHB RAM
141
  constant CFG_AHBRAMEN : integer := 0;
142
  constant CFG_AHBRSZ : integer := 1;
143
  constant CFG_AHBRADDR : integer := 16#A00#;
144
-- Gaisler Ethernet core
145
  constant CFG_GRETH : integer := 0;
146
  constant CFG_GRETH1G : integer := 0;
147
  constant CFG_ETH_FIFO : integer := 8;
148
-- CAN 2.0 interface
149
  constant CFG_CAN : integer := 0;
150
  constant CFG_CANIO : integer := 16#0#;
151
  constant CFG_CANIRQ : integer := 0;
152
  constant CFG_CANLOOP : integer := 0;
153
  constant CFG_CAN_SYNCRST : integer := 0;
154
  constant CFG_CANFT : integer := 0;
155
-- PCI interface
156
  constant CFG_PCI : integer := 0;
157
  constant CFG_PCIVID : integer := 16#0#;
158
  constant CFG_PCIDID : integer := 16#0#;
159
  constant CFG_PCIDEPTH : integer := 8;
160
  constant CFG_PCI_MTF : integer := 1;
161
-- PCI arbiter
162
  constant CFG_PCI_ARB : integer := 0;
163
  constant CFG_PCI_ARBAPB : integer := 0;
164
  constant CFG_PCI_ARB_NGNT : integer := 4;
165
-- PCI trace buffer
166
  constant CFG_PCITBUFEN: integer := 0;
167
  constant CFG_PCITBUF : integer := 256;
168
-- Spacewire interface
169
  constant CFG_SPW_EN : integer := 0;
170
  constant CFG_SPW_NUM : integer := 1;
171
  constant CFG_SPW_AHBFIFO : integer := 4;
172
  constant CFG_SPW_RXFIFO : integer := 16;
173
  constant CFG_SPW_RMAP : integer := 0;
174
  constant CFG_SPW_RMAPBUF : integer := 4;
175
  constant CFG_SPW_RMAPCRC : integer := 0;
176
  constant CFG_SPW_NETLIST : integer := 0;
177
  constant CFG_SPW_FT : integer := 0;
178
  constant CFG_SPW_GRSPW : integer := 2;
179
-- UART 1
180
  constant CFG_UART1_ENABLE : integer := 1;
181
  constant CFG_UART1_FIFO : integer := 1;
182
-- UART 2
183
  constant CFG_UART2_ENABLE : integer := 0;
184
  constant CFG_UART2_FIFO : integer := 1;
185
-- LEON3 interrupt controller
186
  constant CFG_IRQ3_ENABLE : integer := 1;
187
  constant CFG_IRQ3_NSEC : integer := 0;
188
-- Modular timer
189
  constant CFG_GPT_ENABLE : integer := 1;
190
  constant CFG_GPT_NTIM : integer := (2);
191
  constant CFG_GPT_SW : integer := (8);
192
  constant CFG_GPT_TW : integer := (32);
193
  constant CFG_GPT_IRQ : integer := (8);
194
  constant CFG_GPT_SEPIRQ : integer := 1;
195
  constant CFG_GPT_WDOGEN : integer := 0;
196
  constant CFG_GPT_WDOG : integer := 16#0#;
197
-- GPIO port
198
  constant CFG_GRGPIO_ENABLE : integer := 0;
199
  constant CFG_GRGPIO_IMASK : integer := 16#0000#;
200
  constant CFG_GRGPIO_WIDTH : integer := 1;
201
 
202
-- GRLIB debugging
203
  constant CFG_DUART : integer := 0;
204
end;

powered by: WebSVN 2.1.0

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