Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

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

Document Table of Contents get_connections (::quartus::external_memif_toolkit)

The following table displays information for the get_connections Tcl command:

Tcl Package and Version

Belongs to ::quartus::external_memif_toolkit

Syntax get_connections [-h | -help] [-long_help] [-type <name> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-type <name> The type of the connection to connect to
	Returns a TCL list of connection IDs for connections.
Example Usage
	project_open dut


	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] {
		puts "Connection : $conn"
		puts "   Hierarchy Path : [get_connection_info -id $conn -hpath]"


Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Supplying hardware_name and device_name is mutually exclusive to supplying type
TCL_ERROR 1 ERROR: Both hardware_name and device_name must be supplied if either is supplied
TCL_ERROR 1 ERROR: Connection type <string> is not a recognized connection type.