Routing API#
route_single#
|
Returns a Manhattan Route between 2 ports. |
|
Places a route between two electrical ports. |
|
Routes a basic quadrilateral polygon directly between two ports. |
|
Returns Component route between ports. |
route_bundle#
When you need to route groups of ports together without them crossing each other You can use a bundle/river/bus router. route_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:
|
Places a bundle of routes to connect two groups of ports. |
route_bundle_all_angle#
|
Route a bundle of ports to another bundle of ports with all angles. |
route_ports_to_side#
For now route_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 route_bundle
|
Routes ports to a given side. |
|
Places routes to route a component ports to the south. |
fanout#
|
Returns component with Sbend fanout routes. |
add_fiber_array#
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. |
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. |