A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: reference_TCL_tcl_pkg_external_memif_toolkit_ver_1_0_cmd_apply_setting
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_external_memif_toolkit_ver_1_0_cmd_apply_setting
Ixiasoft
4.1.10.1. apply_setting (::quartus::external_memif_toolkit)
The following table displays information for the apply_setting Tcl command:
Tcl Package and Version | Belongs to ::quartus::external_memif_toolkit |
||
Syntax | apply_setting [-h | -help] [-long_help] -id <name> [-index <index> ] [-rank <rank> ] -type <type> -value <value> | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
-id <name> | The connection ID to communicate with | ||
-index <index> | Index of the target setting within the connection | ||
-rank <rank> | Rank (shadow register) of the target setting within the connection | ||
-type <type> | The type of setting on the EMIF interface | ||
-value <value> | Value to apply | ||
Description | Applies the specified memory interface setting for the specified target connection. |
||
Example Usage | project_open dut initialize_connections set hw_name [lindex [get_hardware_names] 0] set dev_name [lindex [get_device_names -hardware_name $hw_name] 0] link_project_to_device -hardware_name $hw_name -device_name $dev_name -sof_file dut.sof foreach conn [get_connections] { foreach type [get_setting_types -id $conn] { apply_setting -id $conn -type $type -index 0 -value 0 } } terminate_connections project_close |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful | |
TCL_ERROR | 1 | ERROR: The specified connection ID <string> is illegal. Please specify a valid connection ID. | |
TCL_ERROR | 1 | ERROR: The specified setting type <string> is illegal. Please specify a valid setting type. The list of valid types is available by running get_setting_types. | |
TCL_ERROR | 1 | ERROR: The currently opened project has not been linked to a device. Run link_project_to_device to link a project to a device. | |
TCL_ERROR | 1 | ERROR: The specified setting is outside the legal range. | |
TCL_ERROR | 1 | ERROR: Toolkit has not been initialized. Use initialize_connections to initialize the toolkit. |