Routing API#
single route#
|
Returns a Manhattan Route between 2 ports. |
|
Returns a route formed by the given waypoints steps. |
|
Routes a basic quadrilateral polygon directly between two ports. |
|
Returns Component route between ports. |
bundle route#
When you need to route groups of ports together without them crossing each other You can use a bundle/river/bus router. get bundle is the generic river bundle bus routing function that will call different function depending on the port orientation. Get bundle acts as a high level entry point. Based on the angle configurations of the banks of ports, it decides which sub-routine to call:
get_bundle_same_axis, banks or ports facing each other (but with arbitrary and varying pitch on each side)
get_bundle_corner, banks of ports with 90Deg / 270Deg between them (again pitch is flexible on both sides)
get_bundle_udirect, banks of ports with direct U-turns
get_bundle_uindirect, banks of ports with indirect U-turns
|
Returns list of routes to connect two groups of ports. |
get_bundle_from_steps#
|
Returns a list of routes formed by the given waypoints steps. |
|
Returns list of routes that are path length matched. |
get_bundle_all_angle#
|
Connects a bundle of ports, allowing steps which create waypoints at arbitrary, non-manhattan angles. |
route_ports_to_side#
For now get_bundle is not smart enough to decide whether it should call route_ports_to_side. So you either need to connect your ports to face in one direction first, or to use route_ports_to_side before calling get_bundle
|
Routes ports to a given side. |
|
Returns Routes to route a component ports to the south. |
fanout#
|
Returns an Sbend Route to connect two ports. |
|
Returns a list of routes from ports1 to ports2. |
|
Returns component with Sbend fanout routes. |
|
Returns component with Sbend fanout routes. |
|
Returns fanout Sbend routes. |
add_fiber_array / add_fiber_single#
In cases where individual components have to be tested, you can generate the array of optical I/O and connect them to the component.
You can connect the waveguides to a 127um pitch fiber array or to individual fibers for input and output.
|
Returns component with south routes and grating_couplers. |
Returns component with grating couplers and labels on each port. |
add_pads#
|
Returns new component with ports connected top pads. |
|
Returns new component with ports connected bottom pads. |
|
Returns new Component with a pad by each electrical port. |
|
Returns new component with electrical ports connected to top pad array. |
|
Returns new component with electrical ports connected to top pad array. |