Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021

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

Document Table of Contents get_global_assignment (::quartus::project)

The following table displays information for the get_global_assignment Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax get_global_assignment [-h | -help] [-long_help] [-entity <entity_name> ] [-fall] [-front] -name <name> [-rise] [-section_id <section id> ] [-tag <data> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-entity <entity_name> Entity to which assignment belongs
-fall Option applies to falling edge
-front Option to return the first assignment if there is more than one assignment found
-name <name> Assignment name
-rise Option applies to rising edge
-section_id <section id> Section id
-tag <data> Option to tag data to this assignment

Returns the value of the global assignment. The "-name" option is not case sensitive. For entity-specific assignments, use the "-entity" option to retrieve the assignment from the specified entity. If the "-entity" option is not specified, the value for the FOCUS_ENTITY_NAME assignment is used. If the FOCUS_ENTITY_NAME value is not found, the revision name is used.

Example Usage
## Get the value of the FAMILY assignment
get_global_assignment -name FAMILY
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 INFO: Assigment <string> is not supported in this edition of the Quartus Prime software.