Glade Reference


instPin class.

An instPin is usually created by its constructor. 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 *ip = instPin(inst *i, net *n, char *name)

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

 

ip.setInst(inst *i)

Set the instPin's instance to i.

 

inst *i = ip.getInst()

Get the inst pin's inst.

 

ip.setName(char *name)

Set the inst pin's name

 

char *name = ip.getName()

Get the inst pin's name

 

ip.setNet(net *n)

Set the inst pin's net

 

net *n = ip.getGet()

Get the inst pin's net

 

ip.setPin(pin *p)

Set the master's pin

 

pin *p = ip.getPin()

Get the master's pin

 

ip.setSpecial(bool s)

Set this inst pin as special

 

bool special = ip.isSpecial()

Get the inst pin's special status

 

Point ip.getPortLoc()

Get the centre of the bounding box of the inst pin's port(s)

 

bool ip.isSupplyPin()

Retuens true if this inst pin is a supply pin.

 

Contents|Index

Copyright © Peardrop Design 2016.