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 1.0 |
|||
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. |