port_location
This commit is contained in:
parent
fe0392f789
commit
f2e042ecd8
10
tcl/StaTcl.i
10
tcl/StaTcl.i
|
|
@ -5403,7 +5403,7 @@ delays_invalid()
|
|||
}
|
||||
|
||||
const char *
|
||||
pin_location(Pin *pin)
|
||||
pin_location(const Pin *pin)
|
||||
{
|
||||
Network *network = cmdNetwork();
|
||||
double x, y;
|
||||
|
|
@ -5416,6 +5416,14 @@ pin_location(Pin *pin)
|
|||
return "";
|
||||
}
|
||||
|
||||
const char *
|
||||
port_location(const Port *port)
|
||||
{
|
||||
Network *network = cmdNetwork();
|
||||
const Pin *pin = network->findPin(network->topInstance(), port);
|
||||
return pin_location(pin);
|
||||
}
|
||||
|
||||
int
|
||||
endpoint_count()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue