BusWireRoute Module
Types
Type | Description |
Functions and values
Function or value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
maxVertDistanceFromBox intersectedBoxes wireOrientation pos
Parameters:
BoundingBox list
wireOrientation : Orientation
pos : XYPos
Returns: VertDistFromBoundingBox option
|
|
|
|
|
|
Full Usage:
tryMaxDistance distances
Parameters:
VertDistFromBoundingBox option list
Returns: VertDistFromBoundingBox option
|
|
Full Usage:
tryShiftHorizontalSeg callsLeft model intersectedBoxes wire
Parameters:
int
model : Model
intersectedBoxes : BoundingBox list
wire : Wire
Returns: Wire option
|
Recursively shift horizontal seg up/down until no symbol intersections. Limit in recursion depth defined by argument callsLeft given to initial function call. Limit needed to prevent Issie from breaking when there are physically no possible routes that achieve 0 intersections. Returns None if no route found
|
Full Usage:
tryShiftVerticalSeg model intersectedBoxes wire
Parameters:
Model
intersectedBoxes : BoundingBox list
wire : Wire
Returns: Wire option
|
|
|
|
Full Usage:
updateWires model compIdList diff
Parameters:
Model
compIdList : ComponentId list
diff : XYPos
Returns: Model
|
Re-routes the wires in the model based on a list of components that have been altered. If the wire input and output ports are both in the list of moved components, it does not re-route wire but instead translates it. Keeps manual wires manual (up to a point). Otherwise it will auto-route wires connected to components that have moved
|