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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [components/] [sd_card/] [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 Aug 18 13:51:32 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 40000000u
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 40000000
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 40000000u
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_NIOS2_QSYS
129
#define __SD_CARD
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 0x11000
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 0x11000
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 0x11000
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 "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 0x11000
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_memory2_0 configuration
198
 *
199
 */
200
 
201
#define ALT_MODULE_CLASS_onchip_memory2_0 altera_avalon_onchip_memory2
202
#define ONCHIP_MEMORY2_0_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
203
#define ONCHIP_MEMORY2_0_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
204
#define ONCHIP_MEMORY2_0_BASE 0x8000
205
#define ONCHIP_MEMORY2_0_CONTENTS_INFO ""
206
#define ONCHIP_MEMORY2_0_DUAL_PORT 0
207
#define ONCHIP_MEMORY2_0_GUI_RAM_BLOCK_TYPE "AUTO"
208
#define ONCHIP_MEMORY2_0_INIT_CONTENTS_FILE "soc_onchip_memory2_0"
209
#define ONCHIP_MEMORY2_0_INIT_MEM_CONTENT 1
210
#define ONCHIP_MEMORY2_0_INSTANCE_ID "NONE"
211
#define ONCHIP_MEMORY2_0_IRQ -1
212
#define ONCHIP_MEMORY2_0_IRQ_INTERRUPT_CONTROLLER_ID -1
213
#define ONCHIP_MEMORY2_0_NAME "/dev/onchip_memory2_0"
214
#define ONCHIP_MEMORY2_0_NON_DEFAULT_INIT_FILE_ENABLED 0
215
#define ONCHIP_MEMORY2_0_RAM_BLOCK_TYPE "AUTO"
216
#define ONCHIP_MEMORY2_0_READ_DURING_WRITE_MODE "DONT_CARE"
217
#define ONCHIP_MEMORY2_0_SINGLE_CLOCK_OP 0
218
#define ONCHIP_MEMORY2_0_SIZE_MULTIPLE 1
219
#define ONCHIP_MEMORY2_0_SIZE_VALUE 32768
220
#define ONCHIP_MEMORY2_0_SPAN 32768
221
#define ONCHIP_MEMORY2_0_TYPE "altera_avalon_onchip_memory2"
222
#define ONCHIP_MEMORY2_0_WRITABLE 1
223
 
224
 
225
/*
226
 * sd_card_0 configuration
227
 *
228
 */
229
 
230
#define ALT_MODULE_CLASS_sd_card_0 sd_card
231
#define SD_CARD_0_BASE 0x0
232
#define SD_CARD_0_IRQ -1
233
#define SD_CARD_0_IRQ_INTERRUPT_CONTROLLER_ID -1
234
#define SD_CARD_0_NAME "/dev/sd_card_0"
235
#define SD_CARD_0_SPAN 16
236
#define SD_CARD_0_TYPE "sd_card"
237
 
238
#endif /* __SYSTEM_H_ */

powered by: WebSVN 2.1.0

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