Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Case study: a WDM silicon-photonic transceiver

Authors
Affiliations
Institute for Nanotechnology, Karlsruhe Institute of Technology
GDSFactory+
GDSFactory+
PsiQuantum
GDSFactory+

This notebook contains every code example of the paper GDSFactory: a tutorial introduction to photonic integrated circuit design in Python. The cells tagged with a label are embedded, together with their output, in the paper. Run the notebook top to bottom.

The first (untagged) cell configures the notebook. The cell silences warnings and makes components render as static, print-friendly images (white background, ports drawn as arrows, scale bar). Without the cell, Jupyter shows the default KLayout-based rendering of GDSFactory. Plots are drawn by small helpers of the gf_photonics_paper package, so that the examples show only the essential code.

1. Mask layout

1.1 Polygons

One half of a strip-to-slot mode converter, drawn as a bare polygon.

Loading...

1.2 Reusing library components

Loading...

1.3 Cross-sections

Loading...

1.4 Parametric cells (PCells) and ports

Loading...

The port layout of a component can be checked with pprint_ports:

Loading...

1.5 Connecting components by their ports

Loading...

1.6 Hierarchy: a Mach-Zehnder modulator

Loading...

1.7 Routing

A bank of add-drop ring filters picks wavelength channels off a bus (the drop ports are turned north).

Loading...

A flat-top CROW band filter in front of the ring banks splits the four channels into two bands of two channels each.

Loading...

The transmitter lane: four upright modulators at a compact pitch, whose feeds fan out to probe pads at a wider pitch. The demultiplexer lies west and the multiplexer east of the modulators, so that no ring lies below the metal.

Loading...

1.8 The receiver lane in YAML

The demultiplexer feeds germanium photodiodes directly. Both contacts leave the photodiode on the same side, so a tapered line of signal and one ground connects the contacts to GSG probe pads, whose two ground pads are joined behind the signal pad. Python PCells become available to YAML by registering them with the active PDK.

Loading...

2. Regression tests

Rev. 2 of the converter: to build a second device, a designer lengthens the default taper of strip_to_slot from 3 µm to 5 µm (everything else is unchanged). Defined here, but not yet used.

Loading...

Restore Rev. 1 for the rest of the notebook.

3. Simulation

3.1 Mode solving: geometry from the cross-section and the layer stack

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Cell In[16], line 2
      1 from femwell.maxwell.waveguide import compute_modes
----> 2 from femwell.mesh import mesh_from_OrderedDict
      3 from skfem import Basis, ElementTriP0
      4 from skfem.io.meshio import from_meshio
      5 import shapely

File ~/work/photonics_paper/photonics_paper/.venv/lib/python3.13/site-packages/femwell/mesh/__init__.py:1
----> 1 from femwell.mesh.mesh import mesh_from_Dict, mesh_from_OrderedDict
      2 from femwell.mesh.meshtracker import MeshTracker
      4 __all__ = [
      5     "MeshTracker",
      6     "mesh_from_OrderedDict",
      7     "mesh_from_Dict",
      8 ]

File ~/work/photonics_paper/photonics_paper/.venv/lib/python3.13/site-packages/femwell/mesh/mesh.py:5
      2 from itertools import combinations, product
      3 from typing import Dict, List, Optional, Tuple
----> 5 import gmsh
      6 import numpy as np
      7 import pygmsh

File ~/work/photonics_paper/photonics_paper/.venv/lib/python3.13/site-packages/gmsh.py:92
     88     print("Warning: could not find Gmsh shared library " + libname +
     89           " with ctypes.util.find_library() or in the following locations: " +
     90           str(possible_libpaths))
     91 
---> 92 lib = CDLL(libpath)
     93 
     94 try_numpy = True # set this to False to never use numpy
     95 

File ~/.local/share/uv/python/cpython-3.13.18-linux-x86_64-gnu/lib/python3.13/ctypes/__init__.py:361, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    358 if name:
    359     name = _os.fspath(name)
--> 361 self._handle = self._load_library(name, mode, handle, winmode)

File ~/.local/share/uv/python/cpython-3.13.18-linux-x86_64-gnu/lib/python3.13/ctypes/__init__.py:403, in CDLL._load_library(self, name, mode, handle, winmode)
    401 if handle is not None:
    402     return handle
--> 403 return _dlopen(name, mode)

OSError: libGLU.so.1: cannot open shared object file: No such file or directory

3.2 Circuit simulation with SAX

Compact models are plain Python functions returning S-parameters.

3.3 Gradient-based optimization

The circuit is differentiable: we tune the coupling gap of the rings so that the drop port reaches a 0.5 nm wide pass band.

The optimized value is fed straight back into the layout:

3.4 Synthesis of a flat-top CROW band filter

The CROW band filter of the demultiplexer (section 1.7). The netlist is extracted from the layout, and the gaps are optimized for a flat pass band over channels 1 and 2 and suppression of channels 3 and 4.

The complete demultiplexer of section 1.7 with the optimized CROW. The recursive netlist descends into the two straights of coupler_straight; these sub-netlists are replaced by the compact coupler model.

One wavelength channel of the transceiver, end to end, simulated with circulax:

laser - GC - demux ring - MZM - mux ring - GC - fiber - GC - RX ring - Ge PD - 50 Ω
                           |
             PRBS driver - RC electrodes

The CROW band filters pass about 290 GHz and are omitted.

First, a few components: a waveguide with a true propagation delay, a lossy element (grating couplers, fiber, phase bias) and a photodiode.

The modulator parameters follow from the design: VπL from the slot width, the electro-optic coefficient of the polymer and the confinement factor of section 3.1; the RC time constant of one arm from the slot capacitance and the resistance of the doped slabs.

The netlist uses the same structure as GDSFactory netlists. Each add-drop ring consists of two directional couplers and two delayed half-rings, with the circumference and the (optimized) coupling of the ring filters above.

4. Process design kits

5. Verification

5.1 Design rule check (DRC)

Collisions between waveguides, such as a route that runs over a ring.

6. Measurement and validation

6.1 Test sites with fiber couplers and metadata

6.2 Test structures

6.3 The complete chip

6.4 Dummy fill

Appendix A. Thermal tuning of the ring filters

The heater cross-section of the generic PDK (strip_heater_metal), solved with the femwell heat solver in micrometre units. The silicon substrate below the 3 µm buried oxide acts as a heat sink at constant temperature.