Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.05 KB

workflow.md

File metadata and controls

34 lines (19 loc) · 1.05 KB

Workflow

You'll need 2 windows:

  1. A text editor or IDE (Visual Studio Code, Pycharm, Spyder, neovim, Atom, Jupyterlab ...)
  2. Klayout to Visualize the GDS files.

Component.show() will stream the GDS to KLayout so KLayout needs to be open. Make sure you also run gf install klayout-integration from the terminal to install the gdsfactory to klayout interface.

1. Standard Python flow

  1. You write your PCells in python.
  2. You execute the python code.
  3. You visualize the GDS Layout in Klayout.

windows

2. File-watcher flow

For building large pcells can use a file-watcher and see your updates in KLayout.

  1. You execute the file watcher gf watch FolderName or in the current working directory gf watch
  2. The file-watcher re-runs any python file .py or YAML .pic.yaml.
  3. Thanks to the cell cache you can see your new component changes live updating the layout in Klayout.

filewatcher

3. Jupyter Notebook based flow

notebooks