Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

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

Document Table of Contents

3.1.24.48. set_global_assignment (::quartus::project)

The following table displays information for the set_global_assignment Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax set_global_assignment [-h | -help] [-long_help] [-comment <comment> ] [-disable] [-entity <entity_name> ] [-fall] -name <name> [-remove] [-rise] [-section_id <section id> ] [-tag <data> ] [ <value> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-comment <comment> Comment
-disable Option to disable assignment
-entity <entity_name> Entity to which to add assignment
-fall Option applies to falling edge
-name <name> Assignment name
-remove Option to remove assignment
-rise Option applies to rising edge
-section_id <section id> Section id
-tag <data> Option to tag data to this assignment
<value> Assignment value
Description

Sets or removes a global assignment. Assignments created or modified by using this Tcl command are not saved to the Quartus Prime Settings File (.qsf) unless you explicitly call one of the following two Tcl commands (from the ::quartus::project Tcl package): 1) export_assignments 2) project_close (unless -dont_export_assignments is specified as an argument to project_close) You must save assignment changes before you run Quartus Prime command-line executables. Note, however, that the Tcl commands execute_flow and execute_module (from the ::quartus::flow Tcl package) call "export_assignments" before they run command-line executables. For entity-specific assignments, use the -entity option to force the assignment to 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. If the Quartus Prime Settings File contains a USER_LIBRARIES assignment and you call set_global_assignment to set a S