Power and Thermal Analyzer User Guide

ID 865226
Date 9/29/2025
Public
Document Table of Contents

B.22. pta::locate

Usage

pta::locate [-h] [-help] [-long_help] [-property <Property (or IP parameter)>] [-target <Instance path>]
Arguments
-h: Quick usage.
-help: Short help.
-long_help: Long help with examples and possible return values.
-property <Property (or IP parameter)>: The property (or IP parameter) to locate.
-target <Instance path>: Instance path to the instance to locate.

Tcl Package and Version

Belongs to ::quartus::pta 1.0 .

Description

Locate the specified instance and/or property in the user design. At least one of target or property must be specified. If target is not specified, then the specified property will be located on the Global instance. If property is not specified, then the specified instance will be located without highlighting a specific property.

Example Usage

pta::locate -property device
    pta::locate -target {|foo|bar|logic} -property logicuserinput_num_alms
    pta::locate -target {|foo|bar|my_abstract_instance}

Return Value

Code Name Code String Return
TCL_OK 0 INFO: Operation successful.
TCL_ERROR 1 ERROR: Locate failed: the specified property "<string>" does not exist.
TCL_ERROR 1 ERROR: Locate failed: the specified target instance "<string>" was not found.