Specifications

description
restrictions
group
Example
set_module_sw_setting_property MY_FAVORITE_SETTING default-value '42'
Tcl Commands for Drivers and Packages
This section describes the tools that you use to specify and manipulate the settings and characteristics of a
custom software package or driver. Typically, when creating a custom software package or device driver,
or importing a package or driver from another development environment, you need these more powerful
tools.
For more information about how to manipulate settings on existing software packages and device drivers,
refer to Settings Managed by the Software Build Tools.
For more information about how to manipulate settings on existing software packages and device drivers,
refer to Tcl Commands for BSP Settings.
A device driver and a software package are both collections of source files added to the BSP. A device
driver is associated with a particular component class (for example, altera_avalon_jtag_uart). A
software package is not associated with any particular component class, but implements a functionality
such as TCP/IP.
To define a device driver or software package, you create a Tcl script defining its characteristics. This
section describes the Tcl commands available to define device drivers and software packages.
For more information about creating Tcl scripts, refer to “Tcl Scripts for BSP Settings” in the Nios II
Software Build Tools chapter of the Nios II Software Developer’s Handbook.
The following commands are available for device driver and software package creation:
For more information, refer to add_sw_property
For more information, refer to add_sw_setting
For more information, refer to create_driver
For more information, refer to create_os
For more information, refer to create_sw_package
For more information, refer to set_sw_property
Related Information
Settings Managed by the Software Build Tools on page 15-25
Tcl Commands for BSP Settings on page 15-64
add_sw_property on page 15-100
add_sw_setting on page 15-101
create_driver on page 15-103
create_os on page 15-103
create_sw_package on page 15-104
set_sw_property on page 15-104
NII5V2
2015.05.14
Tcl Commands for Drivers and Packages
15-99
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback