Specifications

Description
This command is used on an EIC instance callback to obtain a peripheral slave descriptor connected to a
specific IRQ port number. This command is only valid for a callback script.
Example
get_module_peripheral 2;
get_module_sw_setting_value
Usage
get_module_sw_setting_value <setting-name>
Options
<setting-name>: Name of the module software setting to retrieve the value for, as defined by the
add_module_sw_setting command.
Description
Given a module software setting name, return the setting value. The callback script using this command
must be set in the *_sw.tcl file using the following command:
set_sw_property callback_source_file <filename>
You can use this command in a generation or validation callback to retrieve the current value of a setting
created in an initialization callback.
Example
puts [get_module_sw_setting_value MY_SETTING]
Returns:
"My setting value"
get_peripheral_property
Usage
get_peripheral_property <slave-descriptor> <property-name>
Options
<slave-descriptor>: Slave descriptor of a connected peripheral device
<property-name>: Property name to query from the connected peripheral device
Description
This command is used on an EIC instance callback to obtain a connected peripheral property value. This
command is only valid for a callback script. A callback script is set in the driver's *_sw.tcl file, using the
command set_sw_property callback_source_file <filename>.
15-96
get_module_sw_setting_value
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback