Hi all, I am new using open source EDA tools. Is there any way of converting a .lib.json into a .lib? I am trying to perform synthesis with Yosys using sky130 PDK, however I noticed there is only .lib.json available in the official GitHub repository.
e
Edan Chen
08/11/2023, 3:14 AM
You need to clone it down and execute the following command:
Copy code
# Expect a large download! ~7GB at time of writing.
SUBMODULE_VERSION=latest make submodules -j3 || make submodules -j1
# Regenerate liberty files
make timing
Thank you, @Edan Chen. Running the "timing" target worked fine.
💯 1
t
Tim Edwards
08/11/2023, 9:44 PM
@Rafael Oliveira: You should not use the unmodified sources from google. Use the version installed by https://github.com/RTimothyEdwards/open_pdks/. The github/google sources have been deprecated because Google never fixed or maintained them. The corrected repositories are at https://github.com/efabless/. They no longer have a top level repository, it's just each PDK library in its own repository. There's no longer any need to run "make timing" because the liberty timing files are just split into parts to make them fit into the github repo without overrunning their file size restrictions. It is only necessary to concatenate the split files (and open_pdks does that automatically).
r
Rafael Oliveira
08/12/2023, 12:10 AM
Thank you @Tim Edwards I'll make sure to use the PDK from the repository provided.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.