Giter Site home page Giter Site logo

gdsfactory / ubc Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 23.0 66.32 MB

UBC Siepic Ebeam PDK from edx course

Home Page: https://gdsfactory.github.io/ubc/index.html

License: MIT License

Makefile 0.98% Python 96.76% Shell 1.73% Dockerfile 0.05% Jinja 0.48%

ubc's Introduction

GDSFactory 8.7.0

docs PyPI PyPI Python Downloads MIT codecov Binder Colab

🚀 Notice: Major Release

We are excited to announce that GDSFactory has upgraded its backend from gdstk to KLayout. This change brings enhanced routing functions and additional features from KLayout, including DRC, dummy fill, and connectivity checks.

Notice that the routing and some advanced functions have changed. For a complete list of changes, please refer to our migration guide or review the updated layout tutorial.

GDSFactory is a powerful Python library for designing a wide range of complex systems, including photonic circuits, analog devices, quantum components, MEMs, 3D printed objects, and PCBs. With GDSFactory, you can create and refine your designs using Python or YAML, perform rigorous verification through Design Rule Checking (DRC), Layout Versus Schematic (LVS) checks, and simulations. Additionally, it facilitates automated lab testing to ensure that your fabricated devices meet precise specifications, streamlining the entire design-to-fabrication workflow.

As input you write python code, as an output GDSFactory creates CAD files (GDS, OASIS, STL, GERBER).

cad

Highlights:

  • +2M downloads
  • +65 Contributors
  • +15 PDKs available

workflow

We provide a comprehensive end-to-end design flow that enables you to:

  • Design (Layout, Simulation, Optimization): Define parametric cell functions in Python to generate 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 redraw your components in simulation tools. Conduct component and circuit simulations, study design for manufacturing. Ensure complex layouts match their design intent through Layout Versus Schematic verification (LVS) and are DRC clean.
  • 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.

We provide a common syntax for design (Ansys, Lumerical, Tidy3d, MEEP, DEVSIM, SAX, MEOW, Xyce ...), verification, and validation.

tool interfaces

Numerous foundries offer GDSFactory PDKs that are accessible under an NDA. To gain access to these PDKs, please send proof of your NDA to [email protected]

  • AIM photonics PDK
  • AMF photonics PDK
  • Compoundtek photonics PDK
  • GlobalFoundries 45SPCLO Photonics PDK
  • HHI Photonics PDK
  • IMEC photonics PDK
  • Smart Photonics Photonics PDK
  • TowerSemi PH18 photonics PDK
  • III-V Labs PDK
  • Lionix PDK

Coming soon:

  • Ligentec PDK

There are also open source PDKs available without an NDA:

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, developers, and extensions to other tools.

GDSFactory is really fast thanks to KLayout 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!

contributors

ubc's People

Contributors

actions-user avatar dependabot[bot] avatar hakancelikdev avatar helgegehring avatar joamatab avatar simbilod avatar skandanc avatar thomasdorch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ubc's Issues

generate test conditions

Waiting for the test sequence is final to automatically generate it

@mustafacc
@lukasc-ubc
@SkandanC
@raphaeldubedemers

We also did some work on defining the test protocols in a restful API
https://github.com/EHVAAutomation/ehva-python/blob/Master/ehva/ehva_api.py

Here is the current plan on record

Devices:
  BraggGratingwithHeater,comment,comment:
    DeviceID: BraggGratingwithHeater,comment,comment
    Electrical Coordinates: []
    Optical Coordinates:
    - 50.0
    - 303.0
    Polarization: TE
    RoutineCheck: true
    Routines:
    - Set Wavelength Voltage Sweep:VoltageSweep_1480,1500,1530,1550
    - Set Wavelength Current Sweep:CurrentSweep_1480,1500,1550
    - Set Voltage Wavelength Sweep:WavelengthSweep_0.1,0.2,0.3
    Type: device
    Wavelength: '1550'
Routines:
  Current Sweep:
    Default:
      Channel A: true
      Channel B: false
      ELECflag: true
      IV: true
      Initialrange: ''
      Laseroutput: High power
      Max: '1'
      Min: '0'
      Numscans: '1'
      OPTICflag: false
      PV: true
      RV: true
      RangeDec: ''
      Res: '1'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: ''
      setvflag: false
      setwflag: false
  Set Voltage Wavelength Sweep:
    Default:
      Channel A: true
      Channel B: false
      ELECflag: false
      IV: false
      Initialrange: '-20'
      Laseroutput: High power
      Max: ''
      Min: ''
      Numscans: '1'
      OPTICflag: false
      PV: false
      RV: false
      RangeDec: '20'
      Res: ''
      Start: '1480'
      Stepsize: '1'
      Stop: '1580'
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: 1, 2, 3
      Wavelengths: ''
      setvflag: true
      setwflag: false
    WavelengthSweep_0.1,0.2,0.3:
      Channel A: true
      Channel B: false
      IV: false
      Initialrange: '-20'
      Laseroutput: High power
      Max: ''
      Min: ''
      Numscans: '1'
      PV: false
      RV: false
      RangeDec: '20'
      Res: ''
      Start: '1480'
      Stepsize: '1'
      Stop: '1580'
      Sweeppower: '0'
      Sweepspeed: auto
      Voltages: 0.1, 0.2, 0.3
      Wavelengths: ''
  Set Wavelength Current Sweep:
    CurrentSweep_1480,1500,1550:
      Channel A: true
      Channel B: false
      IV: true
      Initialrange: '-20'
      Laseroutput: High power
      Max: '5'
      Min: '0'
      Numscans: '1'
      PV: true
      RV: true
      RangeDec: '20'
      Res: '0.01'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: 1480, 1500, 1550
    Default:
      Channel A: true
      Channel B: false
      ELECflag: false
      IV: false
      Initialrange: '-20'
      Laseroutput: High power
      Max: '5'
      Min: '0'
      Numscans: '1'
      OPTICflag: false
      PV: false
      RV: false
      RangeDec: '20'
      Res: '0.1'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: 1480, 1500, 1550
      setvflag: false
      setwflag: true
  Set Wavelength Voltage Sweep:
    Default:
      Channel A: true
      Channel B: false
      ELECflag: false
      IV: true
      Initialrange: ''
      Laseroutput: High power
      Max: '1'
      Min: '0'
      Numscans: '1'
      OPTICflag: false
      PV: true
      RV: true
      RangeDec: ''
      Res: '1'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: ''
      setvflag: false
      setwflag: true
    VoltageSweep_1480,1500,1530,1550:
      Channel A: true
      Channel B: false
      IV: true
      Initialrange: ''
      Laseroutput: High power
      Max: '1'
      Min: '0'
      Numscans: '1'
      PV: true
      RV: true
      RangeDec: ''
      Res: '0.01'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: 1480,1500,1530,1550
  Voltage Sweep:
    Default:
      Channel A: true
      Channel B: false
      ELECflag: true
      IV: true
      Initialrange: ''
      Laseroutput: High power
      Max: '1'
      Min: '0'
      Numscans: '1'
      OPTICflag: false
      PV: true
      RV: true
      RangeDec: ''
      Res: '100'
      Start: ''
      Stepsize: ''
      Stop: ''
      Sweeppower: ''
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: ''
      setvflag: false
      setwflag: false
  Wavelength Sweep:
    Default:
      Channel A: false
      Channel B: false
      ELECflag: false
      IV: false
      Initialrange: '-20'
      Laseroutput: High power
      Max: ''
      Min: ''
      Numscans: '1'
      OPTICflag: true
      PV: false
      RV: false
      RangeDec: '20'
      Res: ''
      Start: '1480'
      Stepsize: '1'
      Stop: '1580'
      Sweeppower: '0'
      Sweepspeed: auto
      Voltages: ''
      Wavelengths: ''
      setvflag: false
      setwflag: false

add_fiber_array renames electrical ports

add_fiber_array auto-renames electrical ports of components it decorates

Ideally it should not do that, since adding grating couplers should not change the electrical configuration of the pcell, and it is sometimes useful to name electrical ports manually upstream

pip install ubcpdk, fails

Hi @joamatab,

I tried to install ubcpdk but it fails:

ERROR: Failed building wheel for gdstk

I have gdsfactory working, so perhaps this PDK has an extra dependancy that doesn't work?

thank you
Lukas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.