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
11 November 2019

Log your layout

In this example we show how to log your layout.
Nazca LayoutNazca Foundry
3 November 2019

Make and put a Cell

In this example we show how to create xsections and layers
Nazca LayoutNazca Foundry
2 November 2019

xsections and layers

In this example we show how to create xsections and layers
Nazca LayoutNazca FoundryPhotonic BBs
28 October 2019

Reuse parametric building blocks

Avoid "duplicate cellname" warnings using introspection via the @hasme decorator.