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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [components/] [vga/] [software/] [exe_bsp/] [system.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
/*
2
 * system.h - SOPC Builder system and BSP software package information
3
 *
4
 * Machine generated for CPU 'nios2_qsys_0' in SOPC Builder design 'vga_soc'
5
 * SOPC Builder design path: ../../vga_soc.sopcinfo
6
 *
7
 * Generated: Wed Aug 14 20:55:36 CEST 2013
8
 */
9
 
10
/*
11
 * DO NOT MODIFY THIS FILE
12
 *
13
 * Changing this file will have subtle consequences
14
 * which will almost certainly lead to a nonfunctioning
15
 * system. If you do modify this file, be aware that your
16
 * changes will be overwritten and lost when this file
17
 * is generated again.
18
 *
19
 * DO NOT MODIFY THIS FILE
20
 */
21
 
22
/*
23
 * License Agreement
24
 *
25
 * Copyright (c) 2008
26
 * Altera Corporation, San Jose, California, USA.
27
 * All rights reserved.
28
 *
29
 * Permission is hereby granted, free of charge, to any person obtaining a
30
 * copy of this software and associated documentation files (the "Software"),
31
 * to deal in the Software without restriction, including without limitation
32
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
33
 * and/or sell copies of the Software, and to permit persons to whom the
34
 * Software is furnished to do so, subject to the following conditions:
35
 *
36
 * The above copyright notice and this permission notice shall be included in
37
 * all copies or substantial portions of the Software.
38
 *
39
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
45
 * DEALINGS IN THE SOFTWARE.
46
 *
47
 * This agreement shall be governed in all respects by the laws of the State
48
 * of California and by the laws of the United States of America.
49
 */
50
 
51
#ifndef __SYSTEM_H_
52
#define __SYSTEM_H_
53
 
54
/* Include definitions from linker script generator */
55
#include "linker.h"
56
 
57
 
58
/*
59
 * CPU configuration
60
 *
61
 */
62
 
63
#define ALT_CPU_ARCHITECTURE "altera_nios2_qsys"
64
#define ALT_CPU_BIG_ENDIAN 0
65
#define ALT_CPU_BREAK_ADDR 0x30820
66
#define ALT_CPU_CPU_FREQ 50000000u
67
#define ALT_CPU_CPU_ID_SIZE 1
68
#define ALT_CPU_CPU_ID_VALUE 0x00000000
69
#define ALT_CPU_CPU_IMPLEMENTATION "tiny"
70
#define ALT_CPU_DATA_ADDR_WIDTH 0x14
71
#define ALT_CPU_DCACHE_LINE_SIZE 0
72
#define ALT_CPU_DCACHE_LINE_SIZE_LOG2 0
73
#define ALT_CPU_DCACHE_SIZE 0
74
#define ALT_CPU_EXCEPTION_ADDR 0x28020
75
#define ALT_CPU_FLUSHDA_SUPPORTED
76
#define ALT_CPU_FREQ 50000000
77
#define ALT_CPU_HARDWARE_DIVIDE_PRESENT 0
78
#define ALT_CPU_HARDWARE_MULTIPLY_PRESENT 0
79
#define ALT_CPU_HARDWARE_MULX_PRESENT 0
80
#define ALT_CPU_HAS_DEBUG_CORE 1
81
#define ALT_CPU_HAS_DEBUG_STUB
82
#define ALT_CPU_HAS_JMPI_INSTRUCTION
83
#define ALT_CPU_ICACHE_LINE_SIZE 0
84
#define ALT_CPU_ICACHE_LINE_SIZE_LOG2 0
85
#define ALT_CPU_ICACHE_SIZE 0
86
#define ALT_CPU_INST_ADDR_WIDTH 0x12
87
#define ALT_CPU_NAME "nios2_qsys_0"
88
#define ALT_CPU_RESET_ADDR 0x28000
89
 
90
 
91
/*
92
 * CPU configuration (with legacy prefix - don't use these anymore)
93
 *
94
 */
95
 
96
#define NIOS2_BIG_ENDIAN 0
97
#define NIOS2_BREAK_ADDR 0x30820
98
#define NIOS2_CPU_FREQ 50000000u
99
#define NIOS2_CPU_ID_SIZE 1
100
#define NIOS2_CPU_ID_VALUE 0x00000000
101
#define NIOS2_CPU_IMPLEMENTATION "tiny"
102
#define NIOS2_DATA_ADDR_WIDTH 0x14
103
#define NIOS2_DCACHE_LINE_SIZE 0
104
#define NIOS2_DCACHE_LINE_SIZE_LOG2 0
105
#define NIOS2_DCACHE_SIZE 0
106
#define NIOS2_EXCEPTION_ADDR 0x28020
107
#define NIOS2_FLUSHDA_SUPPORTED
108
#define NIOS2_HARDWARE_DIVIDE_PRESENT 0
109
#define NIOS2_HARDWARE_MULTIPLY_PRESENT 0
110
#define NIOS2_HARDWARE_MULX_PRESENT 0
111
#define NIOS2_HAS_DEBUG_CORE 1
112
#define NIOS2_HAS_DEBUG_STUB
113
#define NIOS2_HAS_JMPI_INSTRUCTION
114
#define NIOS2_ICACHE_LINE_SIZE 0
115
#define NIOS2_ICACHE_LINE_SIZE_LOG2 0
116
#define NIOS2_ICACHE_SIZE 0
117
#define NIOS2_INST_ADDR_WIDTH 0x12
118
#define NIOS2_RESET_ADDR 0x28000
119
 
120
 
121
/*
122
 * Define for each module class mastered by the CPU
123
 *
124
 */
125
 
126
#define __ALTERA_AVALON_JTAG_UART
127
#define __ALTERA_AVALON_ONCHIP_MEMORY2
128
#define __ALTERA_NIOS2_QSYS
129
#define __VGA
130
 
131
 
132
/*
133
 * System configuration
134
 *
135
 */
136
 
137
#define ALT_DEVICE_FAMILY "Cyclone IV E"
138
#define ALT_ENHANCED_INTERRUPT_API_PRESENT
139
#define ALT_IRQ_BASE NULL
140
#define ALT_LOG_PORT "/dev/null"
141
#define ALT_LOG_PORT_BASE 0x0
142
#define ALT_LOG_PORT_DEV null
143
#define ALT_LOG_PORT_TYPE ""
144
#define ALT_NUM_EXTERNAL_INTERRUPT_CONTROLLERS 0
145
#define ALT_NUM_INTERNAL_INTERRUPT_CONTROLLERS 1
146
#define ALT_NUM_INTERRUPT_CONTROLLERS 1
147
#define ALT_STDERR "/dev/jtag_uart_0"
148
#define ALT_STDERR_BASE 0x31440
149
#define ALT_STDERR_DEV jtag_uart_0
150
#define ALT_STDERR_IS_JTAG_UART
151
#define ALT_STDERR_PRESENT
152
#define ALT_STDERR_TYPE "altera_avalon_jtag_uart"
153
#define ALT_STDIN "/dev/jtag_uart_0"
154
#define ALT_STDIN_BASE 0x31440
155
#define ALT_STDIN_DEV jtag_uart_0
156
#define ALT_STDIN_IS_JTAG_UART
157
#define ALT_STDIN_PRESENT
158
#define ALT_STDIN_TYPE "altera_avalon_jtag_uart"
159
#define ALT_STDOUT "/dev/jtag_uart_0"
160
#define ALT_STDOUT_BASE 0x31440
161
#define ALT_STDOUT_DEV jtag_uart_0
162
#define ALT_STDOUT_IS_JTAG_UART
163
#define ALT_STDOUT_PRESENT
164
#define ALT_STDOUT_TYPE "altera_avalon_jtag_uart"
165
#define ALT_SYSTEM_NAME "vga_soc"
166
 
167
 
168
/*
169
 * hal configuration
170
 *
171
 */
172
 
173
#define ALT_MAX_FD 32
174
#define ALT_SYS_CLK none
175
#define ALT_TIMESTAMP_CLK none
176
 
177
 
178
/*
179
 * jtag_uart_0 configuration
180
 *
181
 */
182
 
183
#define ALT_MODULE_CLASS_jtag_uart_0 altera_avalon_jtag_uart
184
#define JTAG_UART_0_BASE 0x31440
185
#define JTAG_UART_0_IRQ 0
186
#define JTAG_UART_0_IRQ_INTERRUPT_CONTROLLER_ID 0
187
#define JTAG_UART_0_NAME "/dev/jtag_uart_0"
188
#define JTAG_UART_0_READ_DEPTH 64
189
#define JTAG_UART_0_READ_THRESHOLD 8
190
#define JTAG_UART_0_SPAN 8
191
#define JTAG_UART_0_TYPE "altera_avalon_jtag_uart"
192
#define JTAG_UART_0_WRITE_DEPTH 64
193
#define JTAG_UART_0_WRITE_THRESHOLD 8
194
 
195
 
196
/*
197
 * onchip_0 configuration
198
 *
199
 */
200
 
201
#define ALT_MODULE_CLASS_onchip_0 altera_avalon_onchip_memory2
202
#define ONCHIP_0_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
203
#define ONCHIP_0_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
204
#define ONCHIP_0_BASE 0x28000
205
#define ONCHIP_0_CONTENTS_INFO ""
206
#define ONCHIP_0_DUAL_PORT 0
207
#define ONCHIP_0_GUI_RAM_BLOCK_TYPE "AUTO"
208
#define ONCHIP_0_INIT_CONTENTS_FILE "vga_soc_onchip_0"
209
#define ONCHIP_0_INIT_MEM_CONTENT 1
210
#define ONCHIP_0_INSTANCE_ID "NONE"
211
#define ONCHIP_0_IRQ -1
212
#define ONCHIP_0_IRQ_INTERRUPT_CONTROLLER_ID -1
213
#define ONCHIP_0_NAME "/dev/onchip_0"
214
#define ONCHIP_0_NON_DEFAULT_INIT_FILE_ENABLED 0
215
#define ONCHIP_0_RAM_BLOCK_TYPE "AUTO"
216
#define ONCHIP_0_READ_DURING_WRITE_MODE "DONT_CARE"
217
#define ONCHIP_0_SINGLE_CLOCK_OP 0
218
#define ONCHIP_0_SIZE_MULTIPLE 1
219
#define ONCHIP_0_SIZE_VALUE 32768
220
#define ONCHIP_0_SPAN 32768
221
#define ONCHIP_0_TYPE "altera_avalon_onchip_memory2"
222
#define ONCHIP_0_WRITABLE 1
223
 
224
 
225
/*
226
 * vga_0_io_b configuration
227
 *
228
 */
229
 
230
#define ALT_MODULE_CLASS_vga_0_io_b vga
231
#define VGA_0_IO_B_BASE 0x3b0
232
#define VGA_0_IO_B_IRQ -1
233
#define VGA_0_IO_B_IRQ_INTERRUPT_CONTROLLER_ID -1
234
#define VGA_0_IO_B_NAME "/dev/vga_0_io_b"
235
#define VGA_0_IO_B_SPAN 16
236
#define VGA_0_IO_B_TYPE "vga"
237
 
238
 
239
/*
240
 * vga_0_io_c configuration
241
 *
242
 */
243
 
244
#define ALT_MODULE_CLASS_vga_0_io_c vga
245
#define VGA_0_IO_C_BASE 0x3c0
246
#define VGA_0_IO_C_IRQ -1
247
#define VGA_0_IO_C_IRQ_INTERRUPT_CONTROLLER_ID -1
248
#define VGA_0_IO_C_NAME "/dev/vga_0_io_c"
249
#define VGA_0_IO_C_SPAN 16
250
#define VGA_0_IO_C_TYPE "vga"
251
 
252
 
253
/*
254
 * vga_0_io_d configuration
255
 *
256
 */
257
 
258
#define ALT_MODULE_CLASS_vga_0_io_d vga
259
#define VGA_0_IO_D_BASE 0x3d0
260
#define VGA_0_IO_D_IRQ -1
261
#define VGA_0_IO_D_IRQ_INTERRUPT_CONTROLLER_ID -1
262
#define VGA_0_IO_D_NAME "/dev/vga_0_io_d"
263
#define VGA_0_IO_D_SPAN 16
264
#define VGA_0_IO_D_TYPE "vga"
265
 
266
 
267
/*
268
 * vga_0_mem configuration
269
 *
270
 */
271
 
272
#define ALT_MODULE_CLASS_vga_0_mem vga
273
#define VGA_0_MEM_BASE 0xa0000
274
#define VGA_0_MEM_IRQ -1
275
#define VGA_0_MEM_IRQ_INTERRUPT_CONTROLLER_ID -1
276
#define VGA_0_MEM_NAME "/dev/vga_0_mem"
277
#define VGA_0_MEM_SPAN 131072
278
#define VGA_0_MEM_TYPE "vga"
279
 
280
 
281
/*
282
 * vga_0_sys configuration
283
 *
284
 */
285
 
286
#define ALT_MODULE_CLASS_vga_0_sys vga
287
#define VGA_0_SYS_BASE 0x31000
288
#define VGA_0_SYS_IRQ -1
289
#define VGA_0_SYS_IRQ_INTERRUPT_CONTROLLER_ID -1
290
#define VGA_0_SYS_NAME "/dev/vga_0_sys"
291
#define VGA_0_SYS_SPAN 1024
292
#define VGA_0_SYS_TYPE "vga"
293
 
294
#endif /* __SYSTEM_H_ */

powered by: WebSVN 2.1.0

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