|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.opencores.routing.Wavefront
Just places wires using frontwave technique.
| Field Summary | |
static float |
COST_MODIFIER
Cost modifier, if we failed to place it |
private Graph |
g
graph to work on |
static int |
NUM_ITERATIONS
Number of iteration of ripping-up and re-routing. |
int[] |
statHopCnt
Distribution of #hops. |
int[] |
statLenCnt
Distribution of used wire connections by length |
int[] |
statWireCnt
Distribution of wire length. |
private java.util.Vector |
tree
Current net's tree is stored here. |
java.util.Vector |
unroutedNets
Vector of all unrouted nets. (failed to route) |
| Constructor Summary | |
Wavefront(Graph g)
starts new prerouting session based on graph g |
|
| Method Summary | |
(package private) void |
findWayBack(Segment s,
Heap wave)
Sets path cost we've searched so far to zeroes. |
int |
minFreeSegment()
Returns number of lowest free segments |
boolean |
route()
Performs one iteration of routing. |
boolean |
spread(Net nt)
Spread wave around specified net in graph |
void |
spread(Net[] nets)
Spread wave around all nets in graph |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int NUM_ITERATIONS
public static final float COST_MODIFIER
private Graph g
private java.util.Vector tree
public java.util.Vector unroutedNets
public int[] statLenCnt
public int[] statWireCnt
public int[] statHopCnt
| Constructor Detail |
public Wavefront(Graph g)
g - graph, it should have channels initialized| Method Detail |
public boolean route()
public void spread(Net[] nets)
public boolean spread(Net nt)
void findWayBack(Segment s,
Heap wave)
s - sink Segment to start fromwave - wave-front currently processedpublic int minFreeSegment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||