chipsalliance / silicon-notebooks

Apache License 2.0
161 stars 28 forks source link

ModuleNotFoundError: No module named 'libparse' when running with "CLOCK_TREE_SYNTH": true #76

Open AlbertZick opened 1 year ago

AlbertZick commented 1 year ago

I'm trying to run digital-inverter-openlane.ipynb with Colab notebooks. I'm encountering the following issue after modifying the config file with "CLOCK_TREE_SYNTH": true. Can anyone help me how to solve this issue?

[STEP 30]
[INFO]: Creating IR Drop Report (log: runs/RUN_2023.11.05_02.07.35/logs/signoff/30-irdrop.log)...
[WARNING]: VSRC_LOC_FILES is not defined. The IR drop analysis will run, but the values may be inaccurate.
[ERROR]: during executing openroad script /content/conda-env/share/openlane/scripts/openroad/irdrop.tcl
[ERROR]: Log: runs/RUN_2023.11.05_02.07.35/logs/signoff/30-irdrop.log
[ERROR]: Last 10 lines:
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
[INFO]: Reading ODB at '/content/runs/RUN_2023.11.05_02.07.35/results/routing/inverter.odb'…
define_corners Typical
read_liberty -corner Typical /content/conda-env/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
Error: irdrop.tcl, 15 Traceback (most recent call last):
  File "/content/conda-env/share/openlane/scripts/utils/get_default_operating_conditions.py", line 18, in <module>
    from libparse import LibertyParser
ModuleNotFoundError: No module named 'libparse'
child process exited abnormally

[ERROR]: Creating issue reproducible...

version of installed packages

  + libxml2                                                2.9.9  20220706_155948       litex-hub     Cached
  + netgen                                    1.5.262_0_gc1ed4ce  20231104_052339       litex-hub     Cached
  + yosys                                     0.34_61_g6f1ca6871  20231104_052339_py37  litex-hub     Cached
  + tcllib                                    1_21_49_g76be4fbd7  20231104_052339       litex-hub     Cached
  + magic                                     8.3.444_0_g0894248  20231104_052339       litex-hub     Cached
  + openroad                                2.0_10905_ge89829335  20231104_052339_py37  litex-hub     Cached
  + klayout                                0.28.12_21_gc71896fc5  20231104_052339_py37  litex-hub     Cached
  + verilator                                 5.018_9_gdc346b7ff  20231104_052339       litex-hub     Cached
  + openlane                              2023.11.03_0_gf4f8dad8  20231104_052339_py37  litex-hub     Cached