GitHub
10/22/2021, 10:18 AMgit clone <git://opencircuitdesign.com/open_pdks>
and cd open_pdks
, the next step, as described in the instructions, is to run the following command:
./configure --enable-sky130-pdk
After this step, I run the command sudo make
But this results in an error.
Console output (Error)
```
akash@akash-lenovo:~/open_pdks$ sudo ./configure --enable-sky130-pdk
[sudo] password for akash:
checking for a Python interpreter with version >= 3.4... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.6
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.6/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.6/site-packages
checking python3 module: distutils... yes
checking for a sed that does not truncate output... /bin/sed
configure: Found technology directories: sky130
Checking technology sky130...
configure: PDK 'sky130' will be downloaded automatically during make.
configure: Link targets set to none
configure: Found tools: klayout magic netgen irsim openlane qflow xschem
checking for magic... /usr/local/bin/magic
checking for patch... /usr/bin/patch
configure: Package 'sky130_ml_xx_hd' will be installed automatically during make.
configure: Package 'xschem_sky130' will be installed automatically during make.
configure: Package 'sky130_sram_macros' will not be installed.
configure: Package 'sky130_osu_t12' will not be installed.
configure: Package 'sky130_osu_t15' will not be installed.
configure: Package 'sky130_osu_t18' will not be installed.
configure: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem
configure: creating ./config.status
config.status: creating ../sky130/Makefile
config.status: creating ../Makefile
Build configured successfully
akash@akash-lenovo:~/open_pdks$ sudo make
(cd sky130 && make all)
make[1]: Entering directory '/home/akash/open_pdks/sky130'
if test "x/home/akash/open_pdks/sources/sky130-pdk" != "x" ; then \
if test -d "/home/akash/open_pdks/sources/sky130-pdk" ; then \
echo "Using existing installation of SkyWater PDK from /home/akash/open_pdks/sources/sky130-pdk" ; \
else \
echo "Downloading SkyWater PDK from https://github.com/google/skywater-pdk" ; \
custom/scripts/pdk_download.sh https://github.com/google/skywater-pdk /home/akash/open_pdks/sources/sky130-pdk ; \
fi ; \
fi
Using existing installation of SkyWater PDK from /home/akash/open_pdks/sources/sky130-pdk
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 ; \
fi ; \
fi
Using existing installation of alphanumeric library from ../sources/sky130_ml_xx_hd
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 ; \
fi ; \
fi
Using existing installation of xschem setup from ../sources/xschem_sky130
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 ; \
fi ; \
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 0 ; \
fi ; \
fi
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 0 ; \
fi ; \
fi
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 0 ; \
fi ; \
fi
echo "Starting sky130A PDK staging on "`date` > sky130A_make.log
make general-a
make[2]: Entering directory '/home/akash/open_pdks/sky130'
mkdir -p /home/akash/open_pdks/sky130/sky130A/.config
rm -f /home/akash/open_pdks/sky130/sky130A/.config/nodeinfo.json
../common/preproc.py -DTECHNAME=sky130A -DREVISION=1.0.232-0-g2dbcc41 -DMETAL5 -DMIM -DREDISTRIBUTION -DSTAGING_PATH=/home/akash/open_pdks/sky130 -DMAGIC_CURRENT=libs.tech/magic -DOPEN_PDKS_COMMIT=2dbcc41f60a3837fab7a8e0fe43f426fdbcd85c8 -DALPHA_COMMIT=6eb3b0718552b034f1bf1870285ff135e3fb2dcb -DSRAM_COMMIT="unknown" -DOSU_T12_COMMIT="unknown" -DOSU_T15_COMMIT="unknown" -DOSU_T18_COMMIT="unknown" -DFD_PR_COMMIT=f62031a1be9aefe902d6d54cddd6f59b57627436 -DFD_IO_COMMIT=01b18699b4102d8e54ad1406b3991ecb652e5aee -DFD_SC_HD_COMMIT=ac7fb61f06e6470b94e8afdf7c25268f62fbd7b1 -DFD_SC_HDLL_COMMIT=0694bd23893de20f5233ef024acf6cca1e750ac6 -DFD_SC_HVL_COMMIT=4fd4f858d16c558a6a488b200649e909bb4dd800 -DFD_SC_HS_COMMIT=1d051f49bfe4e2fe9108d702a8bc2e9c081005a4 -DFD_SC_MS_COMMIT=ae1b7f68821505cf2d93d9d44cce5ece22710fad -DFD_SC_LS_COMMIT=4f549e30dd91a1c264f8895e07b2872fe410a8c2 -DFD_SC_LP_COMMIT=e2c1e0646999163d35ea7b2521c3ec5c28633e63 -DMAGIC_VERSION=8.3.122 -DOPEN_PDKS_VERSION=1.0.232 sky130.json \
/home/akash/open_pdks/sky130/sky130A/.config/nodeinfo.json
make[2]: Leaving directory '/home/akash/open_pdks/sky130'
make tools-a
make[2]: Entering directory '/home/akash/open_pdks/sky130'
mkdir -p /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout
mkdir -p /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout
rm -f /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lyp
rm -f /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lyt
../common/preproc.py -DTECHNAME=sky130A -DREVISION=1.0.232-0-g2dbcc41 -DMETAL5 -DMIM -DREDISTRIBUTION -DSTAGING_PATH=/home/akash/open_pdks/sky130 -DMAGIC_CURRENT=libs.tech/magic klayout/sky130.lyp /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lyp
../common/preproc.py -DTECHNAME=sky130A -DREVISION=1.0.232-0-g2dbcc41 -DMETAL5 -DMIM -DREDISTRIBUTION -DSTAGING_PATH=/home/akash/open_pdks/sky130 -DMAGIC_CURRENT=libs.tech/magic klayout/sky130.lyt /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lyt
cp klayout/sky130.lydrc /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lydrc
./custom/scripts/gen_run_drc.py -l /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.lydrc \
-o /home/akash/open_pdks/sky130/sky130A/libs.tech/klayout/sky130A.drc
make[2]: * No rule to make target 'openlane/common_pdn.tcl', needed by 'openlane-a'. Stop.
make[2]: Leaving directory '/home/akash/open_pdks/sky130'
Makefile575 recipe for target 'all-a' failed
make[1]: * [all-a] Error 2
make[1]: Leaving directory '/home/akash/open_pdks/sky130'
Makefile117 recipe …
RTimothyEdwards/open_pdks