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.3. drc::add_object (::quartus::drc)

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

Tcl Package and Version

Belongs to ::quartus::drc

Syntax drc::add_object [-h | -help] [-long_help] [-bind_to_tcl_execute <bind_to_tcl_execute> ] [-category <category> ] [-name <name> ] [-number <number> ] [-parent <parent> ] -type <type>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-bind_to_tcl_execute <bind_to_tcl_execute> Specifies the Tcl execution mode of the new check_operation DRC object (none / per_rule / per_operation).
-category <category> The category of the new DRC object.
-name <name> The name of the new check_operation/rule_set DRC object.
-number <number> The numeric part of the new DRC object's name.
-parent <parent> The parent object of the new violation_record DRC object.
-type <type> The type of the new DRC object.
Description

Adds a new DRC object.

Example Usage
drc::add_object -type rule -category CLK -number 1
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Fail to add DRC object.
TCL_ERROR 1 ERROR: Invalid object type '<string>'.
TCL_ERROR 1 ERROR: Category is needed for finding RULE or VIOLATION.
TCL_ERROR 1 ERROR: Object name is needed.
TCL_ERROR 1 ERROR: Object number is needed.
TCL_ERROR 1 ERROR: Parent object is needed for violation record.