get_logiclock (::quartus::incremental_compilation)

The following table displays information for the get_logiclock Tcl command:

Tcl Package and Version

Belongs to ::quartus::incremental_compilation 1.1

Syntax get_logiclock [-h | -help] [-long_help] [-auto_size] [-enabled] [-floating] [-height] [-origin] [-parent] [-reconfigurable] [-region <region name> ] [-reserved] [-state] [-width]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-auto_size Region's auto-size property
-enabled Region's enabled property
-floating Region's floating property
-height Region height
-origin Region origin
-parent Region's parent
-reconfigurable Region's reconfigurable property
-region <region name> Region name
-reserved Region's reserved property
-state Region's state name
-width Region width
Description
Returns a list of LogicLock(TM) regions or a specific 
region property. The command returns a list of all the 
regions in the current project if you do not specify 
any options.

You must use the region property options when you use 
the "-region" option.
Example Usage
package require ::quartus::incremental_compilation

project_open my_design

## Get a list of regions
set regions [get_logiclock]

## Print the size of each region
foreach region $regions {
	puts "size of $region is [get_logiclock -region $region -height] x [get_logiclock -region $region -width]"
}

project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: LogicLock not initialized. Initialize the LogicLock data structures using the initialize_logiclock command. The LogicLock datastructures can go out of date after changing projects, revisions, or devices; if so, use a subsequent initialize_logiclock command.
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 existing project or create a new project.
TCL_ERROR 1 ERROR: Wrong number of arguments. Usage: get_logiclock [-region <LLR name> (-height|-width|-origin|-parent|-reserved|-auto_size|-state|-enabled)]