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 1.0 |
|||
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. |