|
RTEMS 6.1-rc6
|
Loading...
Searching...
No Matches
51#ifndef __BSP_SYSTEM_VG_H_
52#define __BSP_SYSTEM_VG_H_
59#define ALT_CPU_ARCHITECTURE "intel_niosv_g"
60#define ALT_CPU_CPU_FREQ 100000000u
61#define ALT_CPU_DATA_ADDR_WIDTH 0x20
62#define ALT_CPU_DCACHE_LINE_SIZE 32
63#define ALT_CPU_DCACHE_LINE_SIZE_LOG2 5
64#define ALT_CPU_DCACHE_SIZE 4096
65#define ALT_CPU_FREQ 100000000
66#define ALT_CPU_HAS_CSR_SUPPORT 1
67#define ALT_CPU_HAS_DEBUG_STUB
68#define ALT_CPU_ICACHE_LINE_SIZE 32
69#define ALT_CPU_ICACHE_LINE_SIZE_LOG2 5
70#define ALT_CPU_ICACHE_SIZE 4096
71#define ALT_CPU_INST_ADDR_WIDTH 0x20
72#define ALT_CPU_MTIME_OFFSET 0x10000100
73#define ALT_CPU_NAME "niosv_g_cpu"
74#define ALT_CPU_NIOSV_CORE_VARIANT 3
75#define ALT_CPU_NUM_GPR 32
76#define ALT_CPU_RESET_ADDR 0x10010000
77#define ALT_CPU_TICKS_PER_SEC NIOSV_INTERNAL_TIMER_TICKS_PER_SECOND
78#define ALT_CPU_TIMER_DEVICE_TYPE 2
86#define BANTAMLAKE_CPU_FREQ 100000000u
87#define BANTAMLAKE_DATA_ADDR_WIDTH 0x20
88#define BANTAMLAKE_DCACHE_LINE_SIZE 32
89#define BANTAMLAKE_DCACHE_LINE_SIZE_LOG2 5
90#define BANTAMLAKE_DCACHE_SIZE 4096
91#define BANTAMLAKE_HAS_CSR_SUPPORT 1
92#define BANTAMLAKE_HAS_DEBUG_STUB
93#define BANTAMLAKE_ICACHE_LINE_SIZE 32
94#define BANTAMLAKE_ICACHE_LINE_SIZE_LOG2 5
95#define BANTAMLAKE_ICACHE_SIZE 4096
96#define BANTAMLAKE_INST_ADDR_WIDTH 0x20
97#define BANTAMLAKE_MTIME_OFFSET 0x10000100
98#define BANTAMLAKE_NIOSV_CORE_VARIANT 3
99#define BANTAMLAKE_NUM_GPR 32
100#define BANTAMLAKE_RESET_ADDR 0x10010000
101#define BANTAMLAKE_TICKS_PER_SEC NIOSV_INTERNAL_TIMER_TICKS_PER_SECOND
102#define BANTAMLAKE_TIMER_DEVICE_TYPE 2
110#define __ALTERA_AVALON_JTAG_UART
111#define __ALTERA_AVALON_ONCHIP_MEMORY2
112#define __ALTERA_AVALON_PIO
113#define __ALTERA_AVALON_SYSID_QSYS
114#define __ALTERA_AVALON_TIMER
115#define __ALTERA_GENERIC_QUAD_SPI_CONTROLLER2
116#define __HYPERBUS_CTRL
117#define __INTEL_NIOSV_G
118#define __INTERVAL_TIMER
126#define ALT_DEVICE_FAMILY "Cyclone 10 LP"
127#define ALT_ENHANCED_INTERRUPT_API_PRESENT
128#define ALT_IRQ_BASE NULL
129#define ALT_LOG_PORT "/dev/null"
130#define ALT_LOG_PORT_BASE 0x0
131#define ALT_LOG_PORT_DEV null
132#define ALT_LOG_PORT_TYPE ""
133#define ALT_NUM_EXTERNAL_INTERRUPT_CONTROLLERS 0
134#define ALT_NUM_INTERNAL_INTERRUPT_CONTROLLERS 1
135#define ALT_NUM_INTERRUPT_CONTROLLERS 1
136#define ALT_STDERR "/dev/jtag_uart"
137#define ALT_STDERR_BASE 0x10000208
138#define ALT_STDERR_DEV jtag_uart
139#define ALT_STDERR_IS_JTAG_UART
140#define ALT_STDERR_PRESENT
141#define ALT_STDERR_TYPE "altera_avalon_jtag_uart"
142#define ALT_STDIN "/dev/jtag_uart"
143#define ALT_STDIN_BASE 0x10000208
144#define ALT_STDIN_DEV jtag_uart
145#define ALT_STDIN_IS_JTAG_UART
146#define ALT_STDIN_PRESENT
147#define ALT_STDIN_TYPE "altera_avalon_jtag_uart"
148#define ALT_STDOUT "/dev/jtag_uart"
149#define ALT_STDOUT_BASE 0x10000208
150#define ALT_STDOUT_DEV jtag_uart
151#define ALT_STDOUT_IS_JTAG_UART
152#define ALT_STDOUT_PRESENT
153#define ALT_STDOUT_TYPE "altera_avalon_jtag_uart"
154#define ALT_SYSTEM_NAME "c10lp_rtems"
155#define ALT_SYS_CLK_TICKS_PER_SEC ALT_CPU_TICKS_PER_SEC
156#define ALT_TIMESTAMP_CLK_TIMER_DEVICE_TYPE ALT_CPU_TIMER_DEVICE_TYPE
164#define ALT_MODULE_CLASS_benchmark_timer interval_timer
165#define BENCHMARK_TIMER_BASE 0x10000180
166#define BENCHMARK_TIMER_FREQ 100000000
167#define BENCHMARK_TIMER_IRQ 6
168#define BENCHMARK_TIMER_IRQ_INTERRUPT_CONTROLLER_ID 0
169#define BENCHMARK_TIMER_NAME "/dev/benchmark_timer"
170#define BENCHMARK_TIMER_SPAN 32
171#define BENCHMARK_TIMER_TYPE "interval_timer"
179#define ALT_MODULE_CLASS_epcq_controller_avl_csr altera_generic_quad_spi_controller2
180#define EPCQ_CONTROLLER_AVL_CSR_BASE 0x10000140
181#define EPCQ_CONTROLLER_AVL_CSR_FLASH_TYPE "EPCQ128"
182#define EPCQ_CONTROLLER_AVL_CSR_IRQ 1
183#define EPCQ_CONTROLLER_AVL_CSR_IRQ_INTERRUPT_CONTROLLER_ID 0
184#define EPCQ_CONTROLLER_AVL_CSR_IS_EPCS 0
185#define EPCQ_CONTROLLER_AVL_CSR_NAME "/dev/epcq_controller_avl_csr"
186#define EPCQ_CONTROLLER_AVL_CSR_NUMBER_OF_SECTORS 256
187#define EPCQ_CONTROLLER_AVL_CSR_PAGE_SIZE 256
188#define EPCQ_CONTROLLER_AVL_CSR_SECTOR_SIZE 65536
189#define EPCQ_CONTROLLER_AVL_CSR_SPAN 64
190#define EPCQ_CONTROLLER_AVL_CSR_SUBSECTOR_SIZE 4096
191#define EPCQ_CONTROLLER_AVL_CSR_TYPE "altera_generic_quad_spi_controller2"
199#define ALT_MODULE_CLASS_epcq_controller_avl_mem altera_generic_quad_spi_controller2
200#define EPCQ_CONTROLLER_AVL_MEM_BASE 0x11000000
201#define EPCQ_CONTROLLER_AVL_MEM_FLASH_TYPE "EPCQ128"
202#define EPCQ_CONTROLLER_AVL_MEM_IRQ -1
203#define EPCQ_CONTROLLER_AVL_MEM_IRQ_INTERRUPT_CONTROLLER_ID -1
204#define EPCQ_CONTROLLER_AVL_MEM_IS_EPCS 0
205#define EPCQ_CONTROLLER_AVL_MEM_NAME "/dev/epcq_controller_avl_mem"
206#define EPCQ_CONTROLLER_AVL_MEM_NUMBER_OF_SECTORS 256
207#define EPCQ_CONTROLLER_AVL_MEM_PAGE_SIZE 256
208#define EPCQ_CONTROLLER_AVL_MEM_SECTOR_SIZE 65536
209#define EPCQ_CONTROLLER_AVL_MEM_SPAN 16777216
210#define EPCQ_CONTROLLER_AVL_MEM_SUBSECTOR_SIZE 4096
211#define EPCQ_CONTROLLER_AVL_MEM_TYPE "altera_generic_quad_spi_controller2"
220#define ALT_SYS_CLK NIOSV_G_CPU
221#define ALT_TIMESTAMP_CLK NIOSV_G_CPU
222#define INTEL_FPGA_DFL_START_ADDRESS 0xffffffffffffffff
223#define INTEL_FPGA_USE_DFL_WALKER 0
231#define ALT_MODULE_CLASS_hyperbus_ctrl_altera_axi4_slave_memory hyperbus_ctrl
232#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_BASE 0x0
233#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_IRQ -1
234#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_IRQ_INTERRUPT_CONTROLLER_ID -1
235#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_NAME "/dev/hyperbus_ctrl_altera_axi4_slave_memory"
236#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_SPAN 268435456
237#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_MEMORY_TYPE "hyperbus_ctrl"
245#define ALT_MODULE_CLASS_hyperbus_ctrl_altera_axi4_slave_register hyperbus_ctrl
246#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_BASE 0x10000000
247#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_IRQ -1
248#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_IRQ_INTERRUPT_CONTROLLER_ID -1
249#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_NAME "/dev/hyperbus_ctrl_altera_axi4_slave_register"
250#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_SPAN 256
251#define HYPERBUS_CTRL_ALTERA_AXI4_SLAVE_REGISTER_TYPE "hyperbus_ctrl"
259#define NIOSV_INTERNAL_TIMER_TICKS_PER_SECOND 1000
267#define ALT_MODULE_CLASS_jtag_uart altera_avalon_jtag_uart
268#define JTAG_UART_BASE 0x10000208
269#define JTAG_UART_IRQ 4
270#define JTAG_UART_IRQ_INTERRUPT_CONTROLLER_ID 0
271#define JTAG_UART_NAME "/dev/jtag_uart"
272#define JTAG_UART_READ_DEPTH 64
273#define JTAG_UART_READ_THRESHOLD 8
274#define JTAG_UART_SPAN 8
275#define JTAG_UART_TYPE "altera_avalon_jtag_uart"
276#define JTAG_UART_WRITE_DEPTH 64
277#define JTAG_UART_WRITE_THRESHOLD 8
285#define ALT_MODULE_CLASS_led_pio altera_avalon_pio
286#define LED_PIO_BASE 0x100001a0
287#define LED_PIO_BIT_CLEARING_EDGE_REGISTER 0
288#define LED_PIO_BIT_MODIFYING_OUTPUT_REGISTER 1
289#define LED_PIO_CAPTURE 0
290#define LED_PIO_DATA_WIDTH 5
291#define LED_PIO_DO_TEST_BENCH_WIRING 0
292#define LED_PIO_DRIVEN_SIM_VALUE 0
293#define LED_PIO_EDGE_TYPE "NONE"
294#define LED_PIO_FREQ 100000000
295#define LED_PIO_HAS_IN 0
296#define LED_PIO_HAS_OUT 1
297#define LED_PIO_HAS_TRI 0
298#define LED_PIO_IRQ -1
299#define LED_PIO_IRQ_INTERRUPT_CONTROLLER_ID -1
300#define LED_PIO_IRQ_TYPE "NONE"
301#define LED_PIO_NAME "/dev/led_pio"
302#define LED_PIO_RESET_VALUE 15
303#define LED_PIO_SPAN 32
304#define LED_PIO_TYPE "altera_avalon_pio"
312#define ALT_MODULE_CLASS_onchip_boot_rom altera_avalon_onchip_memory2
313#define ONCHIP_BOOT_ROM_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
314#define ONCHIP_BOOT_ROM_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
315#define ONCHIP_BOOT_ROM_BASE 0x10010000
316#define ONCHIP_BOOT_ROM_CONTENTS_INFO ""
317#define ONCHIP_BOOT_ROM_DUAL_PORT 0
318#define ONCHIP_BOOT_ROM_GUI_RAM_BLOCK_TYPE "AUTO"
319#define ONCHIP_BOOT_ROM_INIT_CONTENTS_FILE "bootloader_niosvc10lp"
320#define ONCHIP_BOOT_ROM_INIT_MEM_CONTENT 1
321#define ONCHIP_BOOT_ROM_INSTANCE_ID "NONE"
322#define ONCHIP_BOOT_ROM_IRQ -1
323#define ONCHIP_BOOT_ROM_IRQ_INTERRUPT_CONTROLLER_ID -1
324#define ONCHIP_BOOT_ROM_NAME "/dev/onchip_boot_rom"
325#define ONCHIP_BOOT_ROM_NON_DEFAULT_INIT_FILE_ENABLED 1
326#define ONCHIP_BOOT_ROM_RAM_BLOCK_TYPE "AUTO"
327#define ONCHIP_BOOT_ROM_READ_DURING_WRITE_MODE "DONT_CARE"
328#define ONCHIP_BOOT_ROM_SINGLE_CLOCK_OP 0
329#define ONCHIP_BOOT_ROM_SIZE_MULTIPLE 1
330#define ONCHIP_BOOT_ROM_SIZE_VALUE 4096
331#define ONCHIP_BOOT_ROM_SPAN 4096
332#define ONCHIP_BOOT_ROM_TYPE "altera_avalon_onchip_memory2"
333#define ONCHIP_BOOT_ROM_WRITABLE 0
341#define ALT_MODULE_CLASS_onchip_ram altera_avalon_onchip_memory2
342#define ONCHIP_RAM_ALLOW_IN_SYSTEM_MEMORY_CONTENT_EDITOR 0
343#define ONCHIP_RAM_ALLOW_MRAM_SIM_CONTENTS_ONLY_FILE 0
344#define ONCHIP_RAM_BASE 0x10020000
345#define ONCHIP_RAM_CONTENTS_INFO ""
346#define ONCHIP_RAM_DUAL_PORT 0
347#define ONCHIP_RAM_GUI_RAM_BLOCK_TYPE "AUTO"
348#define ONCHIP_RAM_INIT_CONTENTS_FILE "c10lp_rtems_onchip_ram"
349#define ONCHIP_RAM_INIT_MEM_CONTENT 0
350#define ONCHIP_RAM_INSTANCE_ID "NONE"
351#define ONCHIP_RAM_IRQ -1
352#define ONCHIP_RAM_IRQ_INTERRUPT_CONTROLLER_ID -1
353#define ONCHIP_RAM_NAME "/dev/onchip_ram"
354#define ONCHIP_RAM_NON_DEFAULT_INIT_FILE_ENABLED 0
355#define ONCHIP_RAM_RAM_BLOCK_TYPE "AUTO"
356#define ONCHIP_RAM_READ_DURING_WRITE_MODE "DONT_CARE"
357#define ONCHIP_RAM_SINGLE_CLOCK_OP 0
358#define ONCHIP_RAM_SIZE_MULTIPLE 1
359#define ONCHIP_RAM_SIZE_VALUE 8192
360#define ONCHIP_RAM_SPAN 8192
361#define ONCHIP_RAM_TYPE "altera_avalon_onchip_memory2"
362#define ONCHIP_RAM_WRITABLE 1
370#define ALT_MODULE_CLASS_sys_id altera_avalon_sysid_qsys
371#define SYS_ID_BASE 0x10000200
372#define SYS_ID_ID 405222982
374#define SYS_ID_IRQ_INTERRUPT_CONTROLLER_ID -1
375#define SYS_ID_NAME "/dev/sys_id"
377#define SYS_ID_TIMESTAMP 1722633287
378#define SYS_ID_TYPE "altera_avalon_sysid_qsys"
386#define ALT_MODULE_CLASS_user_dipsw altera_avalon_pio
387#define USER_DIPSW_BASE 0x100001f0
388#define USER_DIPSW_BIT_CLEARING_EDGE_REGISTER 0
389#define USER_DIPSW_BIT_MODIFYING_OUTPUT_REGISTER 0
390#define USER_DIPSW_CAPTURE 0
391#define USER_DIPSW_DATA_WIDTH 4
392#define USER_DIPSW_DO_TEST_BENCH_WIRING 0
393#define USER_DIPSW_DRIVEN_SIM_VALUE 0
394#define USER_DIPSW_EDGE_TYPE "NONE"
395#define USER_DIPSW_FREQ 100000000
396#define USER_DIPSW_HAS_IN 1
397#define USER_DIPSW_HAS_OUT 0
398#define USER_DIPSW_HAS_TRI 0
399#define USER_DIPSW_IRQ -1
400#define USER_DIPSW_IRQ_INTERRUPT_CONTROLLER_ID -1
401#define USER_DIPSW_IRQ_TYPE "NONE"
402#define USER_DIPSW_NAME "/dev/user_dipsw"
403#define USER_DIPSW_RESET_VALUE 0
404#define USER_DIPSW_SPAN 16
405#define USER_DIPSW_TYPE "altera_avalon_pio"
413#define ALT_MODULE_CLASS_user_pb altera_avalon_pio
414#define USER_PB_BASE 0x100001e0
415#define USER_PB_BIT_CLEARING_EDGE_REGISTER 0
416#define USER_PB_BIT_MODIFYING_OUTPUT_REGISTER 0
417#define USER_PB_CAPTURE 0
418#define USER_PB_DATA_WIDTH 4
419#define USER_PB_DO_TEST_BENCH_WIRING 0
420#define USER_PB_DRIVEN_SIM_VALUE 0
421#define USER_PB_EDGE_TYPE "NONE"
422#define USER_PB_FREQ 100000000
423#define USER_PB_HAS_IN 1
424#define USER_PB_HAS_OUT 0
425#define USER_PB_HAS_TRI 0
426#define USER_PB_IRQ -1
427#define USER_PB_IRQ_INTERRUPT_CONTROLLER_ID -1
428#define USER_PB_IRQ_TYPE "NONE"
429#define USER_PB_NAME "/dev/user_pb"
430#define USER_PB_RESET_VALUE 0
431#define USER_PB_SPAN 16
432#define USER_PB_TYPE "altera_avalon_pio"
440#define ALT_MODULE_CLASS_watchdog_timer altera_avalon_timer
441#define WATCHDOG_TIMER_ALWAYS_RUN 1
442#define WATCHDOG_TIMER_BASE 0x100001c0
443#define WATCHDOG_TIMER_COUNTER_SIZE 32
444#define WATCHDOG_TIMER_FIXED_PERIOD 1
445#define WATCHDOG_TIMER_FREQ 100000000
446#define WATCHDOG_TIMER_IRQ 5
447#define WATCHDOG_TIMER_IRQ_INTERRUPT_CONTROLLER_ID 0
448#define WATCHDOG_TIMER_LOAD_VALUE 99
449#define WATCHDOG_TIMER_MULT 1.0E-6
450#define WATCHDOG_TIMER_NAME "/dev/watchdog_timer"
451#define WATCHDOG_TIMER_PERIOD 1
452#define WATCHDOG_TIMER_PERIOD_UNITS "us"
453#define WATCHDOG_TIMER_RESET_OUTPUT 1
454#define WATCHDOG_TIMER_SNAPSHOT 0
455#define WATCHDOG_TIMER_SPAN 32
456#define WATCHDOG_TIMER_TICKS_PER_SEC 1000000
457#define WATCHDOG_TIMER_TIMEOUT_PULSE_OUTPUT 0
458#define WATCHDOG_TIMER_TIMER_DEVICE_TYPE 1
459#define WATCHDOG_TIMER_TYPE "altera_avalon_timer"