Specifications
specific procedure in the helper scripts, if you want to invoke some of the default Tcl functionality without
running the entire default Tcl script.
The procedure call Tcl script has the following usage:
bsp-call-proc.tcl <proc-name> [<args>]*
bsp-call-proc.tcl calls the specified procedure with the specified (optional) arguments. Refer to the default
Tcl scripts to view the available functions and their arguments. The bsp-call-proc.tcl script includes the
same files as the bsp-set-defaults.tcl script, so any function in those included files is available.
Device Drivers and Software Packages
The Nios II SBT can incorporate device drivers and software packages supplied by Altera, supplied by
other third-party developers, or created by you.
For more information about integrating device drivers and software packages with the Nios II SBT, refer
to the Developing Device Drivers for the Hardware Abstraction Layer chapter of the Nios II Software
Developer’s Handbook.
Related Information
Developing Device Drivers for the Hardware Abstraction Layer on page 7-1
Boot Configurations for Altera Embedded Software
The HAL and MicroC/OS-II BSPs support several boot configurations. The default Tcl script configures
an appropriate boot configuration based on your hardware system and other settings.
For more information about the HAL boot loader process, refer to the Developing Programs Using the
Hardware Abstraction Layer chapter of the Nios II Software Developer’s Handbook.
Related Information
Developing Programs Using the Hardware Abstraction Layer on page 6-1
Memory Types
The default Tcl script uses the IsFlash and IsNonVolatileStorage properties to determine what kind of
memory is in the system.
The IsFlash property of the memory module (defined in the .sopcinfo file) indicates whether
the .sopcinfo file identifies the memory as a flash memory device. The IsNonVolatileStorage property
indicates whether the .sopcinfo file identifies the memory as a non-volatile storage device. The contents of
a non-volatile memory device are fixed and always present.
Note:
Some FPGA memories can be initialized when the FPGA is configured. They are not considered
non-volatile because the default Tcl script has no way to determine whether they are actually
initialized in a particular system.
NII5V2
2015.05.14
Device Drivers and Software Packages
4-39
Nios II Software Build Tools
Altera Corporation
Send Feedback