Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.6.5. drc::add_property (::quartus::drc)

The following table displays information for the drc::add_property Tcl command:

Tcl Package and Version

Belongs to ::quartus::drc

Syntax drc::add_property [-h | -help] [-long_help] -name <name> -object <object> -value <value> [-value_type <value_type> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-name <name> property name.
-object <object> The DRC object to which the new property belongs.
-value <value> property value.
-value_type <value_type> property value type.
Description

Add a property (a name/value pair) to a generic DRC object

Example Usage
drc::add_property -object <DRC object> -name <property name> -value <property value> -value_type <value type>
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Fail to add object property.
TCL_ERROR 1 ERROR: Invalid DRC object '%'s.
TCL_ERROR 1 ERROR: Invalid property value.
TCL_ERROR 1 ERROR: Invalid property value type.
TCL_ERROR 1 ERROR: Property '<string>' already exists. Cannot be added.