Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/04/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.30.3. qed::check_properties_of_projects (::quartus::qed)

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

Tcl Package and Version

Belongs to ::quartus::qed

Syntax qed::check_properties_of_projects [-h | -help] [-long_help] [-checks <checks> ] <object>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-checks <checks> List of Tcl expressions that evaluate to true for objects to retrieve. Expressions may use properties as variables of the same name during the check.
<object> Identifier associated with the object, must be unique
Description
Evalutes a series of expressions that operate on values of object
properties for all projects in a project group, and returns the
information in a Tcl dict.

The keys of the Tcl dict are the IDs of the projects in the group.
The values are two element lists of the form { <code> <value> }.
If the <code> value is 1, an error occurred checking the property
expression. The <result> contains the received error message.
If the <code> value is 0, the <result> value contains the boolean
expression that is the result of the evaluation.

Refer to help for "qed::check_properties" command for more information.
Example Usage
    qed::create_object -type project project_A -user_data {this is some data!}
    qed::create_object -type group group_one -projects {project_A}

    # Returns: {project_A {0 1}}
    qed::check_properties_of_projects group_one -checks [list {"this is " in $user_data}]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful