|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.Tool
com.sun.electric.tool.Listener
com.sun.electric.tool.routing.Routing
public class Routing
This is the Routing tool.
Nested Class Summary | |
---|---|
static class |
Routing.Activity
Class to describe recent activity that pertains to routing. |
Field Summary |
---|
Fields inherited from class com.sun.electric.tool.Tool |
---|
prefs |
Method Summary | |
---|---|
static void |
copyRoutingTopology()
Method called when the "Copy Routing Topology" command is issued. |
static boolean |
copyTopology(Cell fromCell,
Cell toCell)
Method to copy the routing topology from one cell to another. |
void |
endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job. |
static java.util.List<Connection> |
findNetEnds(Network net,
java.util.Set<ArcInst> arcsToDelete,
java.util.Set<NodeInst> nodesToDelete,
Netlist netList,
boolean mustBeUnrouted)
Method to find the endpoints of a network. |
Routing.Activity |
getLastActivity()
Method to return the most recent routing activity. |
static java.lang.String |
getPreferredRoutingArc()
Method to return the name of the arc that should be used as a default by the stitching routers. |
static ArcProto |
getPreferredRoutingArcProto()
Method to determine the preferred ArcProto to use for routing. |
static Routing |
getRoutingTool()
Method to retrieve the singleton associated with the Routing tool. |
static int |
getSeaOfGatesComplexityLimit()
Method to get the "sea-of-gates" complexity limit. |
static double |
getSeaOfGatesMaxWidth()
Method to get the "sea-of-gates" maximum arc width. |
static double |
getSunRouterCostLimit()
|
static double |
getSunRouterCutlineDeviation()
|
static double |
getSunRouterDelta()
|
static int |
getSunRouterDenseViaAreaSize()
|
static int |
getSunRouterGlobalPathExpansion()
|
static int |
getSunRouterHighPathSearchCost()
|
static double |
getSunRouterLayerAssgnCapF()
|
static double |
getSunRouterLengthLongNet()
|
static double |
getSunRouterLengthMedNet()
|
static int |
getSunRouterLowPathSearchCost()
|
static int |
getSunRouterMediumPathSearchCost()
|
static double |
getSunRouterOneTileFactor()
|
static int |
getSunRouterOverloadLimit()
|
static int |
getSunRouterPathSearchControl()
|
static int |
getSunRouterPinFactor()
|
static int |
getSunRouterRetryDenseViaAreaSize()
|
static int |
getSunRouterRetryExpandRouting()
|
static int |
getSunRouterRipUpExpansion()
|
static int |
getSunRouterRipUpMaximum()
|
static int |
getSunRouterRipUpPenalty()
|
static int |
getSunRouterRipUpSearches()
|
static int |
getSunRouterSinkAccessExpansion()
|
static int |
getSunRouterSourceAccessExpansion()
|
static int |
getSunRouterSparseViaModulo()
|
static int |
getSunRouterTakenPathSearchCost()
|
static double |
getSunRouterTilesPerPinLongNet()
|
static double |
getSunRouterTilesPerPinMedNet()
|
static double |
getSunRouterUPinDensityF()
|
static int |
getSunRouterVerboseLevel()
verbose level can be 0: silent, 1: quiet, 2: normal 3: verbose |
static int |
getSunRouterWindow()
|
static double |
getSunRouterWireBlockageFactor()
|
static int |
getSunRouterWireModulo()
|
static int |
getSunRouterWireOffset()
|
static int |
getSunRouterXBitSize()
|
static int |
getSunRouterXTileSize()
|
static int |
getSunRouterYBitSize()
|
static int |
getSunRouterYTileSize()
|
static int |
getSunRouterZRipUpExpansion()
|
static boolean |
hasSunRouter()
Method to tell whether the Sun Router is available. |
void |
init()
Method to initialize the Routing tool. |
static boolean |
isAutoStitchCreateExports()
Method to tell whether Auto-stitching should create exports if necessary. |
static boolean |
isAutoStitchOn()
Method to tell whether Auto-stitching should be done. |
static boolean |
isMimicStitchInteractive()
Method to tell whether Mimic-stitching runs interactively. |
static boolean |
isMimicStitchMatchNodeSize()
Method to tell whether Mimic-stitching only works when the node sizes are the same. |
static boolean |
isMimicStitchMatchNodeType()
Method to tell whether Mimic-stitching only works when the nodes have the same type. |
static boolean |
isMimicStitchMatchNumArcs()
Method to tell whether Mimic-stitching only works when the number of existing arcs matches. |
static boolean |
isMimicStitchMatchPorts()
Method to tell whether Mimic-stitching only works between matching ports. |
static boolean |
isMimicStitchMatchPortWidth()
Method to tell whether Mimic-stitching only works between ports of the same width. |
static boolean |
isMimicStitchNoOtherArcsSameDir()
Method to tell whether Mimic-stitching only works when there are no other arcs running in the same direction. |
static boolean |
isMimicStitchOn()
Method to tell whether Mimic-stitching should be done. |
static boolean |
isMimicStitchOnlyNewTopology()
Method to tell whether Mimic-stitching creates arcs only where not already connected. |
static boolean |
isMimicStitchPinsKept()
Method to tell whether Mimic-stitching keeps pins even if it has no arc connections. |
static boolean |
isSeaOfGatesFavor(ArcProto ap)
Method to tell if the "sea-of-gates" router should favor this ArcProto. |
static boolean |
isSeaOfGatesPrevent(ArcProto ap)
Method to tell if the "sea-of-gates" router can use this ArcProto. |
static boolean |
isSeaOfGatesUseParallelFromToRoutes()
Method to tell whether the "sea-of-gates" router does from/to analysis in parallel. |
static boolean |
isSeaOfGatesUseParallelRoutes()
Method to tell whether the "sea-of-gates" router finds routes in parallel. |
void |
mimicSelected()
Method to mimic the currently selected ArcInst. |
static void |
pasteRoutingTopology()
Method called when the "Paste Routing Topology" command is issued. |
static void |
setAutoStitchCreateExports(boolean on)
Method to set whether Auto-stitching should create exports if necessary. |
static void |
setAutoStitchOn(boolean on)
Method to set whether Auto-stitching should be done. |
static void |
setMimicStitchInteractive(boolean on)
Method to set whether Mimic-stitching runs interactively. |
static void |
setMimicStitchMatchNodeSize(boolean on)
Method to set whether Mimic-stitching only works when the node sizes are the same. |
static void |
setMimicStitchMatchNodeType(boolean on)
Method to set whether Mimic-stitching only works when the nodes have the same type. |
static void |
setMimicStitchMatchNumArcs(boolean on)
Method to set whether Mimic-stitching only works when the number of existing arcs matches. |
static void |
setMimicStitchMatchPorts(boolean on)
Method to set whether Mimic-stitching only works between matching ports. |
static void |
setMimicStitchMatchPortWidth(boolean on)
Method to set whether Mimic-stitching only works between ports of the same width. |
static void |
setMimicStitchNoOtherArcsSameDir(boolean on)
Method to set whether Mimic-stitching only works when there are no other arcs running in the same direction. |
static void |
setMimicStitchOn(boolean on)
Method to set whether Mimic-stitching should be done. |
static void |
setMimicStitchOnlyNewTopology(boolean on)
Method to set whether Mimic-stitching creates arcs only where not already connected. |
static void |
setMimicStitchPinsKept(boolean on)
Method to set whether Mimic-stitching keeps pins even if it has no arc connections. |
static void |
setPreferredRoutingArc(java.lang.String arcName)
Method to set the name of the arc that should be used as a default by the stitching routers. |
static void |
setSeaOfGatesComplexityLimit(int c)
Method to set the "sea-of-gates" complexity limit. |
static void |
setSeaOfGatesFavor(ArcProto ap,
boolean favor)
Method to set the "sea-of-gates favor" bit for this ArcProto. |
static void |
setSeaOfGatesMaxWidth(double w)
Method to set the "sea-of-gates" maximum arc width. |
static void |
setSeaOfGatesPrevent(ArcProto ap,
boolean prevent)
Method to set the "sea-of-gates can use" bit for this ArcProto. |
static void |
setSeaOfGatesUseParallelFromToRoutes(boolean p)
Method to set whether the "sea-of-gates" router does from/to analysis in parallel. |
static void |
setSeaOfGatesUseParallelRoutes(boolean p)
Method to set whether the "sea-of-gates" router finds routes in parallel. |
static void |
setSunRouterCostLimit(double r)
|
static void |
setSunRouterCutlineDeviation(double r)
|
static void |
setSunRouterDelta(double r)
|
static void |
setSunRouterDenseViaAreaSize(int r)
|
static void |
setSunRouterGlobalPathExpansion(int r)
|
static void |
setSunRouterHighPathSearchCost(int r)
|
static void |
setSunRouterLayerAssgnCapF(double r)
|
static void |
setSunRouterLengthLongNet(double r)
|
static void |
setSunRouterLengthMedNet(double r)
|
static void |
setSunRouterLowPathSearchCost(int r)
|
static void |
setSunRouterMediumPathSearchCost(int r)
|
static void |
setSunRouterOneTileFactor(double r)
|
static void |
setSunRouterOverloadLimit(int r)
|
static void |
setSunRouterPathSearchControl(int r)
|
static void |
setSunRouterPinFactor(int r)
|
static void |
setSunRouterRetryDenseViaAreaSize(int r)
|
static void |
setSunRouterRetryExpandRouting(int r)
|
static void |
setSunRouterRipUpExpansion(int r)
|
static void |
setSunRouterRipUpMaximum(int r)
|
static void |
setSunRouterRipUpPenalty(int r)
|
static void |
setSunRouterRipUpSearches(int r)
|
static void |
setSunRouterSinkAccessExpansion(int r)
|
static void |
setSunRouterSourceAccessExpansion(int r)
|
static void |
setSunRouterSparseViaModulo(int r)
|
static void |
setSunRouterTakenPathSearchCost(int r)
|
static void |
setSunRouterTilesPerPinLongNet(double r)
|
static void |
setSunRouterTilesPerPinMedNet(double r)
|
static void |
setSunRouterUPinDensityF(double r)
|
static void |
setSunRouterVerboseLevel(int v)
|
static void |
setSunRouterWindow(int r)
|
static void |
setSunRouterWireBlockageFactor(double r)
|
static void |
setSunRouterWireModulo(int r)
|
static void |
setSunRouterWireOffset(int r)
|
static void |
setSunRouterXBitSize(int r)
|
static void |
setSunRouterXTileSize(int r)
|
static void |
setSunRouterYBitSize(int r)
|
static void |
setSunRouterYTileSize(int r)
|
static void |
setSunRouterZRipUpExpansion(int r)
|
static void |
sunRouteCurrentCell()
Method to invoke the Sun Router via reflection. |
static void |
unrouteCurrent()
Method to convert the current network(s) to an unrouted wire. |
Methods inherited from class com.sun.electric.tool.Listener |
---|
eraseLibrary, examineCell, killObject, modifyArcInst, modifyCell, modifyCellGroup, modifyExport, modifyLibrary, modifyNodeInst, newObject, readLibrary, renameObject, request, slice, startBatch, writeLibrary |
Methods inherited from class com.sun.electric.tool.Tool |
---|
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, initAllTools, initProjectSettings, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, makeBooleanSetting, makeDoubleSetting, makeIntSetting, makeLongSetting, makeStringSetting, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void init()
init
in interface Changes
init
in class Tool
public static Routing getRoutingTool()
public void endBatch(Snapshot oldSnapshot, Snapshot newSnapshot, boolean undoRedo)
endBatch
in interface Changes
endBatch
in class Listener
oldSnapshot
- database snapshot before Job.newSnapshot
- database snapshot after Job and constraint propagation.undoRedo
- true if Job was Undo/Redo job.public void mimicSelected()
public static void unrouteCurrent()
public static ArcProto getPreferredRoutingArcProto()
public static java.util.List<Connection> findNetEnds(Network net, java.util.Set<ArcInst> arcsToDelete, java.util.Set<NodeInst> nodesToDelete, Netlist netList, boolean mustBeUnrouted)
net
- the network to "unroute".arcsToDelete
- a HashSet of arcs that should be deleted.nodesToDelete
- a HashSet of nodes that should be deleted.netList
- the netlist for the current cell.mustBeUnrouted
- true to include all items on the network in the list of arcs/nodes to delete.
False to only include items from the generic technology or pins with no exports.
public Routing.Activity getLastActivity()
public static boolean hasSunRouter()
public static void sunRouteCurrentCell()
public static void copyRoutingTopology()
public static void pasteRoutingTopology()
public static boolean copyTopology(Cell fromCell, Cell toCell)
fromCell
- the source of the routing topology.toCell
- the destination cell for the routing topology.
public static java.lang.String getPreferredRoutingArc()
public static void setPreferredRoutingArc(java.lang.String arcName)
arcName
- the name of the arc that should be used as a default by the stitching routers.public static boolean isAutoStitchOn()
public static void setAutoStitchOn(boolean on)
on
- true if Auto-stitching should be done.public static boolean isAutoStitchCreateExports()
public static void setAutoStitchCreateExports(boolean on)
on
- true if Auto-stitching should create exports if necessary.public static boolean isMimicStitchOn()
public static void setMimicStitchOn(boolean on)
on
- true if Mimic-stitching should be done.public static boolean isMimicStitchInteractive()
public static void setMimicStitchInteractive(boolean on)
on
- true if Mimic-stitching runs interactively.public static boolean isMimicStitchPinsKept()
public static void setMimicStitchPinsKept(boolean on)
on
- true if Mimic-stitching runs interactively.public static boolean isMimicStitchMatchPorts()
public static void setMimicStitchMatchPorts(boolean on)
on
- true if Mimic-stitching only works between matching ports.public static boolean isMimicStitchMatchPortWidth()
public static void setMimicStitchMatchPortWidth(boolean on)
on
- true if Mimic-stitching only works between ports of the same width.public static boolean isMimicStitchMatchNumArcs()
public static void setMimicStitchMatchNumArcs(boolean on)
on
- true if Mimic-stitching only works when the number of existing arcs matches.public static boolean isMimicStitchMatchNodeSize()
public static void setMimicStitchMatchNodeSize(boolean on)
on
- true if Mimic-stitching only works when the node sizes are the same.public static boolean isMimicStitchMatchNodeType()
public static void setMimicStitchMatchNodeType(boolean on)
on
- true if Mimic-stitching only works when the nodes have the same type.public static boolean isMimicStitchNoOtherArcsSameDir()
public static void setMimicStitchNoOtherArcsSameDir(boolean on)
on
- true if Mimic-stitching only works when there are no other arcs running in the same direction.public static boolean isMimicStitchOnlyNewTopology()
public static void setMimicStitchOnlyNewTopology(boolean on)
on
- true if Mimic-stitching creates arcs only where not already connected.public static void setSeaOfGatesPrevent(ArcProto ap, boolean prevent)
prevent
- true if sea-of-gates routing should avoid this ArcProto.public static boolean isSeaOfGatesPrevent(ArcProto ap)
public static void setSeaOfGatesFavor(ArcProto ap, boolean favor)
favor
- true if sea-of-gates routing should favor this ArcProto.public static boolean isSeaOfGatesFavor(ArcProto ap)
public static double getSeaOfGatesMaxWidth()
public static void setSeaOfGatesMaxWidth(double w)
w
- the maximum arc width in sea-of-gates routing.public static int getSeaOfGatesComplexityLimit()
public static void setSeaOfGatesComplexityLimit(int c)
c
- the "sea-of-gates" complexity limit.public static boolean isSeaOfGatesUseParallelFromToRoutes()
public static void setSeaOfGatesUseParallelFromToRoutes(boolean p)
p
- true if the "sea-of-gates" router does from/to analysis in parallel.public static boolean isSeaOfGatesUseParallelRoutes()
public static void setSeaOfGatesUseParallelRoutes(boolean p)
p
- true if the "sea-of-gates" router finds routes in parallel.public static int getSunRouterVerboseLevel()
public static void setSunRouterVerboseLevel(int v)
public static double getSunRouterCostLimit()
public static void setSunRouterCostLimit(double r)
public static double getSunRouterCutlineDeviation()
public static void setSunRouterCutlineDeviation(double r)
public static double getSunRouterDelta()
public static void setSunRouterDelta(double r)
public static int getSunRouterXBitSize()
public static void setSunRouterXBitSize(int r)
public static int getSunRouterYBitSize()
public static void setSunRouterYBitSize(int r)
public static int getSunRouterXTileSize()
public static void setSunRouterXTileSize(int r)
public static int getSunRouterYTileSize()
public static void setSunRouterYTileSize(int r)
public static double getSunRouterLayerAssgnCapF()
public static void setSunRouterLayerAssgnCapF(double r)
public static double getSunRouterLengthLongNet()
public static void setSunRouterLengthLongNet(double r)
public static double getSunRouterLengthMedNet()
public static void setSunRouterLengthMedNet(double r)
public static double getSunRouterTilesPerPinLongNet()
public static void setSunRouterTilesPerPinLongNet(double r)
public static double getSunRouterTilesPerPinMedNet()
public static void setSunRouterTilesPerPinMedNet(double r)
public static double getSunRouterOneTileFactor()
public static void setSunRouterOneTileFactor(double r)
public static int getSunRouterOverloadLimit()
public static void setSunRouterOverloadLimit(int r)
public static int getSunRouterPinFactor()
public static void setSunRouterPinFactor(int r)
public static double getSunRouterUPinDensityF()
public static void setSunRouterUPinDensityF(double r)
public static int getSunRouterWindow()
public static void setSunRouterWindow(int r)
public static int getSunRouterWireOffset()
public static void setSunRouterWireOffset(int r)
public static int getSunRouterWireModulo()
public static void setSunRouterWireModulo(int r)
public static double getSunRouterWireBlockageFactor()
public static void setSunRouterWireBlockageFactor(double r)
public static int getSunRouterRipUpMaximum()
public static void setSunRouterRipUpMaximum(int r)
public static int getSunRouterRipUpPenalty()
public static void setSunRouterRipUpPenalty(int r)
public static int getSunRouterRipUpExpansion()
public static void setSunRouterRipUpExpansion(int r)
public static int getSunRouterZRipUpExpansion()
public static void setSunRouterZRipUpExpansion(int r)
public static int getSunRouterRipUpSearches()
public static void setSunRouterRipUpSearches(int r)
public static int getSunRouterGlobalPathExpansion()
public static void setSunRouterGlobalPathExpansion(int r)
public static int getSunRouterSourceAccessExpansion()
public static void setSunRouterSourceAccessExpansion(int r)
public static int getSunRouterSinkAccessExpansion()
public static void setSunRouterSinkAccessExpansion(int r)
public static int getSunRouterDenseViaAreaSize()
public static void setSunRouterDenseViaAreaSize(int r)
public static int getSunRouterRetryExpandRouting()
public static void setSunRouterRetryExpandRouting(int r)
public static int getSunRouterRetryDenseViaAreaSize()
public static void setSunRouterRetryDenseViaAreaSize(int r)
public static int getSunRouterPathSearchControl()
public static void setSunRouterPathSearchControl(int r)
public static int getSunRouterSparseViaModulo()
public static void setSunRouterSparseViaModulo(int r)
public static int getSunRouterLowPathSearchCost()
public static void setSunRouterLowPathSearchCost(int r)
public static int getSunRouterMediumPathSearchCost()
public static void setSunRouterMediumPathSearchCost(int r)
public static int getSunRouterHighPathSearchCost()
public static void setSunRouterHighPathSearchCost(int r)
public static int getSunRouterTakenPathSearchCost()
public static void setSunRouterTakenPathSearchCost(int r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |