Get_logiclock_contents, Usage, Options – Altera Quartus II Scripting User Manual
Page 244: Description, Example, Get_logiclock_contents –114

3–114
Chapter 3: Tcl Packages & Commands
incremental_compilation
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_logiclock_contents
Usage
get_logiclock_contents [-node_locations] [-region
Options
-node_locations: Option to list node-locations instead of region assignments
-region
-root_region: Root region name
Description
Returns assigned contents or back-annotated nodes for the specified region. The command returns a list of
all the region assignments to the LogicLock™region specified by the "-region" option.
Each member is represented by one element in the list. Each member has the following format:
{{
When the member is a simple member, rather than a path member, only the second and third elements are
valid. (The first element is always empty in this case so that common parsing code can be used.)
When you use the "-node_locations" option, the back-annotated contents are returned.
Example
package require ::quartus::incremental_compilation
project_open my_design
## Initialize interface before doing anything else
initialize_logiclock
## Get a list of region members
set members [get_logiclock_contents -region region_one]
## Parse elements of member list
foreach member $members {
set from[lindex $member 0]
set to [lindex $member 1]
set region [lindex $member 2]
set exclude_from [lindex $member 3]
set exclude_to[lindex $member 4]
## Do something with member attributes
...
}
project_close