Skip to main content

python library to generate GDS layouts

Project description

gdsfactory 7.17.0

docs PyPI Conda Version PyPI Python Downloads MIT codecov Binder Colab

logo

gdsfactory: An open source platform for end to-end chip design and validation.

Highlights:

  • More than 1M downloads
  • More than 50 Contributors
  • More than 10 PDKs available

Gdsfactory is a Python library for designing chips (Photonics, Analog, Quantum, MEMs, and more), 3D printed objects, and PCBs. Here, you can code your hardware design in Python or YAML, perform verification (DRC, simulation, and extraction), and enable automated testing in the lab to ensure your fabricated chip meets your specifications.

workflow

We facilitate an end-to-end design flow for you to:

  • Design (Layout, Simulation, Optimization): Utilize parametric cell functions in Python or YAML to define components. Test component settings, ports, and geometry to avoid unwanted regressions, and capture design intent in a schematic.
  • Verify (DRC, DFM, LVS): Run simulations directly from the layout using our simulation interfaces, removing the need to duplicate geometry drawings. Conduct component and circuit simulations, study design for manufacturing, and ensure complex layouts match their design intent through Layout Versus Schematic verification.
  • Validate: Define layout and test protocols simultaneously for automated chip analysis post-fabrication. This allows you to extract essential component parameters, and build data pipelines from raw data to structured data to monitor chip performance.

Your input: Python or YAML text. Your output: A GDSII or OASIS file for fabrication, alongside component settings (for measurement and data analysis) and netlists (for circuit simulations) in YAML.

layout_to_components

flow

We provide a common syntax for design (KLayout, gdstk, Ansys Lumerical, tidy3d, MEEP, MPB, DEVSIM, SAX, MEOW ...), verification, and validation.

tool interfaces

Many foundries have gdsfactory PDKs available. Please to contact your foundry to access their gdsfactory PDK, as you will require an NDA:

  • AIM photonics PDK
  • AMF photonics PDK
  • TowerSemi PH18 photonics PDK
  • GlobalFoundries 45SPCLO Photonics PDK
  • IMEC photonics PDK
  • HHI Photonics PDK
  • Compoundtek photonics PDK

There are some open source PDKs available without an NDA:

You can also access:

pdks

Getting started

Who is using gdsfactory?

Hundreds of organisations are using gdsfactory. Some companies and organizations around the world using gdsfactory include:

logos

"I've used gdsfactory since 2017 for all my chip tapeouts. I love that it is fast, easy to use, and easy to extend. It's the only tool that allows us to have an end-to-end chip design flow (design, verification and validation)."

Joaquin Matres - Google

"I've relied on gdsfactory for several tapeouts over the years. It's the only tool I've found that gives me the flexibility and scalability I need for a variety of projects."

Alec Hammond - Meta Reality Labs Research

"The best photonics layout tool I've used so far and it is leaps and bounds ahead of any commercial alternatives out there. Feels like gdsfactory is freeing photonics."

Hasitha Jayatilleka - LightIC Technologies

"As an academic working on large scale silicon photonics at CMOS foundries I've used gdsfactory to go from nothing to full-reticle layouts rapidly (in a few days). I particularly appreciate the full-system approach to photonics, with my layout being connected to circuit simulators which are then connected to device simulators. Moving from legacy tools such as gdspy and phidl to gdsfactory has sped up my workflow at least an order of magnitude."

Alex Sludds - MIT

"I use gdsfactory for all of my photonic tape-outs. The Python interface makes it easy to version control individual photonic components as well as entire layouts, while integrating seamlessly with KLayout and most standard photonic simulation tools, both open-source and commercial.

Thomas Dorch - Freedom Photonics

Why use gdsfactory?

  • It's fast, extensible and easy to use.
  • It's free, as in freedom and in cost.
  • It's the most popular EDA tool with a growing community of users and developers, and extensions to other tools.

Gdsfactory is really fast thanks a C++ library for manipulating GDSII objects. You will notice this when reading/writing big GDS files or doing large boolean operations.

Benchmark gdspy gdsfactory Gain
10k_rectangles 80.2 ms 4.87 ms 16.5
boolean-offset 187 μs 44.7 μs 4.19
bounding_box 36.7 ms 170 μs 216
flatten 465 μs 8.17 μs 56.9
read_gds 2.68 ms 94 μs 28.5

Contributors

Thanks to all the contributors that make this awesome project possible!

Meet our contributors!

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

gdsfactory-7.17.0.tar.gz (611.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdsfactory-7.17.0-py3-none-any.whl (832.7 kB view details)

Uploaded Python 3

File details

Details for the file gdsfactory-7.17.0.tar.gz.

File metadata

  • Download URL: gdsfactory-7.17.0.tar.gz
  • Upload date:
  • Size: 611.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gdsfactory-7.17.0.tar.gz
Algorithm Hash digest
SHA256 08d9bcd28fe13366f1341e2efcbd62f08901f59c2916184b18f302af79df971d
MD5 66f989dd3d9e32fc7c1e4580d8c73270
BLAKE2b-256 36be04ed52139f0cf7b9793099b62a52af904a385cb585e39749ba9286f5d200

See more details on using hashes here.

File details

Details for the file gdsfactory-7.17.0-py3-none-any.whl.

File metadata

  • Download URL: gdsfactory-7.17.0-py3-none-any.whl
  • Upload date:
  • Size: 832.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gdsfactory-7.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9607153f70ce1777f7a01e06b679cc8cd13cfa12e8724f717fa6bfdac753855
MD5 5cde0efbc78a58537c9b5a5a876261de
BLAKE2b-256 e1ee6f832fabe517569cff97dfce034bcf8f752b151114189b694f5a0283289c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page