Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
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.7.10. 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

Syntax design::get_assignment_info [-h | -help] [-long_help] [-from] [-name] [-to] [-value] <assignment>
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
Description
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.