Open_PDK installation issue

365 views
Skip to first unread message

Eman Hassan

unread,
Mar 28, 2023, 7:12:57 AM3/28/23
to skywater-pdk-users

Dear Support Team,

I hope this email finds you well. I am completely new to this technology and currently trying to install the open_pdk SkyWater130 on our Linux-based Red Hat system. I have been following the instructions provided by http://opencircuitdesign.com/open_pdks/install.htm and the ReadMe file available on GitHub for open_pdk/sky130/ReadMe. As you might be aware, the prerequisites for installing open_pdk are magic and SkyWater130.

However, I have tried this installation process four times and always end up with errors during the building process (when running make and make install after configuring the open_pdk in the local directory). Some of the errors I received are:

  • FileExistsError: [Errno 17] File exists: '/home/eda_work/eman/hassan/open_pdks/sky130/sky130A/libs.tech/magic/sky130A.magicrc' -> '/home/eda_work/eman/hassan/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_lp/gds/.magicrc'
  • make[3]: *** [digital-lp-B] Error 1
  • make[3]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make[2]: *** [digital-lp-build-B] Error 2
  • make[2]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make[1]: *** [all-B] Error 2
  • make[1]: *** Waiting for unfinished jobs....
  • make[3]: *** [digital-lp-A] Error 1
  • make[3]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make[2]: *** [digital-lp-build-A] Error 2
  • make[2]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make[1]: *** [all-A] Error 2
  • make[1]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make: *** [tech-sky130] Error 2

and

  • ConfigurationLoadError: Unable to load configuration file.
  • path: /home/eda_work/eman/hassan/open_pdks/sources/sky130-pdk/env/conda/.condarc
  • reason: invalid yaml at line 3, column 0
  • make[2]: *** [/home/eda_work/eman/hassan/open_pdks/sources/sky130-pdk/env/conda/envs/skywater-pdk-scripts/bin/python] Error 1
  • make[2]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sources/sky130-pdk'
  • make[1]: *** [pdk-repo] Error 2
  • make[1]: Leaving directory `/home/eda_work/eman/hassan/open_pdks/sky130'
  • make: *** [tech-sky130] Error 2

Error message output from magic script:

  • Couldn't find label VCCD_PAD
  • Can't write file named '(UNNAMED)'
  • Annotating files in /home/eda_work/eman/open_pdks/sky130/sky130B/libs.ref/sky130_fd_io/maglef
  • No CDL file contains sky130_fd_io device sky130_fd_io__top_xres4v2
  • No CDL file contains sky130_fd_io device sky130_ef_io__bare_pad
  • No CDL file contains sky130

Also, the log_make file contains error about using timestamp with no value Can someone advise what I missed during installation and how I can fix such errors?

Regards,
Eman.

rtedwards8

unread,
Mar 28, 2023, 10:04:58 AM3/28/23
to skywater-pdk-users
Hello Eman,

The "conda" issue (2nd one in your list of three problems) is a known issue with Debian systems that can be fixed either by running "make" a second time or by running "conda update -y conda".

The 3rd item in your list and the comment about "timestamp(s) with no value" are all non-fatal issues.

The "FileExistsError" issue is one I have not seen before;  it looks like maybe an attempt to overwrite a symbolic link;  however, both places in the foundry_install.py script that create symbolic links check if the link exists first and remove it if it does, so I don't know how this error can happen.  It's possible that if you get past the conda issue above, this won't happen again.

Issues specific to open_pdks are best posted to the github issue tracker at https://github.com/RTimothyEdwards/open_pdks/.

Regards,
Tim
Reply all
Reply to author
Forward
0 new messages