You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gplugins/sentaurus/sde.py
+18-21Lines changed: 18 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -43,14 +43,14 @@ def initialize_sde(
43
43
"""Returns a string defining the geometry definition for a Sentaurus sde file based on a component, initial wafer state, and settings.
44
44
45
45
Arguments:
46
-
component,: gdsfactory component containing polygons defining the mask
46
+
component: gdsfactory component containing polygons defining the mask
47
47
waferstack: gdsfactory layerstack representing the initial wafer
48
48
layermap: gdsfactory LayerMap object containing all layers
49
-
process: list of gdsfactory.technology.processes process steps
50
-
xsection_bounds: two in-plane coordinates ((x1,y1), (x2,y2)) defining a line cut for a 2D process cross-section
49
+
xsection_bounds: two in-plane coordinates ((x1,y1), (x2,y2)) defining a line cut for a 2D process cross-section. If None, simulate in 3D.
51
50
u_offset: for the x-axis of the 2D coordinate system, useful to go back to component units if xsection_bounds parallel to x or y
52
-
round_tol (int): for gds cleanup (grid snapping by rounding coordinates)
53
-
simplify_tol (float): for gds cleanup (shape simplification)
51
+
round_tol: for gds cleanup (grid snapping by rounding coordinates)
52
+
simplify_tol: for gds cleanup (shape simplification)
53
+
header_str: initial string to write to the TCL file. Useful for settings
54
54
"""
55
55
output_str=""
56
56
@@ -113,25 +113,22 @@ def write_sde(
113
113
"""Writes a Sentaurus Device Editor Scheme file for the component + layermap + initial waferstack + process.
114
114
115
115
Arguments:
116
-
component,: gdsfactory component containing polygons defining the mask
117
-
waferstack: gdsfactory layerstack representing the initial wafer
118
-
layermap: gdsfactory LayerMap object containing all layers
119
-
process: list of gdsfactory.technology.processes process steps
120
-
xsection_bounds: two in-plane coordinates ((x1,y1), (x2,y2)) defining a line cut for a 2D process cross-section. If None, simulate in 3D.
121
-
u_offset: offset for lateral dimension of xsection mesh
122
-
save_directory: directory where to save output and script. Default ./sprocess
116
+
component: gdsfactory component containing polygons defining the mask.
117
+
waferstack: gdsfactory layerstack representing the initial wafer.
118
+
layermap: gdsfactory LayerMap object containing all layers.
119
+
process: list of gdsfactory.technology.processes process steps.
120
+
contact_str: string defining the contacts to be added to the device.
121
+
slice_str: string defining the slices to be added to the device.
122
+
init_tdr: tdr file containing the initial structure, ready for sdevice simulation.
123
+
save_directory: directory where to save output and script. Default ./sprocess.
123
124
execution_directory: directory where sprocess will be run from. Default local ./
124
125
filename: name of the final sprocess command file
125
-
struct_prefix: prefixes of the final sprocess command file
126
-
structout: tdr file containing the final structure, ready for sdevice simulation. Defaults to component name.
127
-
contact_portnames Tuple(str): list of portnames to convert into device contacts
128
-
round_tol (int): for gds cleanup (grid snapping by rounding coordinates)
126
+
fileout: tdr file containing the final structure, ready for sdevice simulation. Defaults to component name.
127
+
round_tol: for gds cleanup (grid snapping by rounding coordinates).
129
128
simplify_tol (float): for gds cleanup (shape simplification)
130
-
split_steps (bool): if True, creates a new workbench node for each step, and saves a TDR file at each step. Useful for fabrication splits, visualization, and debugging.
131
-
init_lines (str): initial string to write to the TCL file. Useful for settings
132
-
initial_z_resolutions {key: float}: initial layername: spacing mapping for mesh resolution in the wafer normal direction
133
-
initial_xy_resolution (float): initial resolution in the wafer plane
134
-
global_device_remeshing_str (str): commands to apply before remeshing
129
+
device_remesh (bool): whether to remesh the device after processing.
130
+
remesh_str (str): string defining the remeshing options.
131
+
header_str (str): initial string to write to the TCL file. Useful for settings.
0 commit comments