Skip to content

Commit

Permalink
EBeam layout example updates
Browse files Browse the repository at this point in the history
- some don't work; disabling them
- @jaspreetj : could you please check the Spiral Bragg which is missing? Also the MZI sweep doesn't work.  thanks


Former-commit-id: 7f10f6a
  • Loading branch information
lukasc-ubc committed Jan 17, 2022
1 parent e92d2f1 commit cef04c1
Show file tree
Hide file tree
Showing 11 changed files with 245 additions and 220 deletions.
10 changes: 5 additions & 5 deletions klayout_dot_config/grain.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<salt-grain>
<name>siepic_ebeam_pdk</name>
<version>0.3.38</version>
<version>0.3.39</version>
<api-version>0.27</api-version>
<title>SiEPIC EBeam PDK</title>
<doc>A Process Design Kit for Silicon Photonics fabricated using Electron Beam Lithography</doc>
<doc-url>https://github.com/lukasc-ubc/SiEPIC_EBeam_PDK/blob/master/README.md</doc-url>
<url>https://github.com/lukasc-ubc/SiEPIC_EBeam.git/trunk/klayout_dot_config</url>
<doc>A Process Design Kit for Silicon Photonics fabricated using Electron Beam Lithography (UW, ANT, SiEPICfab)</doc>
<doc-url>https://github.com/siepic/SiEPIC_EBeam_PDK/blob/master/README.md</doc-url>
<url>https://github.com/siepic/SiEPIC_EBeam.git/trunk/klayout_dot_config</url>
<author>Lukas Chrostowski, Jaspreet Jhoja, Mustafa Hammood, Brett Poulsen, Jonas Flueckiger, Rounak Singh Narde, Chris Zeqin Lu, Nathan Smith, Stefan Preble, Claudio Alarcon-Reyes</author>
<author-contact>GitHub: lukasc-ubc, jaspreetj, mustafacc, bpoulse, jfluecki, rounaksingh, luzeqin, nsmith5, StefanPreble, clalarco</author-contact>
<icon>iVBORw0KGgoAAAANSUhEUgAAADAAAABACAIAAADTQmMRAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAsppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8i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vrW6WPMQ3JWhfruCJpQwaDA7mpYPs/vQW/QbCB9PBgFIfON+exKE4Ho8n8Ta73zkaetus2UdI0QYmmQ6piK1FNoqH9oTkMJRUQosNkGi9wT6qixFWeFhy1hgdedGs1gXw3TK3/+gRNmH/+xe/Ifh2iU5HcPspfltzroeC9Xij/nZnjIosAtpmAUM8Va5m+PbI9PFjUd+vB+l48nhf4AsV8Lsy2BTdH69XYY0fUUseQOAQtjVtjrWXB0cQ7GP5i+AGjTtN/TTBnotK5t1cn683TTpIqMdqW7R+q4a4T5br3DL9YDeFMQZwhkGMslsulx9/dPLowZFP2OW7s9NXZ/hCxyQb+7Sj//Wzz37wF/8uPhqwbXio/CD0/ZHHYFt922Jfij26UxrRRy+BK6Zx7ACGi2AXh/VKl5PtBSpcHWUxkjF0YsdcTvur1eb8cgkRpd7IqlKQ3PUl9muICXvtgkDGEYpZdasN9mJ9hSLA52z/+X+3w+gU7y//OAAAAABJRU5ErkJggg==</icon>
<license>MIT</license>
<depends>
<name>siepic_tools</name>
<url/>
<version>0.3.82</version>
<version>0.3.87</version>
</depends>
</salt-grain>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>Bragg gratings sweep layout</description>
<description>Bragg gratings sweep (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -10,7 +10,7 @@
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand All @@ -34,7 +34,16 @@ from pya import *
from SiEPIC.extend import to_itype
from SiEPIC.utils import select_paths, get_layout_variables

dbu=0.001
'''
Create a new layout using the EBeam technology,
with a top cell
'''
mw = pya.Application().instance().main_window()
ly = mw.create_layout('EBeam', 1).layout()
cell = ly.create_cell('top')
lv = mw.current_view()
lv.select_cell(cell.cell_index(), 0)
dbu = ly.dbu

# linspace function without using numpy, because why not?
def linspace(a, b, n):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>Contra-directional couplers sweep layout</description>
<description>Contra-directional couplers sweep (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -10,7 +10,7 @@
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand All @@ -34,6 +34,17 @@
# Import KLayout-Python API
from pya import *

'''
Create a new layout using the EBeam technology,
with a top cell
'''
mw = pya.Application().instance().main_window()
ly = mw.create_layout('EBeam', 1).layout()
cell = ly.create_cell('top')
lv = mw.current_view()
lv.select_cell(cell.cell_index(), 0)
dbu = ly.dbu


# linspace function without using numpy, because why not?
def linspace_without_numpy(a, b, n):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>Spiral bragg grating layout</description>
<description>Spiral bragg gratings (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -9,8 +9,8 @@
<autorun>false</autorun>
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<show-in-menu>false</show-in-menu>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand All @@ -24,6 +24,17 @@ I suspect it has something to do with the way exceptions are raised or that the
import pya
from SiEPIC.scripts import path_to_waveguide

'''
Create a new layout using the EBeam technology,
with a top cell
'''
mw = pya.Application().instance().main_window()
ly = mw.create_layout('EBeam', 1).layout()
cell = ly.create_cell('top')
lv = mw.current_view()
lv.select_cell(cell.cell_index(), 0)
dbu = ly.dbu


###############PARAMETERS####################
#Shared Sweep
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>MZI designs, by Jaspreet Jhoja</description>
<description>MZI design sweep (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -9,8 +9,8 @@
<autorun>false</autorun>
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<show-in-menu>false</show-in-menu>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand Down Expand Up @@ -66,26 +66,16 @@ wg_bend_radius = 5
#change the waveguide width, default: 500nm or 0.5microns
wg_width = 0.5

lv = pya.Application.instance().main_window().current_view()


if lv == None:
raise Exception("No view selected")
# Find the currently selected layout.
ly = pya.Application.instance().main_window().current_view().active_cellview().layout()
if ly == None:
raise Exception("No layout")
# find the currently selected cell:
cell = pya.Application.instance().main_window().current_view().active_cellview().cell
if cell == None:
raise Exception("No cell")
# fetch the database parameters
dbu = 1 / ly.dbu


# clean all cells within "cell"
ly.prune_subcells(cell.cell_index(), 10)
#delete_extra_top_cells(cell)
'''
Create a new layout using the EBeam technology,
with a top cell
'''
mw = pya.Application().instance().main_window()
ly = mw.create_layout('EBeam', 1).layout()
cell = ly.create_cell('top')
lv = mw.current_view()
lv.select_cell(cell.cell_index(), 0)
dbu = ly.dbu

# Layer mapping:
LayerSi = pya.LayerInfo(1, 0)
Expand Down Expand Up @@ -132,31 +122,31 @@ def draw_gc(gc_y_coord, number_of_designs):
#joiner ybranch
cell.insert(pya.CellInstArray(branch_imported, pya.Trans(pya.Trans.R270, ((15+2.75+wg_bend_radius)*dbu), ((gc_y_coord+127+7.5+2.75+wg_bend_radius) * dbu)), pya.Point(0,127*dbu), pya.Point(space*dbu,0), 1, number_of_designs))


#function Drawing L1
'''
#function Drawing L1
#Comment-Del: add 2.75 to go up and 2.75 to attach tp bottom
points_L1 = [ [15, 127+gc_y_coord+2.75], [wg_bend_radius+15, 127+gc_y_coord+2.75], [wg_bend_radius+15, (127+gc_y_coord+2.75+wg_bend_radius)] ]
L1 = layout_waveguide_abs(cell, LayerSi, points_L1, wg_width, wg_bend_radius)

#instantiate the design for other waveguides
a= pya.CellInstArray(ly.cell_by_name("ROUND_PATH"), pya.Trans(pya.Trans.R0, (space+15)*dbu, (127+gc_y_coord+2.75)*dbu), pya.Point(0,127*dbu), pya.Point(space*dbu,0), 1, number_of_designs-1)
cell.insert(a)
'''

#extract coordinates for final attachments to the GC
pt_f_x = wg_bend_radius+15
pt_f_y = 127+gc_y_coord+2.75+wg_bend_radius


#waveguide joining combiner with the output GC

'''
#waveguide joining combiner with the output GC
points_final = [[pt_f_x+2.75, pt_f_y+15],[pt_f_x +2.75, pt_f_y+16+wg_bend_radius], [pt_f_x +2.75+wg_bend_radius+wg_bend_radius, pt_f_y+16+wg_bend_radius],
[pt_f_x +2.75+wg_bend_radius+wg_bend_radius, gc_y_coord], [0,gc_y_coord]]
layout_waveguide_abs(cell, LayerSi, points_final, wg_width, wg_bend_radius)

#instantiate the path for other designs
a = pya.CellInstArray(ly.cell_by_name("ROUND_PATH$1"), pya.Trans(pya.Trans.R0, (space+pt_f_x+2.75)*dbu, (pt_f_y+15)*dbu), pya.Point(0,127*dbu), pya.Point(space*dbu,0), 1, number_of_designs-1)
cell.insert(a)

'''

def drawL2(dL,n, gc_y_coord):
val = abs(dL-70)
Expand Down Expand Up @@ -223,8 +213,10 @@ def drawL2(dL,n, gc_y_coord):
for i in coordedit[2]:
points_L2.insert(12+(coordedit[2].index(i)),i)
# points_L2.pop(7)
'''
print ( points_L2)
L2 = layout_waveguide_abs(cell, LayerSi, points_L2, wg_width, wg_bend_radius)
'''
# Label for automated measurements, laser on Port 2, detectors on Ports 1, 3, 4
t = pya.Trans(pya.Trans.R0,(space*n)*dbu, gc_y_coord*dbu)
text = pya.Text ("opt_in_TE_1550_device_MZI"+str(n), t)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>Mixed waveguide types</description>
<description>Mixed waveguide types (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -9,8 +9,8 @@
<autorun>false</autorun>
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<show-in-menu>false</show-in-menu>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<klayout-macro>
<description>Simple MZI</description>
<description>MZI (EBeam)</description>
<version/>
<category>pymacros</category>
<prolog/>
Expand All @@ -10,7 +10,7 @@
<autorun-early>false</autorun-early>
<shortcut/>
<show-in-menu>true</show-in-menu>
<group-name/>
<group-name>Examples_EBeam</group-name>
<menu-path>siepic_menu.exlayout.begin</menu-path>
<interpreter>python</interpreter>
<dsl-interpreter-name/>
Expand Down
Loading

0 comments on commit cef04c1

Please sign in to comment.