Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.12.23. run_connection_command (::quartus::external_memif_toolkit)

The following table displays information for the run_connection_command Tcl command:

Tcl Package and Version

Belongs to ::quartus::external_memif_toolkit

Syntax run_connection_command [-h | -help] [-long_help] -command_name <name> -id <name> [-payload <name> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-command_name <name> The command name to execute
-id <name> The connection ID to communicate with
-payload <name> TCL list of parameter data to use when executing the command
Description
	Executes a command of the specified type and for the connection id.
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

	set conn [lindex [get_connections -type emif] 0]
	establish_connection -id $conn

	run_connection_command -id $conn -command_name nop

	terminate_connections

	project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: An error occurred trying to execute the command <string> for the target <string>.
TCL_ERROR 1 ERROR: The specified command name <string> is illegal. The legal command names are: <string> .
TCL_ERROR 1 ERROR: The specified connection ID <string> is illegal. Please specify a valid connection ID.
TCL_ERROR 1 ERROR: No information about the report was queried. Please specify one query parameter.
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: Toolkit has not been initialized. Use initialize_connections to initialize the toolkit.