public class PortWire
extends Object
Constructor and Description |
---|
PortWire(SitePinInst source,
SitePinInst sink) |
Modifier and Type | Method and Description |
---|---|
void |
calculateLength() |
int |
getLength() |
SitePinInst |
getSink() |
HardMacro |
getSinkBlock() |
SitePinInst |
getSource() |
HardMacro |
getSourceBlock() |
void |
setSink(SitePinInst sink) |
void |
setSinkBlock(HardMacro sinkBlock) |
void |
setSource(SitePinInst source) |
void |
setSourceBlock(HardMacro sourceBlock) |
String |
toString() |
public PortWire(SitePinInst source, SitePinInst sink)
public HardMacro getSourceBlock()
public void setSourceBlock(HardMacro sourceBlock)
sourceBlock
- the sourceBlock to setpublic HardMacro getSinkBlock()
public void setSinkBlock(HardMacro sinkBlock)
sinkBlock
- the sinkBlock to setpublic SitePinInst getSource()
public void setSource(SitePinInst source)
source
- the source to setpublic SitePinInst getSink()
public void setSink(SitePinInst sink)
sink
- the sink to setpublic void calculateLength()
public int getLength()
public String toString()
toString
in class Object