drc::add_object_with_properties (::quartus::drc)
The following table displays information for the drc::add_object_with_properties Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::drc 1.0 |
|||
| Syntax | drc::add_object_with_properties [-h | -help] [-long_help] [-bind_to_tcl_execute <bind_to_tcl_execute> ] [-category <category> ] [-name <name> ] [-number <number> ] [-parent <parent> ] -properties <properties> -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. | |||
| -properties <properties> | The property list of the new violation_record DRC object. | |||
| -type <type> | The type of the new DRC object. | |||
| Description |
Adds a new DRC object with properties. |
|||
| Example Usage |
drc::add_object_with_properties -type violation_record -name <violation> -parent <result_record_id> -properties [list [list "fields" [list "HighFanout_DRV1", "1530"]], [list "fields:1:location_schema" "mod_A|mod_A_1|out"]]
drc::add_object_with_properties -type violation_record -name <violation> -parent <result_record_id> -properties {{"fields" {"HighFanout_DRV1", "1530"}} {"fields:1:location_schema" "mod_A|mod_A_1|out"}}
|
|||
| 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: Property list should consist of name-value pairs. | ||
| 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. | ||