Skip to content

Commit a284e53

Browse files
committed
update_gdsfactory
1 parent e4a00c4 commit a284e53

File tree

7 files changed

+18
-5
lines changed

7 files changed

+18
-5
lines changed

cspdk/si220/cband/tech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_layer_stack(
7373
return LayerStack(
7474
layers=dict(
7575
core=LayerLevel(
76-
layer=LogicalLayer(layer=LAYER.WG),
76+
layer=LogicalLayer(layer=LAYER.WG) - LogicalLayer(layer=LAYER.GRA),
7777
thickness=thickness_wg,
7878
zmin=0.0,
7979
material="si",

cspdk/si220/oband/cells/waveguides.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,23 @@ def bend_s(
124124

125125
@gf.cell
126126
def wire_corner(
127-
cross_section: CrossSectionSpec = "metal_routing", width: float | None = None
127+
cross_section: CrossSectionSpec = "metal_routing",
128+
width: float | None = None,
129+
radius: float | None = None,
128130
) -> gf.Component:
129131
"""Returns 45 degrees electrical corner wire.
130132
131133
Args:
132134
cross_section: spec.
133135
width: optional width. Defaults to cross_section width.
136+
radius: ignored.
134137
"""
135138
return gf.c.wire_corner(
136139
cross_section=cross_section,
137140
width=width,
138141
port_names=port_names_electrical,
139142
port_types=port_types_electrical,
140-
radius=None,
143+
radius=radius,
141144
)
142145

143146

cspdk/si220/oband/tech.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from doroutes.bundles import add_bundle_astar
99
from gdsfactory.cross_section import (
1010
CrossSection,
11-
cross_section,
1211
port_names_electrical,
1312
port_types_electrical,
1413
)
@@ -228,7 +227,7 @@ def metal_routing(
228227
radius: float | None = None,
229228
) -> CrossSection:
230229
"""Return Metal Strip cross_section."""
231-
return cross_section(
230+
return gf.cross_section.metal1(
232231
width=width,
233232
layer=layer,
234233
radius=radius,
3.25 KB
Binary file not shown.

tests/test_si220_oband.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def activate_pdk() -> None:
3131
"add_fiber_single",
3232
"coupler_symmetric",
3333
"die_with_pads",
34+
"spiral_racetrack_heater",
3435
}
3536
cell_names = cells.keys() - skip_test
3637
cell_names = [name for name in cell_names if not name.startswith("_")]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
instances: {}
2+
name: wire_corner45_straight_WNone_RNone_CSmetal_routing
3+
nets: []
4+
placements: {}
5+
ports: {}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
info:
2+
length: 17.071
3+
name: wire_corner45_straight_WNone_RNone_CSmetal_routing
4+
settings:
5+
cross_section: metal_routing

0 commit comments

Comments
 (0)