• Stars
    star
    184
  • Rank 209,187 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created about 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Package for KLayout to add integrated optics / silicon photonics functionality (waveguides, netlist extraction, circuit simulations, etc)

SiEPIC-Tools

Download and Installation instructions:

Objectives:

  • Use an open-source layout tool (KLayout) to implement a sophisticated layout design environment for silicon photonics
  • Support for both GUI and Python script-based layout, or combinations of both.
  • KLayout-INTERCONNECT integration offers a layout-first design methodology. Inspired by Layout Versus Schematic tools, this includes netlist extraction routines to generate a schematic from the layout. This allows the user to directly simulate from the layout, without needing to create the schematic first. This approach is appealing to photonics designers who are accustomed to designing physical layouts, rather than schematics. A library of components (layout and compact models) is included in the SiEPIC-EBeam-PDK Process Design Kit, specifically for silicon photonics fabrication via Electron Beam Lithography.
  • Whereas a typical schematic-driven design flow includes a schematic, circuit simulation, layout, and verification (see Chapter 10 of the textbook), the approach taken here is Layout-driven, followed by verification, then a schematic (via a netlist extraction) and simulations.

Video of a layout and simulation of a ring resonator circuit:

Layout and simulation of a ring resonator circuit

Monte Carlo simulations of a ring resonator circuit, showing fabrication variations:

Monte Carlo simulations of a ring resonator circuit

Layout of a Mach-Zehnder Interferometer:

Layout of a Mach-Zehnder Interferometer

Simulations for the MZI:

Lumerical INTERCONNECT simulations

Package includes:

  • Generic Silicon Photonics (GSiP) Process Design Kit (PDK): this package, including fabrication documentation, scripts, etc.

  • PCells: ring modulator

  • GDS Library: grating coupler, detector, edge coupler.

  • Verification:

    • Scanning the layout. Finding waveguides, devices, pins.
    • Verification: Identifying if there are missing connections, mismatched waveguides, too few points in a bend, etc.
    • Example layouts using the library for verification (EBeam_LukasChrostowski_E_LVS.gds, SiEPIC_EBeam_PDK_Verification_Check.gds).
    • Verification for automated measurements
  • Circuit simulations:

    • Netlist generation
    • Creating a Spice netlist suitable for for circuit simulations. This includes extracting the waveguide length (wg_length) for all waveguides.
    • Menu item "Lumerical INTERCONNECT" will automatically: generate the netlist, launch Lumerical INTERCONNECT to perform the circuit simulations, and pop-up a plot of the transmission spectrum.
    • Monte Carlo simulations, including waveguides, ring resonators built using directional couplers, y-branches, grating couplers.
  • Waveguide functionality:

    • Hot Key "W": selected paths are first snapped to the nearest pins, then converted to waveguides.
    • Hot Key "Shift-W": selected waveguides are converted back to paths.
    • Hot Key "Ctrl-Shift-W": measure the length of the selected waveguides.
    • Hot Key "Ctrl-Shift-R": resize the waveguides, for a given target length.
  • Layout object snapping

  • Hot Key "Shift-O": Snaps the selected object to the one where the mouse is hovering over.

  • Helper functions from Python-scripted layouts

    • snapping components
    • adding waveguides between components
    • layout primitives (arcs, bezier curves, waveguides, tapers, rings, etc)

Contributing to this project:

You can download the latest development version (master) of the PDK: Zip file download of the PDK

It is posted on GitHub for 1) revision control, 2) so that others can contribute to it, find bugs, 3) easy download of the latest version.

To contribute to the PDK:

  • On the GitHub web page, Fork a copy of the project into your own account.
  • Clone to your Desktop
  • Make edits/contributions. You can use the KLayout IDE to write Python (or Ruby) scripts; KLayout Python IDE for writing/debugging PCells/scripts/macros.
  • "Commit to master" (your own master)
  • Create a Pull Request -- this will notify me of your contribution, which I can merge into the main project

You can use GitHub desktop to synchronize files. Then create symbolic links to your .klayout folder to point to the local copy of this repository. This is useful to automatically update the local KLayout installation (e.g., multiple computers), as changes are made in GitHub by others.

Screenshots:

Screenshot1 Screenshot2 Screenshot3