Get_global_assignment, Usage, Options – Altera Quartus II Scripting User Manual
Page 338: Description, Example, Get_global_assignment –208
3–208
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_global_assignment
Usage
get_global_assignment [-entity <entity_name>] [-front] -name <name> [-section_id
<section id>] [-tag <data>]
Options
-entity <entity_name>: Entity to which assignment belongs
-front: Option to return the first assignment if there is more than one assignment found
-name <name>: Assignment name
-section_id <section id>: Section id
-tag <data>: Option to tag data to this assignment
Description
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
## Get the value of the FAMILY assignment
get_global_assignment -name FAMILY