public class Path extends AbstractPath<PathPort,HardMacro>
undoCount
Modifier and Type | Method and Description |
---|---|
void |
addPin(SitePinInst p,
Map<ModuleInst,HardMacro> map)
Adds a pin the to path.
|
void |
calculateHPWL() |
void |
calculateLength() |
PathPort |
get(int index) |
ArrayList<Integer> |
getDelay() |
int |
getHPWL() |
int |
getLength() |
int |
getMaxDelay() |
String |
getName() |
Set<?> |
getPathConnections() |
List<PathPort> |
getPorts() |
void |
restoreUndo() |
void |
saveUndo() |
void |
setDelay(ArrayList<Integer> estimatedDelay) |
void |
setMaxDelay(int pathMaxDelay) |
connectsTo, countConnectedModules, getSize, getWeight, increaseWeight, iterator
public int getLength()
getLength
in class AbstractPath<PathPort,HardMacro>
public int getHPWL()
public ArrayList<Integer> getDelay()
public int getMaxDelay()
public void setDelay(ArrayList<Integer> estimatedDelay)
public void setMaxDelay(int pathMaxDelay)
public void calculateLength()
calculateLength
in class AbstractPath<PathPort,HardMacro>
public String getName()
getName
in class AbstractPath<PathPort,HardMacro>
public void calculateHPWL()
public void saveUndo()
saveUndo
in class AbstractPath<PathPort,HardMacro>
public void restoreUndo()
restoreUndo
in class AbstractPath<PathPort,HardMacro>
public void addPin(SitePinInst p, Map<ModuleInst,HardMacro> map)
p
- The pin to addmap
- Map of module instance to hard macrospublic PathPort get(int index)
public List<PathPort> getPorts()
public Set<?> getPathConnections()
getPathConnections
in class AbstractPath<PathPort,HardMacro>