Specifications
Driver and Software Package Tcl Script Creation
This section discusses writing a Tcl script to describe your software package or driver. The exact contents
of the Tcl script depends on the structure and complexity of your driver or software. For many simple
device drivers, you need only include a few commands. For more complex software, the Nios II SBT
provides powerful features that give the BSP end user control of your software or driver’s operation.
The Tcl command and argument descriptions in this section are not exhaustive. For a detailed explana‐
tion of each command and all arguments, refer to the "Nios II Software Build Tools Reference" chapter of
the Nios II Software Developer’s Handbook.
Related Information
Nios II Software Build Tools Reference on page 15-1
Example Device Driver File Hierarchy and Naming
For a reference in creating your own driver or software Tcl files, you can also view the driver and software
package Tcl scripts included with the Nios II EDS and the MegaCore IP library. These scripts are in the
<Nios II EDS install path>/components and <MegaCore IP library install path>/sopc_builder_ip folders,
respectively.
NII5V2
2015.05.14
Driver and Software Package Tcl Script Creation
7-19
Developing Device Drivers for the Hardware Abstraction Layer
Altera Corporation
Send Feedback