google / skywater-pdk

Open source process design kit for usage with SkyWater Technology Foundry's 130nm node.
https://skywater-pdk.rtfd.io
Apache License 2.0
2.97k stars 389 forks source link

How is this supposed to work? #50

Closed trcwm closed 4 years ago

trcwm commented 4 years ago

Cloned the repo, did 'make', got over 100MB of virtual environment installed.

typing 'conda activate skywater-pdk-scripts' says it can't find conda.

How do I get LEF/LIB/GDS2 files?

Unpacking payload ...
Collecting package metadata (current_repodata.json): done                                         
Solving environment: done

## Package Plan ##

  environment location: /home/trc/programming/skywater-pdk/env/conda

  added / updated specs:
    - _libgcc_mutex==0.1=main
    - ca-certificates==2020.1.1=0
    - certifi==2020.4.5.1=py37_0
    - cffi==1.14.0=py37he30daa8_1
    - chardet==3.0.4=py37_1003
    - conda-package-handling==1.6.1=py37h7b6447c_0
    - conda==4.8.3=py37_0
    - cryptography==2.9.2=py37h1ba5d50_0
    - idna==2.9=py_1
    - ld_impl_linux-64==2.33.1=h53a641e_7
    - libedit==3.1.20181209=hc058e9b_0
    - libffi==3.3=he6710b0_1
    - libgcc-ng==9.1.0=hdf63c60_0
    - libstdcxx-ng==9.1.0=hdf63c60_0
    - ncurses==6.2=he6710b0_1
    - openssl==1.1.1g=h7b6447c_0
    - pip==20.0.2=py37_3
    - pycosat==0.6.3=py37h7b6447c_0
    - pycparser==2.20=py_0
    - pyopenssl==19.1.0=py37_0
    - pysocks==1.7.1=py37_0
    - python==3.7.7=hcff3b4d_5
    - readline==8.0=h7b6447c_0
    - requests==2.23.0=py37_0
    - ruamel_yaml==0.15.87=py37h7b6447c_0
    - setuptools==46.4.0=py37_0
    - six==1.14.0=py37_0
    - sqlite==3.31.1=h62c20be_1
    - tk==8.6.8=hbc83047_0
    - tqdm==4.46.0=py_0
    - urllib3==1.25.8=py37_0
    - wheel==0.34.2=py37_0
    - xz==5.2.5=h7b6447c_0
    - yaml==0.1.7=had09818_2
    - zlib==1.2.11=h7b6447c_3

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  ca-certificates    pkgs/main/linux-64::ca-certificates-2020.1.1-0
  certifi            pkgs/main/linux-64::certifi-2020.4.5.1-py37_0
  cffi               pkgs/main/linux-64::cffi-1.14.0-py37he30daa8_1
  chardet            pkgs/main/linux-64::chardet-3.0.4-py37_1003
  conda              pkgs/main/linux-64::conda-4.8.3-py37_0
  conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.6.1-py37h7b6447c_0
  cryptography       pkgs/main/linux-64::cryptography-2.9.2-py37h1ba5d50_0
  idna               pkgs/main/noarch::idna-2.9-py_1
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.33.1-h53a641e_7
  libedit            pkgs/main/linux-64::libedit-3.1.20181209-hc058e9b_0
  libffi             pkgs/main/linux-64::libffi-3.3-he6710b0_1
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-9.1.0-hdf63c60_0
  ncurses            pkgs/main/linux-64::ncurses-6.2-he6710b0_1
  openssl            pkgs/main/linux-64::openssl-1.1.1g-h7b6447c_0
  pip                pkgs/main/linux-64::pip-20.0.2-py37_3
  pycosat            pkgs/main/linux-64::pycosat-0.6.3-py37h7b6447c_0
  pycparser          pkgs/main/noarch::pycparser-2.20-py_0
  pyopenssl          pkgs/main/linux-64::pyopenssl-19.1.0-py37_0
  pysocks            pkgs/main/linux-64::pysocks-1.7.1-py37_0
  python             pkgs/main/linux-64::python-3.7.7-hcff3b4d_5
  readline           pkgs/main/linux-64::readline-8.0-h7b6447c_0
  requests           pkgs/main/linux-64::requests-2.23.0-py37_0
  ruamel_yaml        pkgs/main/linux-64::ruamel_yaml-0.15.87-py37h7b6447c_0
  setuptools         pkgs/main/linux-64::setuptools-46.4.0-py37_0
  six                pkgs/main/linux-64::six-1.14.0-py37_0
  sqlite             pkgs/main/linux-64::sqlite-3.31.1-h62c20be_1
  tk                 pkgs/main/linux-64::tk-8.6.8-hbc83047_0
  tqdm               pkgs/main/noarch::tqdm-4.46.0-py_0
  urllib3            pkgs/main/linux-64::urllib3-1.25.8-py37_0
  wheel              pkgs/main/linux-64::wheel-0.34.2-py37_0
  xz                 pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
  yaml               pkgs/main/linux-64::yaml-0.1.7-had09818_2
  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3

Preparing transaction: done
Executing transaction: done
installation finished.
touch /home/trc/programming/skywater-pdk/env/conda/bin/python
source /home/trc/programming/skywater-pdk/env/conda/bin/activate && conda config --system --add envs_dirs /home/trc/programming/skywater-pdk/env/conda/envs
source /home/trc/programming/skywater-pdk/env/conda/bin/activate && conda config --system --add pkgs_dirs /home/trc/programming/skywater-pdk/env/downloads/conda-pkgs
source /home/trc/programming/skywater-pdk/env/conda/bin/activate && conda env update --name skywater-pdk-scripts --file /home/trc/programming/skywater-pdk/environment.yml
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Ran pip subprocess with arguments:
['/home/trc/programming/skywater-pdk/env/conda/envs/skywater-pdk-scripts/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/trc/programming/skywater-pdk/condaenv.mgfxia6r.requirements.txt']
Pip subprocess output:
Obtaining file:///home/trc/programming/skywater-pdk/scripts/python-skywater-pdk (from -r file:requirements.txt (line 6))
Collecting rst_include
  Using cached rst_include-1.0.8-py3-none-any.whl (33 kB)
Collecting sphinx-symbiflow-theme
  Cloning https://github.com/SymbiFlow/sphinx_materialdesign_theme.git to /tmp/pip-install-430liekk/sphinx-symbiflow-theme
Collecting docutils
  Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting sphinx
  Using cached Sphinx-3.1.1-py3-none-any.whl (2.9 MB)
Processing /home/trc/.cache/pip/wheels/73/fd/a4/58778b18dba46ebe03a88035263af7dc12017e017369445559/sphinx_autobuild-0.7.1-py3-none-any.whl
Collecting sphinxcontrib-verilog-diagrams
  Cloning https://github.com/SymbiFlow/sphinxcontrib-verilog-diagrams.git to /tmp/pip-install-430liekk/sphinxcontrib-verilog-diagrams
Processing /home/trc/.cache/pip/wheels/e2/13/20/22f6a21ce4020b1759804ba352065e0c14f2879adb43596aeb/symbolator-1.0.2-py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/04/15/db/b13acaf2117128c920ab950e05c549222f093ba56fcf196e0d/restructuredtext_lint-1.3.1-py3-none-any.whl
Collecting tabulate
  Using cached tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting dataclasses_json
  Using cached dataclasses_json-0.5.1-py3-none-any.whl (23 kB)
Collecting typing
  Using cached typing-3.7.4.1-py3-none-any.whl (25 kB)
Collecting pytest
  Using cached pytest-5.4.3-py3-none-any.whl (248 kB)
Collecting requests>=2.5.0
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting sphinxcontrib-serializinghtml
  Using cached sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB)
Collecting sphinxcontrib-htmlhelp
  Using cached sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)
Collecting snowballstemmer>=1.1
  Using cached snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB)
Collecting babel>=1.3
  Using cached Babel-2.8.0-py2.py3-none-any.whl (8.6 MB)
Collecting imagesize
  Using cached imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting Pygments>=2.0
  Using cached Pygments-2.6.1-py3-none-any.whl (914 kB)
Collecting alabaster<0.8,>=0.7
  Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting packaging
  Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting sphinxcontrib-jsmath
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-devhelp
  Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Requirement already satisfied, skipping upgrade: setuptools in ./env/conda/envs/skywater-pdk-scripts/lib/python3.8/site-packages (from sphinx->-r file:docs/requirements.txt (line 4)) (47.3.2.post20200703)
Collecting sphinxcontrib-applehelp
  Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-qthelp
  Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting Jinja2>=2.3
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting argh>=0.24.1
  Using cached argh-0.26.2-py2.py3-none-any.whl (30 kB)
Processing /home/trc/.cache/pip/wheels/4c/8e/7e/72fbc243e1aeecae64a96875432e70d4e92f3d2d18123be004/pathtools-0.1.2-py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/88/79/e5/598ba17e85eccf2626eab62e4ee8452895636cd542650d450d/tornado-6.0.4-cp38-cp38-linux_x86_64.whl
Processing /home/trc/.cache/pip/wheels/f8/39/45/b80612a24e42d9de0bd5eaf69eaf953edc25e1a9809d3d989f/watchdog-0.10.3-py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/27/9e/9b/1509419d1fc2dc8f84375252a765019a46d45c63f83b33a020/livereload-2.6.2-py2.py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c/PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl
Processing /home/trc/.cache/pip/wheels/aa/fa/ee/8a461019fc857dc090c383814a673330ab0546272aaec2da59/port_for-0.3.1-py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/5e/eb/b5/fbc625933d8c961a516927b8a704d37ebaadc541878620d859/hdlparse-1.0.4-py3-none-any.whl
Processing /home/trc/.cache/pip/wheels/04/0e/31/bf265c64f2a4d24516e9923f1f6293c3bcbcde75e0d80ab47a/stringcase-1.2.0-py3-none-any.whl
Collecting marshmallow<4.0.0,>=3.3.0
  Using cached marshmallow-3.6.1-py2.py3-none-any.whl (45 kB)
Collecting marshmallow-enum<2.0.0,>=1.5.1
  Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Collecting typing-inspect>=0.4.0
  Using cached typing_inspect-0.6.0-py3-none-any.whl (8.1 kB)
Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting more-itertools>=4.0.0
  Using cached more_itertools-8.4.0-py3-none-any.whl (43 kB)
Collecting pluggy<1.0,>=0.12
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting py>=1.5.0
  Using cached py-1.9.0-py2.py3-none-any.whl (99 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in ./env/conda/envs/skywater-pdk-scripts/lib/python3.8/site-packages (from requests>=2.5.0->sphinx->-r file:docs/requirements.txt (line 4)) (2020.6.20)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Collecting pytz>=2015.7
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl (32 kB)
Collecting typing-extensions>=3.7.4
  Using cached typing_extensions-3.7.4.2-py3-none-any.whl (22 kB)
Collecting mypy-extensions>=0.3.0
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Building wheels for collected packages: sphinx-symbiflow-theme, sphinxcontrib-verilog-diagrams
  Building wheel for sphinx-symbiflow-theme (setup.py): started
  Building wheel for sphinx-symbiflow-theme (setup.py): finished with status 'done'
  Created wheel for sphinx-symbiflow-theme: filename=sphinx_symbiflow_theme-0.1.11-py3-none-any.whl size=18259084 sha256=e231179dd34d4172f2bbee0c01b0bf9d78105c67241fb0242bf3e41c8b7adc6e
  Stored in directory: /tmp/pip-ephem-wheel-cache-rxdt1o5p/wheels/b3/01/48/cc3bca817efc8c3dcca37593870c5a6508ec9d22294300a880
  Building wheel for sphinxcontrib-verilog-diagrams (setup.py): started
  Building wheel for sphinxcontrib-verilog-diagrams (setup.py): finished with status 'done'
  Created wheel for sphinxcontrib-verilog-diagrams: filename=sphinxcontrib_verilog_diagrams-0.0.dev0-py3-none-any.whl size=12122 sha256=8364a9e9fbd5a934af3306d00aa43bde17a3013cb0434f19ed8cd71487cd99d2
  Stored in directory: /tmp/pip-ephem-wheel-cache-rxdt1o5p/wheels/54/62/3b/9549f1fdbdc9a36463b47d2c75617b4cc43f2c626a6e2ca5bb
Successfully built sphinx-symbiflow-theme sphinxcontrib-verilog-diagrams
Installing collected packages: typing, attrs, wcwidth, more-itertools, pluggy, six, pyparsing, packaging, py, pytest, rst-include, sphinx-symbiflow-theme, docutils, idna, chardet, urllib3, requests, sphinxcontrib-serializinghtml, sphinxcontrib-htmlhelp, snowballstemmer, pytz, babel, imagesize, Pygments, alabaster, sphinxcontrib-jsmath, sphinxcontrib-devhelp, sphinxcontrib-applehelp, sphinxcontrib-qthelp, MarkupSafe, Jinja2, sphinx, argh, pathtools, tornado, watchdog, livereload, PyYAML, port-for, sphinx-autobuild, sphinxcontrib-verilog-diagrams, hdlparse, symbolator, restructuredtext-lint, tabulate, stringcase, marshmallow, marshmallow-enum, typing-extensions, mypy-extensions, typing-inspect, dataclasses-json, skywater-pdk
  Running setup.py develop for skywater-pdk
Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 PyYAML-5.3.1 Pygments-2.6.1 alabaster-0.7.12 argh-0.26.2 attrs-19.3.0 babel-2.8.0 chardet-3.0.4 dataclasses-json-0.5.1 docutils-0.16 hdlparse-1.0.4 idna-2.10 imagesize-1.2.0 livereload-2.6.2 marshmallow-3.6.1 marshmallow-enum-1.5.1 more-itertools-8.4.0 mypy-extensions-0.4.3 packaging-20.4 pathtools-0.1.2 pluggy-0.13.1 port-for-0.3.1 py-1.9.0 pyparsing-2.4.7 pytest-5.4.3 pytz-2020.1 requests-2.24.0 restructuredtext-lint-1.3.1 rst-include-1.0.8 six-1.15.0 skywater-pdk snowballstemmer-2.0.0 sphinx-3.1.1 sphinx-autobuild-0.7.1 sphinx-symbiflow-theme-0.1.11 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-verilog-diagrams-0.0.dev0 stringcase-1.2.0 symbolator-1.0.2 tabulate-0.8.7 tornado-6.0.4 typing-3.7.4.1 typing-extensions-3.7.4.2 typing-inspect-0.6.0 urllib3-1.25.9 watchdog-0.10.3 wcwidth-0.2.5

#
# To activate this environment, use
#
#     $ conda activate skywater-pdk-scripts
#
# To deactivate an active environment, use
#
#     $ conda deactivate

touch /home/trc/programming/skywater-pdk/env/conda/envs/skywater-pdk-scripts/bin/python
kkiningh commented 4 years ago

The actual GDS and LEF files are being added in submodules under the libraries folder in pull request #33 . In the mean time, you can get them from here.

trcwm commented 4 years ago

Thank you!

mithro commented 4 years ago

I started the pull request and then got distracted responding to all the emails that the talk generated. That should be merged in the next day or two but you can look at the WIP stuff as pointed out by @kkiningh.

mithro commented 4 years ago

The pull request has been merged and you will now get the files if you clone the master branch.

Amjad2004 commented 4 years ago

The actual GDS and LEF files are being added in submodules under the libraries folder in pull request #35 In the mean time, you can get them from here