Connecting to a Building Block

By 12 November 2017Nazca Layout, Nazca Foundry

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.

Related Tutorials

Nazca LayoutNazca Foundry
16 November 2018

Add text to your layout

In this example we show how to add text to your layout.
Nazca LayoutNazca FoundryPhotonic BBs
19 January 2018

Create a building block using Polygons

In this example we show how to create a building block from Polygons.
Nazca LayoutNazca FoundryPhotonic BBs
19 January 2018

Create a photonic crystal using a GDS array

In this example we show how to create a photonic crystal using GDS array.