Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Nov 14, 2024
2 parents d8d18e3 + e748b23 commit 9834b58
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions search/Property.cc
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,8 @@ getProperty(const Port *port,
if (stringEqual(property, "name")
|| stringEqual(property, "full_name"))
return PropertyValue(network->name(port));
else if (stringEqual(property, "direction")) {
else if (stringEqual(property, "direction")
|| stringEqual(property, "port_direction")) {
const char *name = network->direction(port)->name();
if (sta->directionPropsShort()) {
if (stringEqual(name, "input"))
Expand Down Expand Up @@ -872,7 +873,8 @@ getProperty(const LibertyPort *port,
return PropertyValue(port->name());
else if (stringEqual(property, "lib_cell"))
return PropertyValue(port->libertyCell());
else if (stringEqual(property, "direction")) {
else if (stringEqual(property, "direction")
|| stringEqual(property, "port_direction")) {
const char *name = port->direction()->name();
if (sta->directionPropsShort()) {
if (stringEqual(name, "input"))
Expand Down Expand Up @@ -986,7 +988,8 @@ getProperty(const Pin *pin,
return PropertyValue(network->portName(pin));
else if (stringEqual(property, "full_name"))
return PropertyValue(network->pathName(pin));
else if (stringEqual(property, "direction")) {
else if (stringEqual(property, "direction")
|| stringEqual(property, "pin_direction")) {
const char *name = network->direction(pin)->name();
if (sta->directionPropsShort()) {
if (stringEqual(name, "input"))
Expand Down

0 comments on commit 9834b58

Please sign in to comment.