Connecting to a Building Block
How to connect waveguides to a building block
import nazca as nd import nazca.demofab as demofab mmi = demofab.mmi1x2_dp().put(0) demofab.deep.strt(length=50).put(mmi.pin['a0']) demofab.deep.bend(angle=180).put(mmi.pin['b0']) demofab.deep.bend(angle=-180).put(mmi.pin['b1']) nd.export_gds()
An example on how to connect straight and bend waveguides to a 1×2 MMI power splitter. The MMI has three ports, named ‘a0’, ‘b0’ and ‘b1’, to which straight and bends in deep cross section are connected. We use demofab components to demonstrated the connectivity. Use demofab_klayout_colors.lyp to view the mask in KLayout.