mxpic.components.primitives.active.pin_wg#

waveguide_PIN#

../../../../_images/waveguide_PIN.png
class mxpic.components.primitives.active.pin_wg.waveguide_PIN(xs='rib', L_wg=100, w_wg=1.2, xs_pn_ct='strip_cor', w_itr=2.0, w_p=4.0, w_n=4.0, w_p_ct=4.0, w_n_ct=4.0, xs_heater='heater', xs_via_h2m='via_h2m', w_metal_pn=8, sz_via_i2m=0.25, sp_via_i2m=0.35, sp_sc=1, xs_p='pw', xs_n='nw', xs_pcont='pp', xs_ncont='np', xs_sa='sa', xs_via_s2m='via_s2m', xs_metal='metal', rib_taper=True, L_taper=30, xs_port='strip', show_pins=True)#

Bases: object

waveguide PIN primitive component.

This component builds the waveguide PIN layout cell.

Parameters:
  • xs (str, optional) – Layer or cross-section name used by the device. Default is ‘rib’.

  • L_wg (float, optional) – Length parameter in microns. Default is 100.

  • w_wg (float, optional) – Width parameter in microns. Default is 1.2.

  • xs_pn_ct (str, optional) – Layer or cross-section name used by the device. Default is ‘strip_cor’.

  • w_itr (float, optional) – Width parameter in microns. Default is 2.0.

  • w_p (float, optional) – Width parameter in microns. Default is 4.0.

  • w_n (float, optional) – Width parameter in microns. Default is 4.0.

  • w_p_ct (float, optional) – Width parameter in microns. Default is 4.0.

  • w_n_ct (float, optional) – Width parameter in microns. Default is 4.0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • xs_via_h2m (str, optional) – Layer or cross-section name used by the device. Default is ‘via_h2m’.

  • w_metal_pn (float, optional) – Width parameter in microns. Default is 8.

  • sz_via_i2m (float, optional) – Value for the sz_via_i2m parameter. Default is 0.25.

  • sp_via_i2m (float, optional) – Spacing or gap parameter in microns. Default is 0.35.

  • sp_sc (float, optional) – Spacing or gap parameter in microns. Default is 1.

  • xs_p (str, optional) – Layer or cross-section name used by the device. Default is ‘pw’.

  • xs_n (str, optional) – Layer or cross-section name used by the device. Default is ‘nw’.

  • xs_pcont (str, optional) – Layer or cross-section name used by the device. Default is ‘pp’.

  • xs_ncont (str, optional) – Layer or cross-section name used by the device. Default is ‘np’.

  • xs_sa (str, optional) – Layer or cross-section name used by the device. Default is ‘sa’.

  • xs_via_s2m (str, optional) – Layer or cross-section name used by the device. Default is ‘via_s2m’.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • rib_taper (bool, optional) – Value for the rib_taper parameter. Default is True.

  • L_taper (float, optional) – Length parameter in microns. Default is 30.

  • xs_port (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is True.

generate_gds(show_pins=False)#

WGDoped#

../../../../_images/WGDoped.png
class mxpic.components.primitives.active.pin_wg.WGDoped(name=None, w_wg=0.5, w_port=0.5, Ltp_port=10, L_wg=200, xs_wg='rib', xs_n=['nld', 'np'], xs_p=['pld', 'pp'], w_n=[0.5, 1], w_p=[0.5, 1], w_ht=0, L_ht=None, xs_ht='heater', w_mt=None, xs_mt='metal', xs_cont_wg=None, w_i=None, dope_offset=0, via_s2m=None, via_h2m=None, dope_ovlp=0.2, cell_xs_transition=None)#

Bases: object

WGDoped primitive component.

This component builds the WGDoped layout cell.

Parameters:
  • name (Optional[str], optional) – Unique identifier for the device cell. Default is None.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.5.

  • w_port (float, optional) – Width parameter in microns. Default is 0.5.

  • Ltp_port (int, optional) – Length parameter in microns. Default is 10.

  • L_wg (int, optional) – Length parameter in microns. Default is 200.

  • xs_wg (str, optional) – Layer or cross-section name used by the device. Default is ‘rib’.

  • xs_n (list, optional) – Layer or cross-section name used by the device. Default is [‘nld’, ‘np’].

  • xs_p (list, optional) – Layer or cross-section name used by the device. Default is [‘pld’, ‘pp’].

  • w_n (list, optional) – Width parameter in microns. Default is [0.5, 1].

  • w_p (list, optional) – Width parameter in microns. Default is [0.5, 1].

  • w_ht (float, optional) – Width parameter in microns. Default is 0.

  • L_ht (Any, optional) – Length parameter in microns. Default is None.

  • xs_ht (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • w_mt (Optional[float], optional) – Width parameter in microns. Default is None.

  • xs_mt (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • xs_cont_wg (Optional[str], optional) – Layer or cross-section name used by the device. Default is None.

  • w_i (Optional[float], optional) – Width parameter in microns. Default is None.

  • dope_offset (int, optional) – Value for the dope_offset parameter. Default is 0.

  • via_s2m (Any, optional) – Value for the via_s2m parameter. Default is None.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • dope_ovlp (float, optional) – Value for the dope_ovlp parameter. Default is 0.2.

  • cell_xs_transition (Any, optional) – Cell or component dependency used by this device. Default is None.

generate_gds()#

Generation of GDS pattern

Returns:

_description_

Return type:

_type_