|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeProto
The NodeProto interface defines a type of NodeInst. It can be implemented as PrimitiveNode (for primitives from Technologies) or as Cell (for cells in Libraries).
Every node in the database appears as one prototypical object and many instantiative objects. Thus, for a PrimitiveNode such as the CMOS P-transistor there is one object (called a PrimitiveNode, which is a NodeProto) that describes the transistor prototype and there are many objects (called NodeInsts), one for every instance of a transistor that appears in a circuit. Similarly, for every Cell, there is one object (called a Cell, which is a NodeProto) that describes the Cell with everything in it and there are many objects (also called NodeInsts) for every use of that Cell in some other Cell. PrimitiveNodes are statically created and placed in the Technology objects, but complex Cells are created by the tools and placed in Library objects.
The basic NodeProto has a list of varibales, a list of ports, the bounds and much more.
Method Summary | |
---|---|
java.lang.String |
describe(boolean withQuotes)
Method to describe this NodeProto as a string. |
PortProto |
findPortProto(Name name)
Method to find the PortProto that has a particular Name. |
PortProto |
findPortProto(java.lang.String name)
Method to find the PortProto that has a particular name. |
double |
getDefHeight()
Method to return the default height of this NodeProto. |
double |
getDefWidth()
Method to return the default width of this NodeProto. |
PrimitiveNode.Function |
getFunction()
Method to return the function of this NodeProto. |
NodeProtoId |
getId()
Method to return NodeProtoId of this NodeProto. |
java.lang.String |
getName()
Method to return the name of this NodeProto. |
int |
getNumPorts()
Method to return the number of PortProtos on this NodeProto. |
PortProto |
getPort(int portIndex)
Method to return the PortProto at specified position. |
PortProto |
getPort(PortProtoId portProtoId)
Method to return the PortProto by thread-independent PortProtoId. |
java.util.Iterator<PortProto> |
getPorts()
Method to return an iterator over all PortProtos of this NodeProto. |
SizeOffset |
getProtoSizeOffset()
Method to size offset of this NodeProto. |
Technology |
getTechnology()
Method to return the Technology to which this NodeProto belongs. |
Method Detail |
---|
NodeProtoId getId()
PrimitiveNode.Function getFunction()
double getDefWidth()
double getDefHeight()
SizeOffset getProtoSizeOffset()
Technology getTechnology()
PortProto findPortProto(java.lang.String name)
PortProto findPortProto(Name name)
java.util.Iterator<PortProto> getPorts()
int getNumPorts()
PortProto getPort(int portIndex)
portIndex
- specified position of PortProto.
PortProto getPort(PortProtoId portProtoId)
portProtoId
- thread-independent PortProtoId.
java.lang.String describe(boolean withQuotes)
withQuotes
- to wrap description between quotes
java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |