Abhinav Uppal
03/11/2022, 9:12 PMMitch Bailey
03/11/2022, 9:48 PMexport STD_CELL_LIBRARY=sky130_fd_sc_lp
before make pdk
?Abhinav Uppal
03/11/2022, 10:59 PMMitch Bailey
03/11/2022, 11:02 PMAbhinav Uppal
03/11/2022, 11:04 PMMitch Bailey
03/11/2022, 11:12 PMmake pdk
. You should be able to replace the default STD_CELL_LIB though.Mitch Bailey
03/11/2022, 11:16 PMAbhinav Uppal
03/18/2022, 6:15 AMMitch Bailey
03/18/2022, 6:25 AMset ::env(STD_CELL_LIBRARY) "sky130_fd_sc_lp"
in the config.tcl file. I couldn't find any info on the tracks.info file. Hopefully, that will be automatically pulled from the PDK.Abhinav Uppal
03/19/2022, 5:39 AMAbhinav Uppal
03/19/2022, 7:22 AMMitch Bailey
03/19/2022, 8:13 AMmake pdk
from the caravel_user_project
repo (actually executes the Makefile
in the caravel
subdirectory), I believe only the STD_CELL_LIBRARY
(and libraries necessary for caravel/caravan) will be created. Set export STD_CELL_LIBRARY=sky130_fd_sc_lp
before make pdk
.
Or you could patch the caravel/Makefile
by adding these lines from the Makefile
of the openlane
repo to make all the libraries at once.
.PHONY: full-pdk
full-pdk: skywater-pdk all-skywater-libraries open_pdks build-pdk gen-sources
.PHONY: all-skywater-libraries
all-skywater-libraries: skywater-pdk
cd $(PDK_ROOT)/skywater-pdk && \
git submodule update --init libraries/sky130_fd_sc_hd/latest && \
git submodule update --init libraries/sky130_fd_sc_hs/latest && \
git submodule update --init libraries/sky130_fd_sc_hdll/latest && \
git submodule update --init libraries/sky130_fd_sc_ms/latest && \
git submodule update --init libraries/sky130_fd_sc_ls/latest && \
git submodule update --init libraries/sky130_fd_sc_hvl/latest && \
git submodule update --init libraries/sky130_fd_io/latest && \
$(MAKE) timing
Note, I've removed the multi-threading timing creation, so this may take several hours.