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.21.2. set_assignment (::quartus::names)

The following table displays information for the set_assignment Tcl command:

Tcl Package and Version

Belongs to ::quartus::names

Syntax set_assignment [-h | -help] [-long_help] -name <ASSIGNMENT_NAME> [-to <INSTANCE_NAME> ] -value <VALUE>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-name <ASSIGNMENT_NAME> The assignment name to set.
-to <INSTANCE_NAME> The node to which the assignment should be applied.
-value <VALUE> The value to set the assignment to.
Description

Sets the assignment to the given value. If -to is specified, tries to set the assignment value to the given node. If -to is not specified, this applies to global assignments.

Example Usage
set_assignment SEED 9
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: No assignment matching the name <string> was found.