Interconnects

By 19 November 2017Nazca Layout, Nazca Foundry

Interconnects

How to use interconnects

Point-based interconnects
import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

demo.shallow.strt(length=50).put(0)
demo.shallow.bend(angle=90).put(0, 50)
demo.shallow.sbend(offset=20).put(0, 100)
demo.shallow.taper(length=50, width1=2, width2=10).put(0, 150)
demo.shallow.ptaper(length=50, width1=2, width2=10).put(0, 200)

nd.export_gds()

An example with different point-based interconnects: straight waveguide (strt), bend waveguide (bend), sbend, taper and parabolic taper. Use demofab_klayout_colors.lyp to view the mask in KLayout.

Point-to-point (p2p) based interconnects
import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

s1 = demo.shallow.strt(10).put(0)
s2 = demo.shallow.strt(30).put(100, 40, 120)
demo.shallow.strt_bend_strt_p2p(pin1=s1, pin2=s2.pin['a0']).put()

nd.export_gds()

An example of straight-bend-straight point-to-point interconnect. Use demofab_klayout_colors.lyp to view the mask in KLayout.

import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

s1 = demo.shallow.strt(10).put(0)
s2 = demo.shallow.strt(30).put(100, 40, 120)
demo.shallow.bend_strt_bend_p2p(pin1=s1, pin2=s2.pin['a0']).put()

nd.export_gds()

An example of bend-straight-bend point-to-point interconnect. Use demofab_klayout_colors.lyp to view the mask in KLayout.

import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

s1 = demo.shallow.strt(10).put(0)
s2 = demo.shallow.strt(30).put(100, 40, 0)
demo.shallow.sbend_p2p(pin1=s1, pin2=s2.pin['a0']).put()

nd.export_gds()

An example of sbend point-to-point interconnect. Use demofab_klayout_colors.lyp to view the mask in KLayout.

import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

s1 = demo.shallow.strt(10).put(0)
s2 = demo.shallow.strt(30).put(100, 40, 0)
demo.shallow.ubend_p2p(pin1=s1, pin2=s2).put()

nd.export_gds()

An example of ubend point-to-point interconnect. Use demofab_klayout_colors.lyp to view the mask in KLayout.

import nazca as nd
import nazca.demofab as demo

demo.shallow.radius = 20

s1 = demo.shallow.strt(10).put(0)
s2 = demo.shallow.strt(30).put(100, 40, 120)
demo.shallow.strt_p2p(pin1=s1, pin2=s2.pin['a0']).put()

nd.export_gds()

An example of straight point-to-point waveguide. 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.