⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settings.bsp

📁 nios中自定义指令集实现三角函数的软件部分。
💻 BSP
📖 第 1 页 / 共 3 页
字号:
                <Restrictions>none</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_c_plus_plus</SettingName>
                <Identifier>ALT_NO_C_PLUS_PLUS</Identifier>
                <Type>Boolean</Type>
                <Value>1</Value>
                <DefaultValue>1</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>Add C++ support. This option increases code footprint by adding support for C++ constructors. If false, adds -DALT_NO_C_PLUS_PLUS to ALT_CPPFLAGS in public.mk, and reduces code footprint.</Description>
                <Restrictions>none</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_reduced_device_drivers</SettingName>
                <Identifier>ALT_USE_SMALL_DRIVERS</Identifier>
                <Type>Boolean</Type>
                <Value>0</Value>
                <DefaultValue>0</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>The drivers are compiled with reduced functionality to reduce code footprint. Not all drivers observe this setting. The altera_avalon_uart and altera_avalon_jtag_uart drivers switch to a polled-mode of operation. The altera_avalon_cfi_flash, altera_avalon_epcs_flash_controller, and altera_avalon_lcd_16207 drivers are removed. You can define a symbol provided by each driver to prevent it from being removed. If true, adds -DALT_USE_SMALL_DRIVERS to ALT_CPPFLAGS in public.mk.</Description>
                <Restrictions>none</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_lightweight_device_driver_api</SettingName>
                <Identifier>ALT_USE_DIRECT_DRIVERS</Identifier>
                <Type>Boolean</Type>
                <Value>0</Value>
                <DefaultValue>0</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>Enables lightweight device driver API. This reduces code and data footprint by removing the HAL layer that maps device names (e.g. /dev/uart0) to file descriptors. Instead, driver routines are called directly. The open(), close(), and lseek() routines will always fail if called. The read(), write(), fstat(), ioctl(), and isatty() routines only work for the stdio devices. If true, adds -DALT_USE_DIRECT_DRIVERS to ALT_CPPFLAGS in public.mk.</Description>
                <Restrictions>The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_mul_div_emulation</SettingName>
                <Identifier>ALT_NO_INSTRUCTION_EMULATION</Identifier>
                <Type>Boolean</Type>
                <Value>0</Value>
                <DefaultValue>0</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>Adds code to emulate multiply and divide instructions in case they are executed but aren't present in the CPU. Normally this isn't required because the compiler won't use multiply and divide instructions that aren't present in the CPU. If false, adds -DALT_NO_INSTRUCTION_EMULATION to ALT_CPPFLAGS in public.mk.</Description>
                <Restrictions>none</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_sim_optimize</SettingName>
                <Identifier>ALT_SIM_OPTIMIZE</Identifier>
                <Type>Boolean</Type>
                <Value>0</Value>
                <DefaultValue>0</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>The BSP is compiled with optimizations to speedup HDL simulation such as initializing the cache, clearing the .bss section, and skipping long delay loops. If true, adds -DALT_SIM_OPTIMIZE to ALT_CPPFLAGS in public.mk.</Description>
                <Restrictions>When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.enable_sopc_sysid_check</SettingName>
                <Identifier>none</Identifier>
                <Type>Boolean</Type>
                <Value>1</Value>
                <DefaultValue>1</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>Enable SOPC Builder System ID. If a System ID SOPC Builder component is connected to the CPU associated with this BSP, it will be enabled in the creation of command-line arguments to download an ELF to the target. Otherwise, system ID and timestamp values are left out of public.mk for application Makefile "download-elf" target definition. If false, adds --accept-bad-sysid to SOPC_SYSID_FLAG in public.mk.</Description>
                <Restrictions>none</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.custom_newlib_flags</SettingName>
                <Identifier>CUSTOM_NEWLIB_FLAGS</Identifier>
                <Type>UnquotedString</Type>
                <Value>none</Value>
                <DefaultValue>none</DefaultValue>
                <DestinationFile>public_mk_define</DestinationFile>
                <Description>Build a custom version of newlib with the specified space-separated compilerflags.</Description>
                <Restrictions>The custom newlib build will be placed in the &lt;bsp root>/newlib directory, and will be used only for applications that utilize this BSP.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.stdin</SettingName>
                <Identifier>STDIN</Identifier>
                <Type>UnquotedString</Type>
                <Value>jtag_uart</Value>
                <DefaultValue>none</DefaultValue>
                <DestinationFile>system_h_define</DestinationFile>
                <Description>Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h.</Description>
                <Restrictions>This device must be different than the LOG_PORT device.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.stdout</SettingName>
                <Identifier>STDOUT</Identifier>
                <Type>UnquotedString</Type>
                <Value>jtag_uart</Value>
                <DefaultValue>none</DefaultValue>
                <DestinationFile>system_h_define</DestinationFile>
                <Description>Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h.</Description>
                <Restrictions>This device must be different than the LOG_PORT device.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.stderr</SettingName>
                <Identifier>STDERR</Identifier>
                <Type>UnquotedString</Type>
                <Value>jtag_uart</Value>
                <DefaultValue>none</DefaultValue>
                <DestinationFile>system_h_define</DestinationFile>
                <Description>Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h.</Description>
                <Restrictions>This device must be different than the LOG_PORT device.</Restrictions>
        </Setting>
        <Setting>
                <SettingName>hal.log_port</SettingName>
                <Identifier>LOG_PORT</Identifier>
                <Type>UnquotedString</Type>
                <Value>none</Value>
                <DefaultValue>none</DefaultValue>
                <DestinationFile>system_h_define</DestinationFile>
                <Description>Slave descriptor of debug logging character-mode device. If defined, it enables extra debug messages in the HAL source. This setting is used by the ALT_LOG_PORT family of defines in system.h.</Description>
                <Restrictions>This device must be different than the STDIN/STDOUT/STDERR devices.</Restrictions>
        </Setting>
        <LinkerRegion>
                <regionName>altmemddr</regionName>
                <memoryName>altmemddr</memoryName>
                <offset>0x00000000</offset>
                <size>0x02000000</size>
                <baseAddress>0x02000000</baseAddress>
        </LinkerRegion>
        <LinkerRegion>
                <regionName>reset</regionName>
                <memoryName>ext_flash</memoryName>
                <offset>0x00000000</offset>
                <size>0x00000020</size>
                <baseAddress>0x06000000</baseAddress>
        </LinkerRegion>
        <LinkerRegion>
                <regionName>ext_flash</regionName>
                <memoryName>ext_flash</memoryName>
                <offset>0x00000020</offset>
                <size>0x00FFFFE0</size>
                <baseAddress>0x06000020</baseAddress>
        </LinkerRegion>
        <LinkerRegion>
                <regionName>ext_ssram</regionName>
                <memoryName>ext_ssram</memoryName>
                <offset>0x00000000</offset>
                <size>0x00100000</size>
                <baseAddress>0x07000000</baseAddress>
        </LinkerRegion>
        <LinkerRegion>
                <regionName>onchip_ram_BEFORE_EXCEPTION</regionName>
                <memoryName>onchip_ram</memoryName>
                <offset>0x00000000</offset>
                <size>0x00000020</size>
                <baseAddress>0x09010000</baseAddress>
        </LinkerRegion>
        <LinkerRegion>
                <regionName>onchip_ram</regionName>
                <memoryName>onchip_ram</memoryName>
                <offset>0x00000020</offset>
                <size>0x00007FE0</size>
                <baseAddress>0x09010020</baseAddress>
        </LinkerRegion>
        <LinkerSection>
                <sectionName>.text</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <LinkerSection>
                <sectionName>.rodata</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <LinkerSection>
                <sectionName>.rwdata</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <LinkerSection>
                <sectionName>.bss</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <LinkerSection>
                <sectionName>.heap</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <LinkerSection>
                <sectionName>.stack</sectionName>
                <regionName>ext_ssram</regionName>
        </LinkerSection>
        <DriverPackageInfo>
                <name>altera_avalon_cfi_flash_driver</name>
                <version>default</version>
                <moduleName>ext_flash</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_jtag_uart_driver</name>
                <version>default</version>
                <moduleName>jtag_uart</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_pio_driver</name>
                <version>default</version>
                <moduleName>button_pio</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_timer_driver</name>
                <version>default</version>
                <moduleName>sys_clk_timer</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_timer_driver</name>
                <version>default</version>
                <moduleName>high_res_timer</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_pio_driver</name>
                <version>default</version>
                <moduleName>led_pio</moduleName>
        </DriverPackageInfo>
        <DriverPackageInfo>
                <name>altera_avalon_sysid_driver</name>
                <version>default</version>
                <moduleName>sysid</moduleName>
        </DriverPackageInfo>
</sch:Settings>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -