Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions tcl/Property.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace eval sta {

define_cmd_args "get_property" \
{[-object_type library|liberty_library|cell|liberty_cell|instance|pin|net|port|clock|timing_arc] object property} \
-help {The `get_property` command returns a property of an object. Given a collection of objects it returns one value per object, so an empty collection returns an empty list. Properties for each object type are shown below.
-help {The `get_property` command returns a property of an object. Properties for each object type are shown below.

| Object type | Properties |
| --- | --- |
Expand Down Expand Up @@ -64,10 +64,7 @@ proc get_property_cmd { cmd type_key cmd_args } {
set object [lindex $cmd_args 0]
set prop [lindex $cmd_args 1]
if { $object == "" } {
# Both list and collection mode encode "nothing matched" as the empty string, so this is
# the zero-element case of the collection branch below: no objects, no property values.
# The get_*/all_* command that came up empty already warned unless it was given -quiet.
return {}
sta_error 2200 "get_property object is null."
} elseif { [sta::is_collection $object] || [sizeof_collection $object] > 1 } {
set results {}
foreach_in_collection element $object {
Expand Down
12 changes: 0 additions & 12 deletions test/get_property_empty.ok

This file was deleted.

31 changes: 0 additions & 31 deletions test/get_property_empty.tcl

This file was deleted.

8 changes: 0 additions & 8 deletions test/get_property_empty.v

This file was deleted.

1 change: 0 additions & 1 deletion test/regression_vars.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ record_public_tests {
get_lib_pins_of_objects
get_noargs
get_objrefs
get_property_empty
get_property_flags
get_scenes
input_delay_ref_pin_rebuild
Expand Down