design::get_assignment_info (::quartus::design)

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

Tcl Package and Version

Belongs to ::quartus::design 1.0

Syntax design::get_assignment_info [-h | -help] [-long_help] [-from] [-name] [-to] [-value]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-from Return the source name of the assignment id
-name Return the type name of the assignment id
-to Return the destination name of the assignment id
-value Return the value of the assignment id
<assignment> assignment id
Get information about a given assignent ID
Example Usage
project_open onewire_nf

design::load_design -latest_snapshot
foreach asgn_id [design::get_assignments] {
    puts "Found assignment [design::get_assignment_info -name $asgn_id] [design::get_assignment_info -to $asgn_id] = [design::get_assignment_info -value $asgn_id]"
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: The supplied assignment id <string> is invalid.
TCL_ERROR 1 ERROR: At least one periphery assignment ID must be supplied, but no assignments IDs were supplied.
TCL_ERROR 1 ERROR: <string> assignment IDs were expected but <string> were supplied.