Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021
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.1.1. get_back_annotation_assignments (::quartus::backannotate)

The following table displays information for the get_back_annotation_assignments Tcl command:

Tcl Package and Version

Belongs to ::quartus::backannotate

Syntax get_back_annotation_assignments [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
Description
Returns an output collection of back-annotation assignments.

Each element of the collection is a list with the following 
format:
{ {<Source>} {<Destination>} {<Assignment name>} {<Assignment value>} {<Entity name>} }
Example Usage
## Print out all the back-annotation assignments
set asgn_col [get_back_annotation_assignments]
foreach_in_collection asgn $asgn_col {

    ## Each element in the collection has the following
    ## format:
    ## { {<Source>} {<Destination>} {<Assignment name>} {<Assignment value>} {<Entity name>} }
    set from   [lindex $asgn 0]
    set to     [lindex $asgn 1]
    set name   [lindex $asgn 2]
    set value  [lindex $asgn 3]
    set entity [lindex $asgn 4]
    puts "$entity : $name ($from -> $to) = $value"
}
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Back annotation failed -- design did not compile properly. Run a successful compilation before performing back-annotation.
TCL_ERROR 1 ERROR: Project has no active revision. Make sure there is an open, active revision.
TCL_ERROR 1 ERROR: No project is currently open. Open an exising project or create a new project.
TCL_ERROR 1 ERROR: Device or device family does not support node location back annotation.
TCL_ERROR 1 ERROR: Device or device family does not support LogicLock back annotation.
TCL_ERROR 1 ERROR: Wrong number of arguments. For correct syntax, refer to help for the logiclock_back_annotate command.

Did you find the information on this page useful?

Characters remaining:

Feedback Message