Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed May 14, 2024
1 parent 5bf2a18 commit 006a23a
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 319 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ __pycache__/
# C extensions
*.so
*.fsp
tests/ref/*.oas


# Distribution / packaging
.Python
Expand Down
Binary file added tests/ref/_mmi1x2__mmi1x2_574421d1.gds
Binary file not shown.
Binary file added tests/ref/_mmi2x2__mmi2x2_07b187b9.gds
Binary file not shown.
Binary file added tests/ref/straight_straight_7a68ed6c.gds
Binary file not shown.
Binary file modified tests/ref/strip_taper.gds
Binary file not shown.
5 changes: 1 addition & 4 deletions tests/test_components/test_pdk_settings_die_.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
function: die
info:
port_x_position_east: 2423.5
port_x_position_west: -2423.5
port_y_position_north: 4673.5
port_y_position_south: -4673.5
frame_margin: 76.5
module: gvtt.components.die
name: die
settings:
Expand Down
78 changes: 7 additions & 71 deletions tests/test_components/test_pdk_settings_mmi1x2_.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,18 @@
function: mmi1x2
function: _mmi1x2
info: {}
module: gdsfactory.components.mmi1x2
name: mmi1x2_c8071938
module: gvtt.components.mmi1x2
name: _mmi1x2_574421d1
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
function: strip
module: gvtt.xsections
settings:
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 22.875
width_function: null
gap_mmi: 1.25
length_mmi: 43.25
length_taper: 1.0
taper:
function: strip_taper
width: null
width: 1.875
width_mmi: 6.25
width_taper: 1.875
78 changes: 7 additions & 71 deletions tests/test_components/test_pdk_settings_mmi2x2_.yml
Original file line number Diff line number Diff line change
@@ -1,80 +1,16 @@
function: mmi2x2
function: _mmi2x2
info: {}
module: gdsfactory.components.mmi2x2
name: mmi2x2_55c4183e
module: gvtt.components.mmi2x2
name: _mmi2x2_07b187b9
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
function: strip
module: gvtt.xsections
settings:
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 22.875
width_function: null
gap_mmi: 1.25
length_mmi: 112.0
length_taper: 1.0
length_taper: null
taper:
function: strip_taper
width: null
Expand Down
72 changes: 4 additions & 68 deletions tests/test_components/test_pdk_settings_straight_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,76 +7,12 @@ info:
route_info_weight: 10.0
width: 1.875
module: gdsfactory.components.straight
name: straight_bdf7fc24
name: straight_7a68ed6c
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
function: strip
module: gvtt.xsections
settings:
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 22.875
width_function: null
length: 10.0
npoints: 2
72 changes: 4 additions & 68 deletions tests/test_components/test_pdk_settings_straight_sc_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,76 +7,12 @@ info:
route_info_weight: 10.0
width: 1.875
module: gdsfactory.components.straight
name: straight_bdf7fc24
name: straight_7a68ed6c
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
function: strip
module: gvtt.xsections
settings:
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
port_types:
- optical
- optical
simplify: null
width: 22.875
width_function: null
length: 10.0
npoints: 2
Loading

0 comments on commit 006a23a

Please sign in to comment.