Lösung des ESY6/A Praktikums "signal_processing".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. /*
  2. * system.h - SOPC Builder system and BSP software package information
  3. *
  4. * Machine generated for CPU 'core' in SOPC Builder design 'niosII'
  5. * SOPC Builder design path: ../../niosII.sopcinfo
  6. *
  7. * Generated: Wed Nov 06 08:33:55 CET 2024
  8. */
  9. /*
  10. * DO NOT MODIFY THIS FILE
  11. *
  12. * Changing this file will have subtle consequences
  13. * which will almost certainly lead to a nonfunctioning
  14. * system. If you do modify this file, be aware that your
  15. * changes will be overwritten and lost when this file
  16. * is generated again.
  17. *
  18. * DO NOT MODIFY THIS FILE
  19. */
  20. /*
  21. * License Agreement
  22. *
  23. * Copyright (c) 2008
  24. * Altera Corporation, San Jose, California, USA.
  25. * All rights reserved.
  26. *
  27. * Permission is hereby granted, free of charge, to any person obtaining a
  28. * copy of this software and associated documentation files (the "Software"),
  29. * to deal in the Software without restriction, including without limitation
  30. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  31. * and/or sell copies of the Software, and to permit persons to whom the
  32. * Software is furnished to do so, subject to the following conditions:
  33. *
  34. * The above copyright notice and this permission notice shall be included in
  35. * all copies or substantial portions of the Software.
  36. *
  37. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  38. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  39. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  40. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  41. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  42. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  43. * DEALINGS IN THE SOFTWARE.
  44. *
  45. * This agreement shall be governed in all respects by the laws of the State
  46. * of California and by the laws of the United States of America.
  47. */
  48. #ifndef __SYSTEM_H_
  49. #define __SYSTEM_H_
  50. /* Include definitions from linker script generator */
  51. #include "linker.h"
  52. /*
  53. * CPU configuration
  54. *
  55. */
  56. #define ALT_CPU_ARCHITECTURE "altera_nios2_gen2"
  57. #define ALT_CPU_BIG_ENDIAN 0
  58. #define ALT_CPU_BREAK_ADDR 0x00060820
  59. #define ALT_CPU_CPU_ARCH_NIOS2_R1
  60. #define ALT_CPU_CPU_FREQ 200000000u
  61. #define ALT_CPU_CPU_ID_SIZE 1
  62. #define ALT_CPU_CPU_ID_VALUE 0x00000000
  63. #define ALT_CPU_CPU_IMPLEMENTATION "fast"
  64. #define ALT_CPU_DATA_ADDR_WIDTH 0x13
  65. #define ALT_CPU_DCACHE_BYPASS_MASK 0x80000000
  66. #define ALT_CPU_DCACHE_LINE_SIZE 32
  67. #define ALT_CPU_DCACHE_LINE_SIZE_LOG2 5
  68. #define ALT_CPU_DCACHE_SIZE 32768
  69. #define ALT_CPU_EXCEPTION_ADDR 0x00040020
  70. #define ALT_CPU_FLASH_ACCELERATOR_LINES 0
  71. #define ALT_CPU_FLASH_ACCELERATOR_LINE_SIZE 0
  72. #define ALT_CPU_FLUSHDA_SUPPORTED
  73. #define ALT_CPU_FREQ 200000000
  74. #define ALT_CPU_HARDWARE_DIVIDE_PRESENT 1
  75. #define ALT_CPU_HARDWARE_MULTIPLY_PRESENT 1
  76. #define ALT_CPU_HARDWARE_MULX_PRESENT 0
  77. #define ALT_CPU_HAS_DEBUG_CORE 1
  78. #define ALT_CPU_HAS_DEBUG_STUB
  79. #define ALT_CPU_HAS_DIVISION_ERROR_EXCEPTION
  80. #define ALT_CPU_HAS_EXTRA_EXCEPTION_INFO
  81. #define ALT_CPU_HAS_ILLEGAL_INSTRUCTION_EXCEPTION
  82. #define ALT_CPU_HAS_JMPI_INSTRUCTION
  83. #define ALT_CPU_ICACHE_LINE_SIZE 32
  84. #define ALT_CPU_ICACHE_LINE_SIZE_LOG2 5
  85. #define ALT_CPU_ICACHE_SIZE 32768
  86. #define ALT_CPU_INITDA_SUPPORTED
  87. #define ALT_CPU_INST_ADDR_WIDTH 0x13
  88. #define ALT_CPU_NAME "core"
  89. #define ALT_CPU_NUM_OF_SHADOW_REG_SETS 0
  90. #define ALT_CPU_OCI_VERSION 1
  91. #define ALT_CPU_RESET_ADDR 0x00040000
  92. /*
  93. * CPU configuration (with legacy prefix - don't use these anymore)
  94. *
  95. */
  96. #define NIOS2_BIG_ENDIAN 0
  97. #define NIOS2_BREAK_ADDR 0x00060820
  98. #define NIOS2_CPU_ARCH_NIOS2_R1
  99. #define NIOS2_CPU_FREQ 200000000u
  100. #define NIOS2_CPU_ID_SIZE 1
  101. #define NIOS2_CPU_ID_VALUE 0x00000000
  102. #define NIOS2_CPU_IMPLEMENTATION "fast"
  103. #define NIOS2_DATA_ADDR_WIDTH 0x13
  104. #define NIOS2_DCACHE_BYPASS_MASK 0x80000000
  105. #define NIOS2_DCACHE_LINE_SIZE 32
  106. #define NIOS2_DCACHE_LINE_SIZE_LOG2 5
  107. #define NIOS2_DCACHE_SIZE 32768
  108. #define NIOS2_EXCEPTION_ADDR 0x00040020
  109. #define NIOS2_FLASH_ACCELERATOR_LINES 0
  110. #define NIOS2_FLASH_ACCELERATOR_LINE_SIZE 0
  111. #define NIOS2_FLUSHDA_SUPPORTED
  112. #define NIOS2_HARDWARE_DIVIDE_PRESENT 1
  113. #define NIOS2_HARDWARE_MULTIPLY_PRESENT 1
  114. #define NIOS2_HARDWARE_MULX_PRESENT 0
  115. #define NIOS2_HAS_DEBUG_CORE 1
  116. #define NIOS2_HAS_DEBUG_STUB
  117. #define NIOS2_HAS_DIVISION_ERROR_EXCEPTION
  118. #define NIOS2_HAS_EXTRA_EXCEPTION_INFO
  119. #define NIOS2_HAS_ILLEGAL_INSTRUCTION_EXCEPTION
  120. #define NIOS2_HAS_JMPI_INSTRUCTION
  121. #define NIOS2_ICACHE_LINE_SIZE 32
  122. #define NIOS2_ICACHE_LINE_SIZE_LOG2 5
  123. #define NIOS2_ICACHE_SIZE 32768
  124. #define NIOS2_INITDA_SUPPORTED
  125. #define NIOS2_INST_ADDR_WIDTH 0x13
  126. #define NIOS2_NUM_OF_SHADOW_REG_SETS 0
  127. #define NIOS2_OCI_VERSION 1
  128. #define NIOS2_RESET_ADDR 0x00040000
  129. /*
  130. * Define for each module class mastered by the CPU
  131. *
  132. */
  133. #define __ALTERA_AVALON_JTAG_UART
  134. #define __ALTERA_AVALON_ONCHIP_MEMORY2
  135. #define __ALTERA_AVALON_PIO
  136. #define __ALTERA_AVALON_SYSID_QSYS
  137. #define __ALTERA_NIOS2_GEN2
  138. #define __DATA_CHANNEL
  139. #define __HARDWARE_TASK
  140. #define __HARDWARE_TIMESTAMP
  141. /*
  142. * System configuration
  143. *
  144. */
  145. #define ALT_DEVICE_FAMILY "Cyclone V"
  146. #define ALT_ENHANCED_INTERRUPT_API_PRESENT
  147. #define ALT_IRQ_BASE NULL
  148. #define ALT_LOG_PORT "/dev/null"
  149. #define ALT_LOG_PORT_BASE 0x0
  150. #define ALT_LOG_PORT_DEV null
  151. #define ALT_LOG_PORT_TYPE ""
  152. #define ALT_NUM_EXTERNAL_INTERRUPT_CONTROLLERS 0
  153. #define ALT_NUM_INTERNAL_INTERRUPT_CONTROLLERS 1
  154. #define ALT_NUM_INTERRUPT_CONTROLLERS 1
  155. #define ALT_STDERR "/dev/jtag_uart"
  156. #define ALT_STDERR_BASE 0x613e8
  157. #define ALT_STDERR_DEV jtag_uart
  158. #define ALT_STDERR_IS_JTAG_UART
  159. #define ALT_STDERR_PRESENT
  160. #define ALT_STDERR_TYPE "altera_avalon_jtag_uart"
  161. #define ALT_STDIN "/dev/jtag_uart"
  162. #define ALT_STDIN_BASE 0x613e8
  163. #define ALT_STDIN_DEV jtag_uart
  164. #define ALT_STDIN_IS_JTAG_UART
  165. #define ALT_STDIN_PRESENT
  166. #define ALT_STDIN_TYPE "altera_avalon_jtag_uart"
  167. #define ALT_STDOUT "/dev/jtag_uart"
  168. #define ALT_STDOUT_BASE 0x613e8
  169. #define ALT_STDOUT_DEV jtag_uart
  170. #define ALT_STDOUT_IS_JTAG_UART
  171. #define ALT_STDOUT_PRESENT
  172. #define ALT_STDOUT_TYPE "altera_avalon_jtag_uart"
  173. #define ALT_SYSTEM_NAME "niosII"
  174. #define ALT_SYS_CLK_TICKS_PER_SEC NONE_TICKS_PER_SEC
  175. #define ALT_TIMESTAMP_CLK_TIMER_DEVICE_TYPE NONE_TIMER_DEVICE_TYPE
  176. /*
  177. * data_channel_0 configuration
  178. *
  179. */
  180. #define ALT_MODULE_CLASS_data_channel_0 data_channel
  181. #define DATA_CHANNEL_0_BASE 0x611c0
  182. #define DATA_CHANNEL_0_IRQ -1
  183. #define DATA_CHANNEL_0_IRQ_INTERRUPT_CONTROLLER_ID -1
  184. #define DATA_CHANNEL_0_NAME "/dev/data_channel_0"
  185. #define DATA_CHANNEL_0_SPAN 64
  186. #define DATA_CHANNEL_0_TYPE "data_channel"
  187. /*
  188. * data_channel_1 configuration
  189. *
  190. */
  191. #define ALT_MODULE_CLASS_data_channel_1 data_channel
  192. #define DATA_CHANNEL_1_BASE 0x61180
  193. #define DATA_CHANNEL_1_IRQ -1
  194. #define DATA_CHANNEL_1_IRQ_INTERRUPT_CONTROLLER_ID -1
  195. #define DATA_CHANNEL_1_NAME "/dev/data_channel_1"
  196. #define DATA_CHANNEL_1_SPAN 64
  197. #define DATA_CHANNEL_1_TYPE "data_channel"
  198. /*
  199. * data_channel_2 configuration
  200. *
  201. */
  202. #define ALT_MODULE_CLASS_data_channel_2 data_channel
  203. #define DATA_CHANNEL_2_BASE 0x61140
  204. #define DATA_CHANNEL_2_IRQ -1
  205. #define DATA_CHANNEL_2_IRQ_INTERRUPT_CONTROLLER_ID -1
  206. #define DATA_CHANNEL_2_NAME "/dev/data_channel_2"
  207. #define DATA_CHANNEL_2_SPAN 64
  208. #define DATA_CHANNEL_2_TYPE "data_channel"
  209. /*
  210. * data_channel_3 configuration
  211. *
  212. */
  213. #define ALT_MODULE_CLASS_data_channel_3 data_channel
  214. #define DATA_CHANNEL_3_BASE 0x61100
  215. #define DATA_CHANNEL_3_IRQ -1
  216. #define DATA_CHANNEL_3_IRQ_INTERRUPT_CONTROLLER_ID -1
  217. #define DATA_CHANNEL_3_NAME "/dev/data_channel_3"
  218. #define DATA_CHANNEL_3_SPAN 64
  219. #define DATA_CHANNEL_3_TYPE "data_channel"
  220. /*
  221. * data_channel_4 configuration
  222. *
  223. */
  224. #define ALT_MODULE_CLASS_data_channel_4 data_channel
  225. #define DATA_CHANNEL_4_BASE 0x610c0
  226. #define DATA_CHANNEL_4_IRQ -1
  227. #define DATA_CHANNEL_4_IRQ_INTERRUPT_CONTROLLER_ID -1
  228. #define DATA_CHANNEL_4_NAME "/dev/data_channel_4"
  229. #define DATA_CHANNEL_4_SPAN 64
  230. #define DATA_CHANNEL_4_TYPE "data_channel"
  231. /*
  232. * data_channel_5 configuration
  233. *
  234. */
  235. #define ALT_MODULE_CLASS_data_channel_5 data_channel
  236. #define DATA_CHANNEL_5_BASE 0x61080
  237. #define DATA_CHANNEL_5_IRQ -1
  238. #define DATA_CHANNEL_5_IRQ_INTERRUPT_CONTROLLER_ID -1
  239. #define DATA_CHANNEL_5_NAME "/dev/data_channel_5"
  240. #define DATA_CHANNEL_5_SPAN 64
  241. #define DATA_CHANNEL_5_TYPE "data_channel"
  242. /*
  243. * data_channel_6 configuration
  244. *
  245. */
  246. #define ALT_MODULE_CLASS_data_channel_6 data_channel
  247. #define DATA_CHANNEL_6_BASE 0x61040
  248. #define DATA_CHANNEL_6_IRQ -1
  249. #define DATA_CHANNEL_6_IRQ_INTERRUPT_CONTROLLER_ID -1
  250. #define DATA_CHANNEL_6_NAME "/dev/data_channel_6"
  251. #define DATA_CHANNEL_6_SPAN 64
  252. #define DATA_CHANNEL_6_TYPE "data_channel"
  253. /*
  254. * hal configuration
  255. *
  256. */
  257. #define ALT_INCLUDE_INSTRUCTION_RELATED_EXCEPTION_API
  258. #define ALT_MAX_FD 32
  259. #define ALT_SYS_CLK none
  260. #define ALT_TIMESTAMP_CLK none
  261. /*
  262. * hardware_task_0 configuration
  263. *
  264. */
  265. #define ALT_MODULE_CLASS_hardware_task_0 hardware_task
  266. #define HARDWARE_TASK_0_BASE 0x61000
  267. #define HARDWARE_TASK_0_IRQ -1
  268. #define HARDWARE_TASK_0_IRQ_INTERRUPT_CONTROLLER_ID -1
  269. #define HARDWARE_TASK_0_NAME "/dev/hardware_task_0"
  270. #define HARDWARE_TASK_0_SPAN 64
  271. #define HARDWARE_TASK_0_TYPE "hardware_task"
  272. /*
  273. * hardware_task_1 configuration
  274. *
  275. */
  276. #define ALT_MODULE_CLASS_hardware_task_1 hardware_task
  277. #define HARDWARE_TASK_1_BASE 0x61340
  278. #define HARDWARE_TASK_1_IRQ -1
  279. #define HARDWARE_TASK_1_IRQ_INTERRUPT_CONTROLLER_ID -1
  280. #define HARDWARE_TASK_1_NAME "/dev/hardware_task_1"
  281. #define HARDWARE_TASK_1_SPAN 64
  282. #define HARDWARE_TASK_1_TYPE "hardware_task"
  283. /*
  284. * hardware_task_2 configuration
  285. *
  286. */
  287. #define ALT_MODULE_CLASS_hardware_task_2 hardware_task
  288. #define HARDWARE_TASK_2_BASE 0x61300
  289. #define HARDWARE_TASK_2_IRQ -1
  290. #define HARDWARE_TASK_2_IRQ_INTERRUPT_CONTROLLER_ID -1
  291. #define HARDWARE_TASK_2_NAME "/dev/hardware_task_2"
  292. #define HARDWARE_TASK_2_SPAN 64
  293. #define HARDWARE_TASK_2_TYPE "hardware_task"
  294. /*
  295. * hardware_task_3 configuration
  296. *
  297. */
  298. #define ALT_MODULE_CLASS_hardware_task_3 hardware_task
  299. #define HARDWARE_TASK_3_BASE 0x612c0
  300. #define HARDWARE_TASK_3_IRQ -1
  301. #define HARDWARE_TASK_3_IRQ_INTERRUPT_CONTROLLER_ID -1
  302. #define HARDWARE_TASK_3_NAME "/dev/hardware_task_3"
  303. #define HARDWARE_TASK_3_SPAN 64
  304. #define HARDWARE_TASK_3_TYPE "hardware_task"
  305. /*
  306. * hardware_task_4 configuration
  307. *
  308. */
  309. #define ALT_MODULE_CLASS_hardware_task_4 hardware_task
  310. #define HARDWARE_TASK_4_BASE 0x61280
  311. #define HARDWARE_TASK_4_IRQ -1
  312. #define HARDWARE_TASK_4_IRQ_INTERRUPT_CONTROLLER_ID -1
  313. #define HARDWARE_TASK_4_NAME "/dev/hardware_task_4"
  314. #define HARDWARE_TASK_4_SPAN 64
  315. #define HARDWARE_TASK_4_TYPE "hardware_task"
  316. /*
  317. * hardware_task_5 configuration
  318. *
  319. */
  320. #define ALT_MODULE_CLASS_hardware_task_5 hardware_task
  321. #define HARDWARE_TASK_5_BASE 0x61240
  322. #define HARDWARE_TASK_5_IRQ -1
  323. #define HARDWARE_TASK_5_IRQ_INTERRUPT_CONTROLLER_ID -1
  324. #define HARDWARE_TASK_5_NAME "/dev/hardware_task_5"
  325. #define HARDWARE_TASK_5_SPAN 64
  326. #define HARDWARE_TASK_5_TYPE "hardware_task"
  327. /*
  328. * hardware_task_6 configuration
  329. *
  330. */
  331. #define ALT_MODULE_CLASS_hardware_task_6 hardware_task
  332. #define HARDWARE_TASK_6_BASE 0x61200
  333. #define HARDWARE_TASK_6_IRQ -1
  334. #define HARDWARE_TASK_6_IRQ_INTERRUPT_CONTROLLER_ID -1
  335. #define HARDWARE_TASK_6_NAME "/dev/hardware_task_6"
  336. #define HARDWARE_TASK_6_SPAN 64
  337. #define HARDWARE_TASK_6_TYPE "hardware_task"
  338. /*
  339. * hardware_timestamp configuration
  340. *
  341. */
  342. #define ALT_MODULE_CLASS_hardware_timestamp hardware_timestamp
  343. #define HARDWARE_TIMESTAMP_BASE 0x61380
  344. #define HARDWARE_TIMESTAMP_IRQ -1
  345. #define HARDWARE_TIMESTAMP_IRQ_INTERRUPT_CONTROLLER_ID -1
  346. #define HARDWARE_TIMESTAMP_NAME "/dev/hardware_timestamp"
  347. #define HARDWARE_TIMESTAMP_SPAN 64
  348. #define HARDWARE_TIMESTAMP_TYPE "hardware_timestamp"
  349. /*
  350. * jtag_uart configuration
  351. *
  352. */
  353. #define ALT_MODULE_CLASS_jtag_uart altera_avalon_jtag_uart
  354. #define JTAG_UART_BASE 0x613e8
  355. #define JTAG_UART_IRQ 0
  356. #define JTAG_UART_IRQ_INTERRUPT_CONTROLLER_ID 0
  357. #define JTAG_UART_NAME "/dev/jtag_uart"
  358. #define JTAG_UART_READ_DEPTH 64
  359. #define JTAG_UART_READ_THRESHOLD 8
  360. #define JTAG_UART_SPAN 8
  361. #define JTAG_UART_TYPE "altera_avalon_jtag_uart"
  362. #define JTAG_UART_WRITE_DEPTH 64
  363. #define JTAG_UART_WRITE_THRESHOLD 8
  364. /*
  365. * key_start configuration
  366. *
  367. */
  368. #define ALT_MODULE_CLASS_key_start altera_avalon_pio
  369. #define KEY_START_BASE 0x613d0
  370. #define KEY_START_BIT_CLEARING_EDGE_REGISTER 1
  371. #define KEY_START_BIT_MODIFYING_OUTPUT_REGISTER 0
  372. #define KEY_START_CAPTURE 1
  373. #define KEY_START_DATA_WIDTH 1
  374. #define KEY_START_DO_TEST_BENCH_WIRING 0
  375. #define KEY_START_DRIVEN_SIM_VALUE 0
  376. #define KEY_START_EDGE_TYPE "RISING"
  377. #define KEY_START_FREQ 200000000
  378. #define KEY_START_HAS_IN 1
  379. #define KEY_START_HAS_OUT 0
  380. #define KEY_START_HAS_TRI 0
  381. #define KEY_START_IRQ 2
  382. #define KEY_START_IRQ_INTERRUPT_CONTROLLER_ID 0
  383. #define KEY_START_IRQ_TYPE "EDGE"
  384. #define KEY_START_NAME "/dev/key_start"
  385. #define KEY_START_RESET_VALUE 0
  386. #define KEY_START_SPAN 16
  387. #define KEY_START_TYPE "altera_avalon_pio"
  388. /*
  389. * leds configuration
  390. *
  391. */
  392. #define ALT_MODULE_CLASS_leds altera_avalon_pio
  393. #define LEDS_BASE 0x613c0
  394. #define LEDS_BIT_CLEARING_EDGE_REGISTER 0
  395. #define LEDS_BIT_MODIFYING_OUTPUT_REGISTER 0
  396. #define LEDS_CAPTURE 0
  397. #define LEDS_DATA_WIDTH 8
  398. #define LEDS_DO_TEST_BENCH_WIRING 0
  399. #define LEDS_DRIVEN_SIM_VALUE 0
  400. #define LEDS_EDGE_TYPE "NONE"
  401. #define LEDS_FREQ 200000000
  402. #define LEDS_HAS_IN 0
  403. #define LEDS_HAS_OUT 1
  404. #define LEDS_HAS_TRI 0
  405. #define LEDS_IRQ -1
  406. #define LEDS_IRQ_INTERRUPT_CONTROLLER_ID -1
  407. #define LEDS_IRQ_TYPE "NONE"
  408. #define LEDS_NAME "/dev/leds"
  409. #define LEDS_RESET_VALUE 0
  410. #define LEDS_SPAN 16
  411. #define LEDS_TYPE "altera_avalon_pio"
  412. /*
  413. * ram configuration
  414. *
  415. */
  416. #define ALT_MODULE_CLASS_ram altera_avalon_onchip_memory2
  417. #define RAM_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
  418. #define RAM_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
  419. #define RAM_BASE 0x20000
  420. #define RAM_CONTENTS_INFO ""
  421. #define RAM_DUAL_PORT 0
  422. #define RAM_GUI_RAM_BLOCK_TYPE "AUTO"
  423. #define RAM_INIT_CONTENTS_FILE "niosII_ram"
  424. #define RAM_INIT_MEM_CONTENT 1
  425. #define RAM_INSTANCE_ID "NONE"
  426. #define RAM_IRQ -1
  427. #define RAM_IRQ_INTERRUPT_CONTROLLER_ID -1
  428. #define RAM_NAME "/dev/ram"
  429. #define RAM_NON_DEFAULT_INIT_FILE_ENABLED 0
  430. #define RAM_RAM_BLOCK_TYPE "AUTO"
  431. #define RAM_READ_DURING_WRITE_MODE "DONT_CARE"
  432. #define RAM_SINGLE_CLOCK_OP 0
  433. #define RAM_SIZE_MULTIPLE 1
  434. #define RAM_SIZE_VALUE 131072
  435. #define RAM_SPAN 131072
  436. #define RAM_TYPE "altera_avalon_onchip_memory2"
  437. #define RAM_WRITABLE 1
  438. /*
  439. * rom configuration
  440. *
  441. */
  442. #define ALT_MODULE_CLASS_rom altera_avalon_onchip_memory2
  443. #define ROM_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
  444. #define ROM_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
  445. #define ROM_BASE 0x40000
  446. #define ROM_CONTENTS_INFO ""
  447. #define ROM_DUAL_PORT 0
  448. #define ROM_GUI_RAM_BLOCK_TYPE "M10K"
  449. #define ROM_INIT_CONTENTS_FILE "niosII_rom"
  450. #define ROM_INIT_MEM_CONTENT 1
  451. #define ROM_INSTANCE_ID "NONE"
  452. #define ROM_IRQ -1
  453. #define ROM_IRQ_INTERRUPT_CONTROLLER_ID -1
  454. #define ROM_NAME "/dev/rom"
  455. #define ROM_NON_DEFAULT_INIT_FILE_ENABLED 0
  456. #define ROM_RAM_BLOCK_TYPE "M10K"
  457. #define ROM_READ_DURING_WRITE_MODE "DONT_CARE"
  458. #define ROM_SINGLE_CLOCK_OP 0
  459. #define ROM_SIZE_MULTIPLE 1
  460. #define ROM_SIZE_VALUE 131072
  461. #define ROM_SPAN 131072
  462. #define ROM_TYPE "altera_avalon_onchip_memory2"
  463. #define ROM_WRITABLE 0
  464. /*
  465. * sysid configuration
  466. *
  467. */
  468. #define ALT_MODULE_CLASS_sysid altera_avalon_sysid_qsys
  469. #define SYSID_BASE 0x613e0
  470. #define SYSID_ID 0
  471. #define SYSID_IRQ -1
  472. #define SYSID_IRQ_INTERRUPT_CONTROLLER_ID -1
  473. #define SYSID_NAME "/dev/sysid"
  474. #define SYSID_SPAN 8
  475. #define SYSID_TIMESTAMP 1730878419
  476. #define SYSID_TYPE "altera_avalon_sysid_qsys"
  477. #endif /* __SYSTEM_H_ */