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

Page 243: Description, Example, Get_logiclock –113

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–113

incremental_compilation

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

get_logiclock

Usage

get_logiclock [-auto_size] [-enabled] [-floating] [-height] [-origin] [-parent]
[-region <region name>] [-reserved] [-soft] [-state] [-width]

Options

-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

-region <region name>: Region name

-reserved: Region's reserved property

-soft: Region's soft property

-state: Region's state name

-width: Region width

Description

Returns a list of LogicLock™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

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

Advertising