Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeking assistance for make command failure in Sky130 PDK #455

Open
teodora1506 opened this issue Sep 24, 2024 · 4 comments
Open

Seeking assistance for make command failure in Sky130 PDK #455

teodora1506 opened this issue Sep 24, 2024 · 4 comments

Comments

@teodora1506
Copy link

Hi everyone,

I'm experiencing an issue while trying to clone the Openpdk repository on my Ubuntu machine. Here are the details:
Operating System: Ubuntu (virtual machine on Windows using Oracle VM VirtualBox)
Git Version: 2.34.1

Problem: I'm facing an issue when trying to run the make command,I encounter the following error/message:
make[1]: Entering directory '/home/vboxuser/Desktop/chip_design/open_pdks/sky130'
if test "x" != "x"; then
FD_PR_COMMIT=cat | grep sky130_fd_pr | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_pr" != "x" ; then
if test -d "../sources/sky130_fd_pr" ; then
echo "Using existing installation of primitive library from ../sources/sky130_fd_pr" ;
else
echo "Downloading primitive library from ../sources/sky130_fd_pr" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_pr ../sources/sky130_fd_pr ${FD_PR_COMMIT} ;
fi ;
fi
if test "x" != "x"; then
FD_IO_COMMIT=cat | grep sky130_fd_io | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_io" != "x" ; then
if test -d "../sources/sky130_fd_io" ; then
echo "Using existing installation of I/O library from ../sources/sky130_fd_io" ;
else
echo "Downloading I/O library from ../sources/sky130_fd_io" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_io ../sources/sky130_fd_io ${FD_IO_COMMIT} ;
fi ;
fi
Downloading primitive library from ../sources/sky130_fd_pr
if test "x" != "x"; then
FD_SC_HD_COMMIT=cat | grep sky130_fd_sc_hd | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_hd" != "x" ; then
if test -d "../sources/sky130_fd_sc_hd" ; then
echo "Using existing installation of high-density standard cell library from ../sources/sky130_fd_sc_hd" ;
else
echo "Downloading high-density standard cell library from ../sources/sky130_fd_sc_hd" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hd ../sources/sky130_fd_sc_hd ${FD_SC_HD_COMMIT} ;
fi ;
fi
Downloading I/O library from ../sources/sky130_fd_io
if test "x" != "x"; then
FD_SC_HDLL_COMMIT=cat | grep sky130_fd_sc_hdll | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_hdll" != "x" ; then
if test -d "../sources/sky130_fd_sc_hdll" ; then
echo "Using existing installation of high-density low-leakage standard cell library from ../sources/sky130_fd_sc_hdll" ;
else
echo "Downloading high-density low-leakage standard cell library from ../sources/sky130_fd_sc_hdll" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hdll ../sources/sky130_fd_sc_hdll ${FD_SC_HDLL_COMMIT} ;
fi ;
fi
Downloading high-density standard cell library from ../sources/sky130_fd_sc_hd
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_pr to ../sources/sky130_fd_pr
if test "x" != "x"; then
FD_SC_HVL_COMMIT=cat | grep sky130_fd_sc_hvl | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_hvl" != "x" ; then
if test -d "../sources/sky130_fd_sc_hvl" ; then
echo "Using existing installation of high-voltage standard cell library from ../sources/sky130_fd_sc_hvl" ;
else
echo "Downloading high-voltage standard cell library from ../sources/sky130_fd_sc_hvl" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hvl ../sources/sky130_fd_sc_hvl ${FD_SC_HVL_COMMIT} ;
fi ;
fi
Downloading high-density low-leakage standard cell library from ../sources/sky130_fd_sc_hdll
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_io to ../sources/sky130_fd_io
if test "x" != "x"; then
FD_SC_HS_COMMIT=cat | grep sky130_fd_sc_hs | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_hs" != "x" ; then
if test -d "../sources/sky130_fd_sc_hs" ; then
echo "Using existing installation of high-speed standard cell library from ../sources/sky130_fd_sc_hs" ;
else
echo "Downloading high-speed standard cell library from ../sources/sky130_fd_sc_hs" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hs ../sources/sky130_fd_sc_hs ${FD_SC_HS_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hd to ../sources/sky130_fd_sc_hd
Downloading high-voltage standard cell library from ../sources/sky130_fd_sc_hvl
if test "x" != "x"; then
FD_SC_MS_COMMIT=cat | grep sky130_fd_sc_ms | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_ms" != "x" ; then
if test -d "../sources/sky130_fd_sc_ms" ; then
echo "Using existing installation of medium-speed standard cell library from ../sources/sky130_fd_sc_ms" ;
else
echo "Downloading medium-speed standard cell library from ../sources/sky130_fd_sc_ms" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_ms ../sources/sky130_fd_sc_ms ${FD_SC_MS_COMMIT} ;
fi ;
fi
Downloading high-speed standard cell library from ../sources/sky130_fd_sc_hs
if test "x" != "x"; then
FD_SC_LS_COMMIT=cat | grep sky130_fd_sc_ls | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_ls" != "x" ; then
if test -d "../sources/sky130_fd_sc_ls" ; then
echo "Using existing installation of low-speed standard cell library from ../sources/sky130_fd_sc_ls" ;
else
echo "Downloading low-speed standard cell library from ../sources/sky130_fd_sc_ls" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_ls ../sources/sky130_fd_sc_ls ${FD_SC_LS_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hdll to ../sources/sky130_fd_sc_hdll
Cloning into '../sources/sky130_fd_pr'...
if test "x" != "x"; then
FD_SC_LP_COMMIT=cat | grep sky130_fd_sc_lp | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_fd_sc_lp" != "x" ; then
if test -d "../sources/sky130_fd_sc_lp" ; then
echo "Using existing installation of low-power standard cell library from ../sources/sky130_fd_sc_lp" ;
else
echo "Downloading low-power standard cell library from ../sources/sky130_fd_sc_lp" ;
../scripts/download.sh https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_lp ../sources/sky130_fd_sc_lp ${FD_SC_LP_COMMIT} ;
fi ;
fi
Downloading medium-speed standard cell library from ../sources/sky130_fd_sc_ms
Cloning into '../sources/sky130_fd_sc_hd'...
Cloning into '../sources/sky130_fd_io'...
Downloading low-speed standard cell library from ../sources/sky130_fd_sc_ls
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hvl to ../sources/sky130_fd_sc_hvl
if test "x" != "x"; then
ALPHA_COMMIT=cat | grep sky130_ml_xx_hd | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/sky130_ml_xx_hd" != "x" ; then
if test -d "../sources/sky130_ml_xx_hd" ; then
echo "Using existing installation of alphanumeric library from ../sources/sky130_ml_xx_hd" ;
else
echo "Downloading alphanumeric library from https://github.com/PaulSchulz/sky130_pschulz_xx_hd" ;
../scripts/download.sh https://github.com/PaulSchulz/sky130_pschulz_xx_hd ../sources/sky130_ml_xx_hd ${ALPHA_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hs to ../sources/sky130_fd_sc_hs
Downloading low-power standard cell library from ../sources/sky130_fd_sc_lp
if test "x" != "x"; then
XSCHEM_COMMIT=cat | grep xschem_sky130 | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/xschem_sky130" != "x" ; then
if test -d "../sources/xschem_sky130" ; then
echo "Using existing installation of xschem setup from ../sources/xschem_sky130" ;
else
echo "Downloading xschem setup from https://github.com/StefanSchippers/xschem_sky130" ;
../scripts/download.sh https://github.com/StefanSchippers/xschem_sky130 ../sources/xschem_sky130 ${XSCHEM_COMMIT} ;
fi ;
fi
Cloning into '../sources/sky130_fd_sc_hdll'...
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_ms to ../sources/sky130_fd_sc_ms
if test "x" != "x"; then
KLAYOUT_COMMIT=cat | grep klayout_sky130 | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/klayout_sky130" != "x" ; then
if test -d "../sources/klayout_sky130" ; then
echo "Using existing installation of klayout setup from ../sources/klayout_sky130" ;
else
echo "Downloading klayout setup from https://github.com/efabless/sky130_klayout_pdk" ;
../scripts/download.sh https://github.com/efabless/sky130_klayout_pdk ../sources/klayout_sky130 ${KLAYOUT_COMMIT} ;
fi ;
fi
Downloading alphanumeric library from https://github.com/PaulSchulz/sky130_pschulz_xx_hd
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_ls to ../sources/sky130_fd_sc_ls
Cloning into '../sources/sky130_fd_sc_hvl'...
Downloading xschem setup from https://github.com/StefanSchippers/xschem_sky130
if test "x" != "x"; then
PRECHECK_COMMIT=cat | grep precheck_sky130 | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x../sources/precheck_sky130" != "x" ; then
if test -d "../sources/precheck_sky130" ; then
echo "Using existing installation of klayout setup from ../sources/precheck_sky130" ;
else
echo "Downloading klayout setup from https://github.com/efabless/mpw_precheck" ;
../scripts/download.sh https://github.com/efabless/mpw_precheck ../sources/precheck_sky130 ${PRECHECK_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_lp to ../sources/sky130_fd_sc_lp
Cloning into '../sources/sky130_fd_sc_hs'...
Downloading klayout setup from https://github.com/efabless/sky130_klayout_pdk
if test "x" != "x"; then
SRAM_COMMIT=cat | grep sky130_sram_macros | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of SRAM macro library from " ;
else
echo "Downloading SRAM macro library from https://github.com/efabless/sky130_sram_macros" ;
../scripts/download.sh https://github.com/efabless/sky130_sram_macros ${SRAM_COMMIT};
fi ;
fi
Cloning https://github.com/PaulSchulz/sky130_pschulz_xx_hd to ../sources/sky130_ml_xx_hd
Cloning into '../sources/sky130_fd_sc_ms'...
if test "x" != "x"; then
SRAM_SPACE_COMMIT=cat | grep sky130_fd_bd_sram | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of SRAM build-space library from " ;
else
echo "Downloading SRAM build-space library from https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_fd_bd_sram" ;
../scripts/download.sh https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_fd_bd_sram ${SRAM_SPACE_COMMIT} ;
fi ;
fi
Cloning into '../sources/sky130_fd_sc_ls'...
Downloading klayout setup from https://github.com/efabless/mpw_precheck
Cloning https://github.com/StefanSchippers/xschem_sky130 to ../sources/xschem_sky130
Cloning into '../sources/sky130_fd_sc_lp'...
if test "x" != "x"; then
RERAM_COMMIT=cat | grep sky130_fd_pr_reram | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of RERAM library from " ;
else
echo "Downloading RERAM library from https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_fd_pr_reram" ;
../scripts/download.sh https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_fd_pr_reram ${RERAM_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/sky130_klayout_pdk to ../sources/klayout_sky130
Cloning into '../sources/sky130_ml_xx_hd'...
if test "x" != "x"; then
OSU_T12_COMMIT=cat | grep sky130_osu_sc_t12 | grep -v COMMIT | cut -d'"' -f4 ;
fi ;
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of OSU T12 standard cell library from " ;
else
echo "Downloading OSU standard T12 cell library from https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t12" ;
../scripts/download.sh https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t12 ${OSU_T12_COMMIT} ;
fi ;
fi
Cloning https://github.com/efabless/mpw_precheck to ../sources/precheck_sky130
if test "x" != "x"; then
OSU_T15_COMMIT=cat | grep sky130_osu_sc_t15 | grep -v COMMIT | cut -d'"' -f4 ;
fi
Cloning into '../sources/xschem_sky130'...
if test "x" != "x"; then
OSU_T18_COMMIT=cat | grep sky130_osu_sc_t18 | grep -v COMMIT | cut -d'"' -f4 ;
fi
Cloning into '../sources/klayout_sky130'...
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of OSU T15 standard cell library from " ;
else
echo "Downloading OSU standard T15 cell library from https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t15" ;
../scripts/download.sh https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t15 ${OSU_T15_COMMIT} ;
fi ;
fi
Cloning into '../sources/precheck_sky130'...
if test "x" != "x" ; then
if test -d "" ; then
echo "Using existing installation of OSU T18 standard cell library from " ;
else
echo "Downloading OSU standard T18 cell library from https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t18" ;
../scripts/download.sh https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t18 ${OSU_T18_COMMIT} ;
fi ;
fi
remote: Enumerating objects: 5816, done.
remote: Enumerating objects: 1656, done.
remote: Enumerating objects: 960, done.
remote: Counting objects: 100% (960/960), done.
remote: Enumerating objects: 7373, done.
remote: Enumerating objects: 4159, done.
remote: Enumerating objects: 236, done.
remote: Enumerating objects: 105, done.
remote: Counting objects: 100% (4159/4159), done.
remote: Counting objects: 100% (105/105), done.
remote: Enumerating objects: 6925, done.
remote: Counting objects: 100% (236/236), done.
remote: Enumerating objects: 7015, done.
remote: Enumerating objects: 711, done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 105 (delta 4), reused 101 (delta 4), pack-reused 0 (from 0)
remote: Counting objects: 100% (6925/6925), done.
remote: Counting objects: 100% (5816/5816), done.
remote: Counting objects: 100% (7015/7015), done.
remote: Enumerating objects: 7761, done.
remote: Enumerating objects: 7162, done.
remote: Counting objects: 100% (1656/1656), done.
remote: Counting objects: 100% (7373/7373), done.
Receiving objects: 100% (105/105), 24.91 KiB | 622.00 KiB/s, done.
Resolving deltas: 100% (4/4), done.
remote: Counting objects: 100% (711/711), done.
remote: Counting objects: 100% (7761/7761), done.
remote: Counting objects: 100% (7162/7162), done.
remote: Enumerating objects: 11023, done.
remote: Compressing objects: 100% (764/764), done.
remote: Compressing objects: 100% (176/176), done.
remote: Counting objects: 100% (11023/11023), done.
remote: Compressing objects: 100% (1703/1703), done.
remote: Compressing objects: 100% (871/871), done.
remote: Total 960 (delta 676), reused 358 (delta 195), pack-reused 0 (from 0)
Receiving objects: 100% (960/960), 6.11 MiB | 2.77 MiB/s, done.
Resolving deltas: 100% (676/676), done.1254)
remote: Compressing objects: 100% (282/282), done.
remote: Compressing objects: 100% (484/484), done.
remote: Total 236 (delta 76), reused 145 (delta 49), pack-reused 0 (from 0)
Receiving objects: 100% (236/236), 10.15 MiB | 905.00 KiB/s, done.
Resolving deltas: 100% (76/76), done.
remote: Compressing objects: 100% (1476/1476), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 6863 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOFs: 39% (278/711), 20.36 MiB | 1.44 MiB/sB/s
fatal: fetch-pack: invalid index-pack output
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 3067 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 4262 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOFs: 99% (1643/1656), 20.79 MiB | 1.88 MiB/s
fatal: fetch-pack: invalid index-pack output
Cloning into '../sources/sky130_fd_io'... MiB | 733.00 KiB/s
Cloning into '../sources/sky130_fd_sc_hvl'... | 711.00 KiB/s
Cloning into '../sources/klayout_sky130'...
remote: Enumerating objects: 711, done.
remote: Counting objects: 100% (711/711), done.
remote: Enumerating objects: 7373, done.
remote: Enumerating objects: 1656, done.
remote: Counting objects: 100% (1656/1656), done.
remote: Counting objects: 100% (7373/7373), done.
remote: Compressing objects: 100% (1703/1703), done.

I would appreciate any help or guidance on how to resolve this issue. Thank you!

@d-m-bailey
Copy link
Contributor

@teodora1506 Looks like your github transfer timed out. You could try again to see if you get the same error.

If you're ok with a prebuilt pdk, I strongly recommend using volare.

git clone https://github.com/efabless/caravel_user_project
cd caravel_user_project
export PDK_ROOT=<where you want the pdk to be installed>
make pdk-with-volare

@teodora1506
Copy link
Author

I tried many times today and every time was the same.
Now I get this :
vboxuser@vboxuser-VirtualBox:~/Desktop/chip_design$ git clone https://github.com/efabless/caravel_user_project
Cloning into 'caravel_user_project'...
remote: Enumerating objects: 6222, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (28/28), done.
error: RPC failed; curl 16 Error in the HTTP2 framing layerB/s
error: 4681 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

@RTimothyEdwards
Copy link
Owner

@teodora1506 : This is a very common problem with github mirror sites, especially from places like India and China. You might just want to try at different times of day to see if you can manage to find a time when the server traffic is low.

However, caravel_user_project has a lot of history, so cloning the entire repository will require a very large download. You may want to use git clone https://github.com/efabless/caravel_user_project --depth=1 to avoid all the history, which will significantly cut down on the amount of data being transferred.

@teodora1506
Copy link
Author

I achieved to install sky130,but now i do not have model file(tt,sf,ss etc), I do not know how to add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants