Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame^] | 1 | |
| 2 | =============================================================================== |
| 3 | C F G _ N I O S _ C P U _ * v s . N I O S S D K |
| 4 | =============================================================================== |
| 5 | |
| 6 | When ever you have to make a new NIOS CPU configuration you can use this table |
| 7 | as a reference list to the original NIOS SDK symbols made by Alteras SOPC |
| 8 | Builder. Look into excalibur.h and excalibur.s in your SDK path cpu_sdk/inc. |
| 9 | Symbols beginning with a '[ptf]:' are coming from your SOPC sytem description |
| 10 | (PTF file) in sections WIZARD_SCRIPT_ARGUMENTS or SYSTEM_BUILDER_INFO. |
| 11 | |
| 12 | C O R E N I O S S D K [1],[7] |
| 13 | ------------------------------------------------------------------------------- |
| 14 | CONFIG_SYS_NIOS_CPU_CLK nasys_clock_freq |
| 15 | CONFIG_SYS_NIOS_CPU_ICACHE nasys_icache_size |
| 16 | CONFIG_SYS_NIOS_CPU_DCACHE nasys_dcache_size |
| 17 | CONFIG_SYS_NIOS_CPU_REG_NUMS nasys_nios_num_regs |
| 18 | CONFIG_SYS_NIOS_CPU_MUL __nios_use_multiply__ |
| 19 | CONFIG_SYS_NIOS_CPU_MSTEP __nios_use_mstep__ |
| 20 | CONFIG_SYS_NIOS_CPU_STACK nasys_stack_top |
| 21 | CONFIG_SYS_NIOS_CPU_VEC_BASE nasys_vector_table |
| 22 | CONFIG_SYS_NIOS_CPU_VEC_SIZE nasys_vector_table_size |
| 23 | CONFIG_SYS_NIOS_CPU_VEC_NUMS |
| 24 | CONFIG_SYS_NIOS_CPU_RST_VECT nasys_reset_address |
| 25 | CONFIG_SYS_NIOS_CPU_DBG_CORE nasys_debug_core |
| 26 | CONFIG_SYS_NIOS_CPU_RAM_BASE na_onchip_ram_64_kbytes |
| 27 | CONFIG_SYS_NIOS_CPU_RAM_SIZE na_onchip_ram_64_kbytes_size |
| 28 | CONFIG_SYS_NIOS_CPU_ROM_BASE na_boot_monitor_rom |
| 29 | CONFIG_SYS_NIOS_CPU_ROM_SIZE na_boot_monitor_rom_size |
| 30 | CONFIG_SYS_NIOS_CPU_OCI_BASE nasys_oci_core |
| 31 | CONFIG_SYS_NIOS_CPU_OCI_SIZE |
| 32 | CONFIG_SYS_NIOS_CPU_SRAM_BASE na_ext_ram nasys_program_mem |
| 33 | nasys_data_mem |
| 34 | CONFIG_SYS_NIOS_CPU_SRAM_SIZE na_ext_ram_size nasys_program_mem_size |
| 35 | nasys_data_mem_size |
| 36 | CONFIG_SYS_NIOS_CPU_SDRAM_BASE na_sdram |
| 37 | CONFIG_SYS_NIOS_CPU_SDRAM_SIZE na_sdram_size |
| 38 | CONFIG_SYS_NIOS_CPU_FLASH_BASE na_ext_flash nasys_main_flash |
| 39 | nasys_am29lv065d_flash_0 |
| 40 | nasys_flash_0 |
| 41 | CONFIG_SYS_NIOS_CPU_FLASH_SIZE na_ext_flash_size nasys_main_flash_size |
| 42 | |
| 43 | T I M E R N I O S S D K [3] |
| 44 | ------------------------------------------------------------------------------- |
| 45 | CONFIG_SYS_NIOS_CPU_TIMER_NUMS nasys_timer_count |
| 46 | CONFIG_SYS_NIOS_CPU_TIMER[0-9] nasys_timer_[0-9] |
| 47 | CONFIG_SYS_NIOS_CPU_TIMER[0-9]_IRQ nasys_timer_[0-9]_irq |
| 48 | CONFIG_SYS_NIOS_CPU_TIMER[0-9]_PER [ptf]:period |
| 49 | [ptf]:period_units |
| 50 | [ptf]:mult |
| 51 | CONFIG_SYS_NIOS_CPU_TIMER[0-9]_AR [ptf]:always_run |
| 52 | CONFIG_SYS_NIOS_CPU_TIMER[0-9]_FP [ptf]:fixed_period |
| 53 | CONFIG_SYS_NIOS_CPU_TIMER[0-9]_SS [ptf]:snapshot |
| 54 | |
| 55 | U A R T N I O S S D K [2] |
| 56 | ------------------------------------------------------------------------------- |
| 57 | CONFIG_SYS_NIOS_CPU_UART_NUMS nasys_uart_count |
| 58 | CONFIG_SYS_NIOS_CPU_UART[0-9] nasys_uart_[0-9] |
| 59 | CONFIG_SYS_NIOS_CPU_UART[0-9]_IRQ nasys_uart_[0-9]_irq |
| 60 | CONFIG_SYS_NIOS_CPU_UART[0-9]_BR [ptf]:baud |
| 61 | CONFIG_SYS_NIOS_CPU_UART[0-9]_DB [ptf]:data_bits |
| 62 | CONFIG_SYS_NIOS_CPU_UART[0-9]_SB [ptf]:stop_bits |
| 63 | CONFIG_SYS_NIOS_CPU_UART[0-9]_PA [ptf]:parity |
| 64 | CONFIG_SYS_NIOS_CPU_UART[0-9]_HS [ptf]:use_cts_rts |
| 65 | CONFIG_SYS_NIOS_CPU_UART[0-9]_EOP [ptf]:use_eop_register |
| 66 | |
| 67 | P I O N I O S S D K [4] |
| 68 | ------------------------------------------------------------------------------- |
| 69 | CONFIG_SYS_NIOS_CPU_PIO_NUMS nasys_pio_count |
| 70 | CONFIG_SYS_NIOS_CPU_PIO[0-9] nasys_pio_[0-9] |
| 71 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_IRQ nasys_pio_[0-9]_irq |
| 72 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_BITS [ptf]:Data_Width |
| 73 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_TYPE [ptf]:has_tri |
| 74 | [ptf]:has_out |
| 75 | [ptf]:has_in |
| 76 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_CAP [ptf]:capture |
| 77 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_EDGE [ptf]:edge_type |
| 78 | CONFIG_SYS_NIOS_CPU_PIO[0-9]_ITYPE [ptf]:irq_type |
| 79 | |
| 80 | S P I N I O S S D K [6] |
| 81 | ------------------------------------------------------------------------------- |
| 82 | CONFIG_SYS_NIOS_CPU_SPI_NUMS nasys_spi_count |
| 83 | CONFIG_SYS_NIOS_CPU_SPI[0-9] nasys_spi_[0-9] |
| 84 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_IRQ nasys_spi_[0-9]_irq |
| 85 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_BITS [ptf]:databits |
| 86 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_MA [ptf]:ismaster |
| 87 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_SLN [ptf]:numslaves |
| 88 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_TCLK [ptf]:targetclock |
| 89 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_TDELAY [ptf]:targetdelay |
| 90 | CONFIG_SYS_NIOS_CPU_SPI[0-9]_* [ptf]:* |
| 91 | |
| 92 | I D E N I O S S D K |
| 93 | ------------------------------------------------------------------------------- |
| 94 | CONFIG_SYS_NIOS_CPU_IDE_NUMS nasys_usersocket_count |
| 95 | CONFIG_SYS_NIOS_CPU_IDE[0-9] nasys_usersocket_[0-9] |
| 96 | |
| 97 | A S M I N I O S S D K [5] |
| 98 | ------------------------------------------------------------------------------- |
| 99 | CONFIG_SYS_NIOS_CPU_ASMI_NUMS nasys_asmi_count |
| 100 | CONFIG_SYS_NIOS_CPU_ASMI[0-9] nasys_asmi_[0-9] |
| 101 | CONFIG_SYS_NIOS_CPU_ASMI[0-9]_IRQ nasys_asmi_[0-9]_irq |
| 102 | |
| 103 | E t h e r n e t ( L A N ) N I O S S D K |
| 104 | ------------------------------------------------------------------------------- |
| 105 | CONFIG_SYS_NIOS_CPU_LAN_NUMS |
| 106 | CONFIG_SYS_NIOS_CPU_LAN[0-9]_BASE na_lan91c111 |
| 107 | CONFIG_SYS_NIOS_CPU_LAN[0-9]_OFFS LAN91C111_REGISTERS_OFFSET |
| 108 | CONFIG_SYS_NIOS_CPU_LAN[0-9]_IRQ na_lan91c111_irq |
| 109 | CONFIG_SYS_NIOS_CPU_LAN[0-9]_BUSW LAN91C111_DATA_BUS_WIDTH |
| 110 | CONFIG_SYS_NIOS_CPU_LAN[0-9]_TYPE |
| 111 | |
| 112 | s y s t e m c o m p o s i n g N I O S S D K |
| 113 | ------------------------------------------------------------------------------- |
| 114 | CONFIG_SYS_NIOS_CPU_TICK_TIMER (na_low_priority_timer2) |
| 115 | CONFIG_SYS_NIOS_CPU_USER_TIMER (na_timer1) |
| 116 | CONFIG_SYS_NIOS_CPU_BUTTON_PIO (na_button_pio) |
| 117 | CONFIG_SYS_NIOS_CPU_LCD_PIO (na_lcd_pio) |
| 118 | CONFIG_SYS_NIOS_CPU_LED_PIO (na_led_pio) |
| 119 | CONFIG_SYS_NIOS_CPU_SEVENSEG_PIO (na_seven_seg_pio) |
| 120 | CONFIG_SYS_NIOS_CPU_RECONF_PIO (na_reconfig_request_pio) |
| 121 | CONFIG_SYS_NIOS_CPU_CFPRESENT_PIO (na_cf_present_pio) |
| 122 | CONFIG_SYS_NIOS_CPU_CFPOWER_PIO (na_cf_power_pio) |
| 123 | CONFIG_SYS_NIOS_CPU_CFATASEL_PIO (na_cf_ata_select_pio) |
| 124 | CONFIG_SYS_NIOS_CPU_USER_SPI (na_spi) |
| 125 | |
| 126 | |
| 127 | =============================================================================== |
| 128 | R E F E R E N C E S |
| 129 | =============================================================================== |
| 130 | [1] http://www.altera.com/literature/ds/ds_nioscpu.pdf |
| 131 | [2] http://www.altera.com/literature/ds/ds_nios_uart.pdf |
| 132 | [3] http://www.altera.com/literature/ds/ds_nios_timer.pdf |
| 133 | [4] http://www.altera.com/literature/ds/ds_nios_pio.pdf |
| 134 | [5] http://www.altera.com/literature/ds/ds_nios_asmi.pdf |
| 135 | [6] http://www.altera.com/literature/ds/ds_nios_spi.pdf |
| 136 | [7] http://www.altera.com/literature/ds/ds_legacy_sdram_ctrl.pdf |
| 137 | |
| 138 | |
| 139 | =============================================================================== |
| 140 | Stephan Linz <linz@li-pro.net> |