com.sun.electric.tool.routing
Class River
java.lang.Object
com.sun.electric.tool.routing.River
public class River
- extends java.lang.Object
Class to do river routing.
River Routing takes two sets of parallel points (connectors, ports, etc) and routes wires
between them. All wires are routed in a single layer with non intersecting lines.
p1 p2 p3 p4
| | | | /\ cell_off2
_| | | ____| \/
| | | |
__| ______| | |
| | | |
| ___| ____________| |
| | | /\ pitch |
__| | ___| \/____________|
cell_off1 /\ | | | <>|
\/ | | | |
a1 a2 a3 a4
Restrictions:
- The distance between the ports (p1..pn) and (a1..an) is >= "pitch"
- The parameter "width" specifies the width of all wires
The parameter "space" specifies the distance between wires
pitch = 2*(width/2) + space = space + width
The sides:
SIDE3
________________________________________
| route | | route |
S | right | | left | S
I | (last) | normal right | (last) | I
D |_________| and left route |_________| D
E | route | (middle) | route | E
4 | left | | right | 2
| (first) | | (first) |
|_________|__________________|_________|
SIDE1
Constructor Summary |
River()
|
Method Summary |
void |
river(Cell cell)
This is the public interface for River Routing when done in batch mode. |
static void |
riverRoute()
MAIN CONTROL CODE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
River
public River()
riverRoute
public static void riverRoute()
- MAIN CONTROL CODE
river
public void river(Cell cell)
- This is the public interface for River Routing when done in batch mode.
- Parameters:
cell
- the cell to be River-routed.