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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [components/] [ps2/] [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 'soc'
5
 * SOPC Builder design path: ../../soc.sopcinfo
6
 *
7
 * Generated: Sun Sep 22 09:54:04 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 0x10820
66
#define ALT_CPU_CPU_FREQ 30000000u
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 0x11
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 0x8020
75
#define ALT_CPU_FLUSHDA_SUPPORTED
76
#define ALT_CPU_FREQ 30000000
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 0x11
87
#define ALT_CPU_NAME "nios2_qsys_0"
88
#define ALT_CPU_RESET_ADDR 0x8000
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 0x10820
98
#define NIOS2_CPU_FREQ 30000000u
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 0x11
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 0x8020
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 0x11
118
#define NIOS2_RESET_ADDR 0x8000
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_AVALON_PIO
129
#define __ALTERA_NIOS2_QSYS
130
#define __PS2
131
 
132
 
133
/*
134
 * System configuration
135
 *
136
 */
137
 
138
#define ALT_DEVICE_FAMILY "Cyclone IV E"
139
#define ALT_ENHANCED_INTERRUPT_API_PRESENT
140
#define ALT_IRQ_BASE NULL
141
#define ALT_LOG_PORT "/dev/null"
142
#define ALT_LOG_PORT_BASE 0x0
143
#define ALT_LOG_PORT_DEV null
144
#define ALT_LOG_PORT_TYPE ""
145
#define ALT_NUM_EXTERNAL_INTERRUPT_CONTROLLERS 0
146
#define ALT_NUM_INTERNAL_INTERRUPT_CONTROLLERS 1
147
#define ALT_NUM_INTERRUPT_CONTROLLERS 1
148
#define ALT_STDERR "/dev/jtag_uart_0"
149
#define ALT_STDERR_BASE 0x11010
150
#define ALT_STDERR_DEV jtag_uart_0
151
#define ALT_STDERR_IS_JTAG_UART
152
#define ALT_STDERR_PRESENT
153
#define ALT_STDERR_TYPE "altera_avalon_jtag_uart"
154
#define ALT_STDIN "/dev/jtag_uart_0"
155
#define ALT_STDIN_BASE 0x11010
156
#define ALT_STDIN_DEV jtag_uart_0
157
#define ALT_STDIN_IS_JTAG_UART
158
#define ALT_STDIN_PRESENT
159
#define ALT_STDIN_TYPE "altera_avalon_jtag_uart"
160
#define ALT_STDOUT "/dev/jtag_uart_0"
161
#define ALT_STDOUT_BASE 0x11010
162
#define ALT_STDOUT_DEV jtag_uart_0
163
#define ALT_STDOUT_IS_JTAG_UART
164
#define ALT_STDOUT_PRESENT
165
#define ALT_STDOUT_TYPE "altera_avalon_jtag_uart"
166
#define ALT_SYSTEM_NAME "soc"
167
 
168
 
169
/*
170
 * hal configuration
171
 *
172
 */
173
 
174
#define ALT_MAX_FD 32
175
#define ALT_SYS_CLK none
176
#define ALT_TIMESTAMP_CLK none
177
 
178
 
179
/*
180
 * jtag_uart_0 configuration
181
 *
182
 */
183
 
184
#define ALT_MODULE_CLASS_jtag_uart_0 altera_avalon_jtag_uart
185
#define JTAG_UART_0_BASE 0x11010
186
#define JTAG_UART_0_IRQ 0
187
#define JTAG_UART_0_IRQ_INTERRUPT_CONTROLLER_ID 0
188
#define JTAG_UART_0_NAME "/dev/jtag_uart_0"
189
#define JTAG_UART_0_READ_DEPTH 64
190
#define JTAG_UART_0_READ_THRESHOLD 8
191
#define JTAG_UART_0_SPAN 8
192
#define JTAG_UART_0_TYPE "altera_avalon_jtag_uart"
193
#define JTAG_UART_0_WRITE_DEPTH 64
194
#define JTAG_UART_0_WRITE_THRESHOLD 8
195
 
196
 
197
/*
198
 * onchip_memory2_0 configuration
199
 *
200
 */
201
 
202
#define ALT_MODULE_CLASS_onchip_memory2_0 altera_avalon_onchip_memory2
203
#define ONCHIP_MEMORY2_0_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
204
#define ONCHIP_MEMORY2_0_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
205
#define ONCHIP_MEMORY2_0_BASE 0x8000
206
#define ONCHIP_MEMORY2_0_CONTENTS_INFO ""
207
#define ONCHIP_MEMORY2_0_DUAL_PORT 0
208
#define ONCHIP_MEMORY2_0_GUI_RAM_BLOCK_TYPE "AUTO"
209
#define ONCHIP_MEMORY2_0_INIT_CONTENTS_FILE "soc_onchip_memory2_0"
210
#define ONCHIP_MEMORY2_0_INIT_MEM_CONTENT 1
211
#define ONCHIP_MEMORY2_0_INSTANCE_ID "NONE"
212
#define ONCHIP_MEMORY2_0_IRQ -1
213
#define ONCHIP_MEMORY2_0_IRQ_INTERRUPT_CONTROLLER_ID -1
214
#define ONCHIP_MEMORY2_0_NAME "/dev/onchip_memory2_0"
215
#define ONCHIP_MEMORY2_0_NON_DEFAULT_INIT_FILE_ENABLED 0
216
#define ONCHIP_MEMORY2_0_RAM_BLOCK_TYPE "AUTO"
217
#define ONCHIP_MEMORY2_0_READ_DURING_WRITE_MODE "DONT_CARE"
218
#define ONCHIP_MEMORY2_0_SINGLE_CLOCK_OP 0
219
#define ONCHIP_MEMORY2_0_SIZE_MULTIPLE 1
220
#define ONCHIP_MEMORY2_0_SIZE_VALUE 32768
221
#define ONCHIP_MEMORY2_0_SPAN 32768
222
#define ONCHIP_MEMORY2_0_TYPE "altera_avalon_onchip_memory2"
223
#define ONCHIP_MEMORY2_0_WRITABLE 1
224
 
225
 
226
/*
227
 * pio_0 configuration
228
 *
229
 */
230
 
231
#define ALT_MODULE_CLASS_pio_0 altera_avalon_pio
232
#define PIO_0_BASE 0x11000
233
#define PIO_0_BIT_CLEARING_EDGE_REGISTER 0
234
#define PIO_0_BIT_MODIFYING_OUTPUT_REGISTER 0
235
#define PIO_0_CAPTURE 0
236
#define PIO_0_DATA_WIDTH 8
237
#define PIO_0_DO_TEST_BENCH_WIRING 0
238
#define PIO_0_DRIVEN_SIM_VALUE 0
239
#define PIO_0_EDGE_TYPE "NONE"
240
#define PIO_0_FREQ 30000000
241
#define PIO_0_HAS_IN 1
242
#define PIO_0_HAS_OUT 0
243
#define PIO_0_HAS_TRI 0
244
#define PIO_0_IRQ -1
245
#define PIO_0_IRQ_INTERRUPT_CONTROLLER_ID -1
246
#define PIO_0_IRQ_TYPE "NONE"
247
#define PIO_0_NAME "/dev/pio_0"
248
#define PIO_0_RESET_VALUE 0
249
#define PIO_0_SPAN 16
250
#define PIO_0_TYPE "altera_avalon_pio"
251
 
252
 
253
/*
254
 * ps2_0 configuration
255
 *
256
 */
257
 
258
#define ALT_MODULE_CLASS_ps2_0 ps2
259
#define PS2_0_BASE 0x11018
260
#define PS2_0_IRQ -1
261
#define PS2_0_IRQ_INTERRUPT_CONTROLLER_ID -1
262
#define PS2_0_NAME "/dev/ps2_0"
263
#define PS2_0_SPAN 8
264
#define PS2_0_TYPE "ps2"
265
 
266
#endif /* __SYSTEM_H_ */

powered by: WebSVN 2.1.0

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