ArrayedWaveguideGrating

class awg_designer.all.ArrayedWaveguideGrating(*args, **kwargs)

Generic component to compose 2 star couplers and a waveguide array together into an AWG.

To use your own star couplers and/or waveguide arrays in this component, you have to ensure that the input ports of your waveguide array are called in1, in2, … these ports will be connected to the apertures of the input starcoupler. The ports named out1, out2 will be connected to the apertures of the output star couplers.

Parameters:

star_coupler_in: PCell and _Coupler, required

Input star coupler

star_coupler_out: PCell and _Coupler, required

Output star coupler

waveguide_array: PCell, required

Array of waveguides

star_coupler_in_arm_ports: List with type restriction, allowed types: <type ‘str’>, optional

list (in the right order) of the input star coupler port names that are connected to the array

star_coupler_in_ports: List with type restriction, allowed types: <type ‘str’>, optional

list (in the right order) of the input star coupler port names that are mapped onto ‘in’ ports

star_coupler_out_arm_ports: List with type restriction, allowed types: <type ‘str’>, optional

list (in the right order) of the output star coupler port names that are connected to the array

star_coupler_out_ports: List with type restriction, allowed types: <type ‘str’>, optional

list (in the right order) of the output star coupler port names that are mapped onto ‘out’ ports

links: list and List with type restriction, allowed types: [<class ‘_abcoll.Sequence’>], optional

list of tuples connecting the instances. Format is [(‘inst1:term1’,’inst2:term2’), …]

child_cells: optional

dict to create the instances of the child cells.Format is {‘inst_name1’: PCell}

external_port_names: optional

Map of the free instance terms/ports to the names of external terms/ports.Format is a dict {‘inst:term’ : ‘new_term_name’}.If a term/port is not listed, the format instname_portname will be used

cell_instances: _PCellInstanceDict, optional

name: optional

The unique name of the pcell

Views

Layout
Parameters:

view_name: str, optional

The name of the view

grids_per_unit: locked

Number of grid cells per design unit

units_per_grid: locked

Ratio of grid cell and design unit

grid: float and number > 0, locked

design grid. Extracted by default from TECH.METRICS.GRID

unit: float and number > 0, locked

design unit. Extracted by default from TECH.METRICS.UNIT