set_location_assignment (::quartus::project)
The following table displays information for the set_location_assignment Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::project 4.0 |
|||
| Syntax | set_location_assignment [-h | -help] [-long_help] [-comment <comment> ] [-disable] [-remove] -to <destination> [ <value> ] | |||
| Arguments | -h | -help | Short help | ||
| -long_help | Long help with examples and possible return values | |||
| -comment <comment> | Comment | |||
| -disable | Option to disable assignment | |||
| -remove | Option to remove assignment | |||
| -to <destination> | Destination of assignment | |||
| <value> | Assignment value | |||
| Description |
Sets or removes a location assignment.
Valid location assignments, and settings for those
assignments for your design are determined by the
target device, package type, and pin count.
To explore possible assignments and settings for your
design and device, in the Quartus Prime Assignment
Editor, specify Location for Assignment Name, and then
click Browse in the Value column. In the Location
dialog box, explore assignable device resources in the
Element list, and then use the lists that appear
(based on the element selected) to determine locations
of resources that can be specified as the value for
the 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:
1) export_assignments
2) project_close (unless "-dont_export_assignments" is
specified)
These two Tcl commands reside in the
::quartus::project Tcl package. You must save
assignment changes before you run Quartus Prime
command-line executables. Note, however, that the Tcl
commands "execute_flow" and "execute_module" (part of
the ::quartus::flow Tcl package) automatically call
"export_assignments" before they run command-line
executables.
|
|||
| Example Usage |
set_location_assignment -to dst LOC |
|||
| Return Value | Code Name | Code | String Return | |
| TCL_OK | 0 | INFO: Operation successful | ||
| TCL_ERROR | 1 | ERROR: Can't find active revision name. Make sure there is an open, active revision name. | ||
| TCL_ERROR | 1 | ERROR: The assignment <string> is from Design Template and can't be changed/removed. | ||
| TCL_ERROR | 1 | ERROR: Value <string> for <string> assignment is illegal. Specify a legal value. | ||
| TCL_ERROR | 1 | ERROR: Missing destination for assignment. Specify the destination for the assignment. | ||
| TCL_ERROR | 1 | ERROR: You must open a project before you can use this command. | ||
| TCL_ERROR | 1 | ERROR: Missing <<string>> for <string> assignment. Specify the required <string>. | ||