Folder structure simplfied

This commit is contained in:
=
2026-06-06 16:43:26 +08:00
parent 8da92ced57
commit 8a17f1dde0
138 changed files with 10429 additions and 1432 deletions
@@ -4,7 +4,7 @@ import math
import pandas as pd
from ...routing import Route
from ...structures import _my_polygon,circle,Clothoid,hole
from ..geometry import _my_polygon,circle,Clothoid,hole
from ...basic import __cell_arg__
@@ -1113,6 +1113,58 @@ class FA:
self.cell = C
class GC_SiN_Si_Dual_Layer:
"""
GC SiN Si Dual Layer primitive component.
This component builds the GC SiN Si Dual Layer layout cell.
Parameters
----------
name : str, optional
Unique identifier for the device cell. Default is None.
w_teeth_SiN : list or float, optional
Width parameter in microns. Default is 0.5.
gap_teeth_SiN : list or float, optional
Spacing or gap parameter in microns. Default is 0.5.
w_teeth_Si : list or float, optional
Width parameter in microns. Default is 0.5.
gap_teeth_Si : list or float, optional
Spacing or gap parameter in microns. Default is 0.5.
ori_teeth_offset : float, optional
Value for the ori_teeth_offset parameter. Default is 5.0.
n_teeth_Si : float, optional
Value for the n_teeth_Si parameter. Default is 30.
n_teeth_SiN : float, optional
Value for the n_teeth_SiN parameter. Default is 30.
A_gc_taper : float, optional
Angle parameter in degrees. Default is 25.0.
R_teeth_ori_SiN : float, optional
Radius parameter in microns. Default is 40.0.
R_teeth_ori_Si : float, optional
Radius parameter in microns. Default is 40.0.
L_end_Si : float, optional
Length parameter in microns. Default is 0.2.
L_end_SiN : float, optional
Length parameter in microns. Default is 5.0.
w_port : float, optional
Width parameter in microns. Default is 0.9.
A_anti_rfl : float, optional
Angle parameter in degrees. Default is 4.0.
layer_SiN_slab : str, optional
Layer or cross-section name used by the device. Default is None.
layer_Si_slab : str, optional
Layer or cross-section name used by the device. Default is None.
layer_Si_teeth : str, optional
Layer or cross-section name used by the device. Default is None.
layer_SiN_teeth : str, optional
Layer or cross-section name used by the device. Default is None.
layer_SiN_etch : str, optional
Layer or cross-section name used by the device. Default is None.
layer_Si_etch : str, optional
Layer or cross-section name used by the device. Default is None.
layer_ox_open : str, optional
Layer or cross-section name used by the device. Default is None.
"""
def __init__(self,
name:str=None,
w_teeth_SiN:'list|float' = 0.5,