Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents 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

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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message