Specifications
• initialization_callback—This property specifies the name of a Tcl callback function which is
intended to run in the following environment:
• Run time: initialization
• Scope: component instance
• Function argument(s): component instance name
• validation_callback—This property specifies the name of a Tcl callback function which is intended
to run in the following environment:
• Run time: validation
• Scope: component instance
• Function argument(s): component instance name
• generation_callback—This property specifies the name of a callback function which is intended to
run in the following environment:
• Run time: generation
• Scope: component instance
• Function argument(s): component instance name, BSP generate target directory, driver BSP
subdirectory
• class_initialization_callback—This property specifies the name of a callback function which is
intended to run in the following environment:
• Run time: initialization
• Scope: component instance
• Function argument(s): driver class name
• class_validation_callback—This property specifies the name of a callback function which is
intended to run in the following environment:
• Run time: validation
• Scope: component instance
• Function argument(s): driver class name
• class_generation_callback—This property specifies the name of a callback function which is
intended to run in the following environment:
• Run time: generation
• Scope: component instance
• Function argument(s): driver class name, BSP generate target directory, driver BSP subdirectory
• supported_interrupt_apis—Specifies the interrupt API that the device driver supports. Specify
legacy_interrupt_api if the device driver supports the legacy API only or
enhanced_interrupt_api if the device driver supports the enhanced API only. Specify both using a
quoted list if the device driver supports both APIs.
If you do not specify which API your device driver supports, the Nios II SBT assumes that only the
legacy interrupt API is supported. The Nios II SBT analyzes this property for each driver in the system
to determine the appropriate API to be used in the system.
Note:
This property is only available for device drivers.
• isr_preemption_supported—Specify true if your device driver ISR can be preempted by a higher
priority ISR. If you do not specify whether ISR preemption is supported, the Nios II SBT assumes that
your device driver does not support preemption. If your driver does not have an ISR, but the
associated device has an interrupt port, you can set this property to true.
Note:
This property is valid for operating systems and device drivers.
15-106
set_sw_property
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback