beautypg.com

Get_back_annotation_assignments, Usage, Options – Altera Quartus II Scripting User Manual

Page 160: Description, Example, Get_back_annotation_assignments –30

background image

3–30

Chapter 3: Tcl Packages & Commands

backannotate

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

get_back_annotation_assignments

Usage

get_back_annotation_assignments

Options

None

Description

Returns an output collection of back-annotation assignments.

Each element of the collection is a list with the following format: { {} {}
{} {} {} }

Example

## 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:
## { {} {} {} { # value>} {} }
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"
}