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 instance pin's inst.

 

ip.setName(char *name)

Set the instance pin's name

 

char *name = ip.getName()

Get the instance pin's name

 

ip.setNet(net *n)

Set the instance pin's net

 

net *n = ip.getGet()

Get the instance pin's net

 

ip.setPin(pin *p)

Set the instance master's pin

 

pin *p = ip.getPin()

Get the instance master's pin

 

ip.setSpecial(bool s)

Set this instPin as special

 

bool special = ip.isSpecial()

Get the instPin's special status

 

Point ip.getPortLoc()

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

 

bool ip.isSupplyPin()

Retuens true if this instPin is a supply pin.

 

Contents|Index

Copyright © Peardrop Design 2020.