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)



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
28 March 2019

Parametric curve

In this example we show how to create parametric curves between two points.
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.