python library to generate GDS layouts
Project description
gdsfactory 6.21.0
GDSfactory is a design automation tool for photonics and analog circuits.
You can describe your circuits in code (python or YAML), verify them (DRC, simulation) and analyze them.
It provides you with an end to end flow for building chips.
You can:
- Design (Layout, Simulation, Optimization)
- define parametric cells (PCells) functions in python or YAML. Define routes between component ports.
- Test component settings, ports and geometry to avoid unwanted regressions.
- Capture design intent in a schematic.
- Verificate (DRC, DFM, LVS)
- Run simulations directly from the layout thanks to the simulation interfaces. No need to draw the geometry more than once.
- Run Component simulations (solve modes, FDTD, EME, TCAD, thermal ...)
- Run Circuit simulations from the Component netlist (Sparameters, Spice ...)
- Build Component models and study Design For Manufacturing.
- Create DRC rule decks in Klayout.
- Make sure complex layouts match their design intent (Layout Versus Schematic).
- Run simulations directly from the layout thanks to the simulation interfaces. No need to draw the geometry more than once.
- Validate
- Make sure that as you define the layout you define the test sequence, so when the chips come back you already know how to test them.
- Model extraction: extract the important parameters for each component.
- Build a data pipeline from raw data, to structured data and dashboards for monitoring your chip performance.
As input, you write python or YAML code.
As output you write a GDSII or OASIS file that you can send to your foundry for fabrication. It also exports component settings (for measurement and data analysis) and netlists (for circuit simulations).
It provides you a common syntax for design (KLayout, gdstk, Ansys Lumerical, tidy3d, MEEP, MPB, DEVSIM, SAX, ...), verification and validation.
Multiple Silicon Photonics foundries have gdsfactory PDKs available. Talk to your foundry to access their gdsfactory PDK.
You can also access:
- open source PDKs available on GitHub
- instructions on how to build your own PDK
- instructions on how to import a PDK from a library of fixed GDS cells
Installation
Installation for new python users
If you don't have python installed on your system you can download the gdsfactory installer that includes python3, miniconda and all gdsfactory plugins.
Installation for new gdsfactory users
Open Mamba, Miniconda or Anaconda Prompt and then install using pip
pip install gdsfactory --upgrade
gf tool install
Installation for developers
For developers you need to fork the GitHub repository, git clone it (download it), git add, git commit, git push your improvement. Then pull request your changes to the main branch from the GitHub website.
For that you can install gdsfactory locally on your computer in -e
edit mode.
git clone https://github.com/gdsfactory/gdsfactory.git
cd gdsfactory
pip install -e . pre-commit
pre-commit install
gf tool install
Then you need to restart Klayout to make sure you activate the klayout gdsfactory integration.
Getting started
- Run notebooks on
- See slides
- Read docs
- See announcements on GitHub, google-groups or LinkedIn
Acks
Contributors (in chronological order):
- Joaquin Matres (Google): maintainer.
- Damien Bonneau (PsiQuantum): cell decorator, Component routing functions, Klayout placer.
- Pete Shadbolt (PsiQuantum): Klayout auto-placer, Klayout GDS interface (klive).
- Troy Tamas (Rockley): get_route_from_steps, netlist driven flow (from_yaml).
- Floris Laporte (Rockley): netlist extraction and circuit simulation interface with SAX.
- Alec Hammond (Meta Reality Labs Research): Meep and MPB interface.
- Simon Bilodeau (Princeton): Meep FDTD write Sparameters, TCAD device simulator.
- Thomas Dorch (Freedom Photonics): for Meep's material database access, MPB sidewall angles, and add_pin_path.
- Jan-David Fischbach (Black semiconductor): for improvements in pack_doe.
- Igal Bayn (Google): for documentation improvements and suggestions.
- Alex Sludds (MIT): for tiling fixes.
- Momchil Minkov (Flexcompute): for tidy3d plugin.
- Skandan Chandrasekar (BYU): for simphony, SiPANN plugins, A-star router.
- Helge Gehring (Google): for simulation plugins (FEM heat solver), improving code quality and new components (spiral paths).
- Tim Ansell (Google): for documentation improvements.
- Ardavan Oskoii (Google): for Meep plugin documentation improvements.
- Marc de Cea (MIT): for ge_detector, grating_coupler_dual, mmi_90degree_hybrid, coherent transceiver, receiver.
- Bradley Snyder (PHIX): for grating_coupler snap to grid fixes.
- Jonathan Cauchon (Ciena): for measurement database.
- Raphaël Dubé-Demers (EXFO): for measurement database.
- Bohan Zhang (Boston University): for grating coupler improvements.
- Niko Savola (IQM): for optimization, notebook and code improvements.
Open source heroes:
- Matthias Köfferlein: for Klayout
- Lucas Heitzmann (University of Campinas, Brazil): for gdstk
- Adam McCaughan (NIST): for phidl. Inspiration for geometry manipulation.
- Alex Tait (Queens University): for lytest
- Thomas Ferreira de Lima (NEC): for
pip install klayout
python API. - Juan Sanchez: for DEVSIM
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gdsfactory-6.21.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a02b0bdc7b280109785e8db44d06f2b58f644a4485e794904224bd2145e7d63 |
|
MD5 | f23e3cc5644a757a5e134a9e42df5263 |
|
BLAKE2b-256 | 80dfaf6b7a3310b555ee602fb0c5cd49c97f177e331923646b3f9006dcb5712d |