Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/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.4.3. design::create_assignment (::quartus::design)

The following table displays information for the design::create_assignment Tcl command:

Tcl Package and Version

Belongs to ::quartus::design

Syntax design::create_assignment [-h | -help] [-long_help] [-from <from> ] -name <name> -to <to> -value <value>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-from <from> The source name of the assignment
-name <name> The type name of the assignment
-to <to> The destination name of the assignment
-value <value> The value of the assignment
Description
Create a new assignment in the assignment database
Example Usage
project_open onewire_nf

design::load_design -latest_snapshot -writeable
design::create_assignment -name location -to in1 -value PIN_A5
design::commit_design
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Both the -to or -from argument is required.
TCL_ERROR 1 ERROR: Either the -to or -from argument is required.
TCL_ERROR 1 ERROR: The -to argument is required.
TCL_ERROR 1 ERROR: The value of an assignment cannot be empty.

Did you find the information on this page useful?

Characters remaining:

Feedback Message