Hi all, I am new using open source EDA tools. Is there any way of converting a .lib.json into a .lib...
r
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
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
Then the .lib file will appear. Several details can be referred to the README on the official github: https://github.com/google/skywater-pdk
r
Thank you, @Edan Chen. Running the "timing" target worked fine.
💯 1
t
@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
Thank you @Tim Edwards I'll make sure to use the PDK from the repository provided.