Glade Reference


instPin class

An instPin is not derived from a dbObj, so it cannot have properties. An instPin represents the hierarchical crossing of a net at one level of hierarchy to a pin on the instance of a cell (the lower level of hierarchy). Thus an instPin needs a valid net and instance whose master must have a pin of the given name.

 

instPin instPin::instPin(inst *i, net *n, char *name)

Create an instPin for inst i and net n with name name.

 

instPin::setInst(inst * i)

Set the instPin's instance to i.

 

inst * instPin::getInst()

Get the instance pin's inst.

 

instPin::setName(char * name)

Set the instance pin's name

 

char * instPin::getName()

Get the instance pin's name

 

instPin::setNet(net * n)

Set the instance pin's net

 

net * instPin::getNet()

Get the instance pin's net

 

instPin::setPin(pin *p)

Set the instance master's pin

 

pin * instPin::getPin()

Get the instance master's pin

 

instPin::setSpecial(bool s)

Set this instPin as special

 

bool instPin::isSpecial()

Get the instPin's special status

 

Point instPin::getPortLoc()

Get the centre of the bounding box of the instPin's port(s)

 

bool instPin::isSupplyPin()

Returns true if this instPin is a supply pin.

 

int32_t instPin::getNumPorts()

Get the number of port shapes for this instPin.

 

 

Contents|Index

Copyright © Peardrop Design 2024.