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 *
|
const char *
|
||||||
pin_location(Pin *pin)
|
pin_location(const Pin *pin)
|
||||||
{
|
{
|
||||||
Network *network = cmdNetwork();
|
Network *network = cmdNetwork();
|
||||||
double x, y;
|
double x, y;
|
||||||
|
|
@ -5416,6 +5416,14 @@ pin_location(Pin *pin)
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *
|
||||||
|
port_location(const Port *port)
|
||||||
|
{
|
||||||
|
Network *network = cmdNetwork();
|
||||||
|
const Pin *pin = network->findPin(network->topInstance(), port);
|
||||||
|
return pin_location(pin);
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
endpoint_count()
|
endpoint_count()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue