Amro Tork
09/06/2021, 3:52 PMTim Edwards
09/06/2021, 7:54 PMcd sky130 ; make tools-a ; make primitive-a ; sudo make install
.Amro Tork
09/07/2021, 9:16 AMAmro Tork
09/07/2021, 2:29 PMTim Edwards
09/07/2021, 2:31 PMconfigure
first, then the above. The point is that there are specific targets in the sky130/Makefile that will just build specific parts of the PDK, like the primitive devices, the I/O, the digital standard cells, etc. make tools-a
builds out the environment setup for magic that is used by the rest of the builds, so that's mandatory (but takes only a few seconds to run).Amro Tork
09/07/2021, 2:31 PMAmro Tork
09/07/2021, 2:32 PMTim Edwards
09/07/2021, 2:32 PMmake io-a
.Amro Tork
09/07/2021, 2:32 PMAmro Tork
09/07/2021, 2:32 PMTim Edwards
09/07/2021, 2:32 PMcd sky130 ; make tools-a ; make primitive-a ; make io-a ; sudo make install
.Amro Tork
09/07/2021, 2:33 PMAmro Tork
09/07/2021, 2:37 PMAmro Tork
09/07/2021, 2:37 PM# Fix up the PNP model file before running the next modification
head -15 /home/atorkmabrains/mabrains/open_pdks/sky130/sky130A/libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pnp_05v5_W3p40L3p40.model.spice > /home/atorkmabrains/mabrains/open_pdks/sky130/sky130A/libs.ref/sky130_fd_pr/spice/temp
head: cannot open '/home/atorkmabrains/mabrains/open_pdks/sky130/sky130A/libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pnp_05v5_W3p40L3p40.model.spice' for reading: No such file or directory
make: *** [Makefile:841: primitive-a] Error 1
Amro Tork
09/07/2021, 2:37 PMTim Edwards
09/07/2021, 2:42 PMAmro Tork
09/07/2021, 2:43 PMAmro Tork
09/07/2021, 2:43 PMAmro Tork
09/07/2021, 2:44 PMAmro Tork
09/07/2021, 2:44 PMAmro Tork
09/07/2021, 2:44 PMTim Edwards
09/07/2021, 2:48 PMTim Edwards
09/07/2021, 2:48 PMconfigure
options?Amro Tork
09/07/2021, 2:49 PMreadlink -f ..
--enable-sky130-pdk`Tim Edwards
09/07/2021, 2:56 PMcd sky130 ; make prerequisites ; make tools-a ; make primitive-a ; ...
. But that will have the problem that make prerequisites
will download the whole skywater-pdk repository, pull all of the libraries, and build them all. What you want to do is to clone the skywater-pdk separately and then just initialize the submodules you need, which is sky130_fd_pr
for the primitives, and sky130_fd_io
for the I/O libraries. There should be no need to do a make timing
in the skywater-pdk repo because that only applies to digital standard cells. Then when you run configure
for open_pdks, use --enable-sky130-pdk=<path>
and give it the path to your skywater-pdk installation.Tim Edwards
09/07/2021, 2:57 PMAmro Tork
09/07/2021, 2:58 PM