Power and Thermal Analyzer User Guide

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

B.4. edit

Usage

edit [-h] [-help] [-long_help] [-property <new property-setting pair>] [-property_reset <Tcl property (or IP parameter) key>] [-target <target to modify>]
Arguments
-h: Quick usage.
-help: Short help.
-long_help: Long help with examples and possible return values.
-property <new property-setting pair>: The key value pairs (space delimited) to apply to the target. Property keys must be lower case.
-property_reset <Tcl property (or IP parameter) key>: The Tcl key(s) to clear inputs to empty string. Keys must be lowercase.
-target <target to modify>: The target to modify.

Tcl Package and Version

Belongs to ::quartus::pta 1.0 .

Description

This command modifies the target based on the targeted properties and their new settings.

Example Usage

edit -property {device} {MY_NEW_DEVICE}
edit -target {|a|b|logic} -property {logicuserinput_num_ff} {5}
edit -target {|a|b|logic} -property {logicuserinput_num_ff} {5} {logicuserinput_clock_freq} {600}
edit -target {|a|b|logic} -property_reset {logicuserinput_user_comments}
edit -target {|a|b|logic} -property_reset {logicuserinput_user_comments} {logicuserinput_module}
edit -target {|a|b|logic} -property {logicuserinput_num_ff} {5} -property_reset {logicuserinput_user_comments}

Return Value

Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: The requested operation expects that properties are provided as key-value pairs. Ensure that each argument has both a key and a value.
TCL_ERROR 1 ERROR: The requested operation expects that the Tcl keys are unique, but key "<string>" appears multiple times.