Skip to content

Commit

Permalink
Merge pull request #43 from gdsfactory/1510
Browse files Browse the repository at this point in the history
1510
  • Loading branch information
joamatab authored May 20, 2022
2 parents 466a932 + 6da97ec commit bbb4734
Show file tree
Hide file tree
Showing 10 changed files with 576 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lygadgets==0.1.31
gdsfactory[full]==5.6.6
gdsfactory[full]==5.7.1
modes==1.0.6
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: mzi_lattice
pdk: ubcpdk

instances:
mzi1:
component: mzi_ubcpdk
settings:
dy: -300
dy: -200

mzi2:
component: mzi_ubcpdk
settings:
dy: -50
dy: -55


gc1:
component: gc_te1550
Expand All @@ -34,7 +34,6 @@ placements:
xmin: mzi2,east
dx: 100


routes:
optical:
links:
Expand Down
1 change: 1 addition & 0 deletions ubcpdk/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Path:
ring_tm_r30_g250 = ring / "LukasC_RingDoubleTMR30g250_1490.mat"
dbr = data / "bragg"
lyp = module / "klayout" / "tech" / "layers.lyp"
lyt = module / "klayout" / "tech" / "tech.lyt"
tech = module / "klayout" / "tech"


Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
193 changes: 191 additions & 2 deletions ubcpdk/tests/test_components/test_pdk_settings_mask_.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,192 @@
name: mask_compact
settings: {}
name: mask_compact_f5aba6e9
settings:
changed:
conf:
instances:
mzis:
component: pack_doe_grid
settings:
do_permutations: true
doe: mzi
function: add_fiber_array
settings:
delta_length:
- 10
- 100
spacing:
- 10
- 10
rings:
component: pack_doe
settings:
do_permutations: true
doe: ring_single
function:
function: add_fiber_array
settings:
fanout_length: 200
settings:
length_x:
- 1
- 2
- 3
radius:
- 30
- 50
- 20
- 40
name: mask_compact
pdk: ubcpdk
placements:
mzis:
xmin: rings,east
rings:
xmin: 50
child: null
default:
label_instance_function:
function: add_instance_label
routing_strategy:
get_bundle:
function: get_bundle
get_bundle_electrical:
function: get_bundle
settings:
bend:
function: wire_corner
cross_section:
function: cross_section
settings:
layer:
- 49
- 0
port_names:
- e1
- e2
port_types:
- electrical
- electrical
width: 10
get_bundle_from_steps:
function: get_bundle_from_steps
get_bundle_from_steps_electrical:
function: get_bundle_from_steps
settings:
bend:
function: wire_corner
cross_section:
function: cross_section
settings:
layer:
- 49
- 0
port_names:
- e1
- e2
port_types:
- electrical
- electrical
width: 10
get_bundle_from_waypoints:
function: get_bundle_from_waypoints
get_bundle_path_length_match:
function: get_bundle_path_length_match
get_bundle_same_axis_no_grouping:
function: get_bundle_same_axis_no_grouping
full:
conf:
instances:
mzis:
component: pack_doe_grid
settings:
do_permutations: true
doe: mzi
function: add_fiber_array
settings:
delta_length:
- 10
- 100
spacing:
- 10
- 10
rings:
component: pack_doe
settings:
do_permutations: true
doe: ring_single
function:
function: add_fiber_array
settings:
fanout_length: 200
settings:
length_x:
- 1
- 2
- 3
radius:
- 30
- 50
- 20
- 40
name: mask_compact
pdk: ubcpdk
placements:
mzis:
xmin: rings,east
rings:
xmin: 50
label_instance_function:
function: add_instance_label
routing_strategy:
get_bundle:
function: get_bundle
get_bundle_electrical:
function: get_bundle
settings:
bend:
function: wire_corner
cross_section:
function: cross_section
settings:
layer:
- 49
- 0
port_names:
- e1
- e2
port_types:
- electrical
- electrical
width: 10
get_bundle_from_steps:
function: get_bundle_from_steps
get_bundle_from_steps_electrical:
function: get_bundle_from_steps
settings:
bend:
function: wire_corner
cross_section:
function: cross_section
settings:
layer:
- 49
- 0
port_names:
- e1
- e2
port_types:
- electrical
- electrical
width: 10
get_bundle_from_waypoints:
function: get_bundle_from_waypoints
get_bundle_path_length_match:
function: get_bundle_path_length_match
get_bundle_same_axis_no_grouping:
function: get_bundle_same_axis_no_grouping
function_name: _from_yaml
info: {}
info_version: 2
module: gdsfactory.read.from_yaml
name: mask_compact_f5aba6e9
version: 0.0.1
4 changes: 4 additions & 0 deletions ubcpdk/tests/test_components/test_pdk_settings_mzi_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ settings:
cross_section:
function: cross_section
settings: {}
cross_section_x_bot: null
cross_section_x_top: null
delta_length: 10
length_x: 0.1
length_y: 2
Expand Down Expand Up @@ -91,6 +93,8 @@ settings:
library: Design Kits/ebeam
combiner: null
cross_section: strip
cross_section_x_bot: null
cross_section_x_top: null
delta_length: 10
length_x: 0.1
length_y: 2
Expand Down
Loading

0 comments on commit bbb4734

Please sign in to comment.