Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 4/03/2023
Public

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

Document Table of Contents

4.1.29.23. qed::is_connected (::quartus::qed)

The following table displays information for the qed::is_connected Tcl command:

Tcl Package and Version

Belongs to ::quartus::qed

Syntax qed::is_connected [-h | -help] [-long_help] <object>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
<object> Identifier associated with the object, must be unique
Description
When you call the command with a project object, the return value is
a boolean value indicating whether the given project
is open in a background Quartus Prime Pro software instance.

When you call the command with a project group object, the return value
is a Tcl dict where the keys are IDs of the projects in the project
group, and the values are the boolean values indicating whether each
separate project is open in a background Quartus Prime Pro software
instance. To determine whether the project group is connected, you must
iterate through the Tcl dict and check each value.
Example Usage
    qed::create_object -type project project_A -qpf_path /file/path/to/project.qpf

    # Returns: false
    qed::is_connected project_A

    qed::launch_connection project_A

    # Returns: true
    qed::is_connected project_A
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful