Updates from Donn to enable open_pdks to clone and install repositories
as needed for the installation. Note change to configure script option
for the path to the SkyWater PDK (if not being automatically installed
in a local path).
diff --git a/sky130/.gitignore b/sky130/.gitignore
new file mode 100644
index 0000000..2dd427d
--- /dev/null
+++ b/sky130/.gitignore
@@ -0,0 +1,4 @@
+# staged PDKs
+sky130/sky130A
+sky130/sky130A/*
+
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index 9092a37..2461f76 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -14,6 +14,13 @@
# Run "configure" from the top level directory. Use the following
# configuration options to match your environment:
#
+# --enable-skywater-pdk[=<path>]
+# If enabled, install the skywater PDK. If <path> is specified,
+# then the skywater PDK is expected to be found rooted at the
+# given path. If not specified, then the skywater PDK will be
+# downloaded and installed to <repo root>/pdks.
+# If explicitly disabled, sky130 is skipped over entirely.
+#
# --with-sky130-local-path=<path>
# where <path> is the run-time location of the installed PDK
# files generated by open_pdks. This option is mandatory and
@@ -38,14 +45,6 @@
# e.g., "gds/sky130_fd_sc_hd/" with ef-style, vs.
# "sky130_fd_sc_hd/gds/" without it.
#
-# Note that the following is deprecated but kept for backwards compatibility.
-# It is equivalent to "--enable-skywater-pdk=<path>" (see below).
-#
-# --with-sky130-source-path=<path>
-# where <path> is the location of the Google/Skywater repository
-# cloned from https://github.com/google/skywater-pdk. This
-# option is mandatory and has no default.
-#
# Enable/disable for specific libraries to be installed (and downloaded if
# needed). Libraries that are part of the open_pdks repository are enabled
# by default and must be disabled by passing an option to configure. Libraries
@@ -75,12 +74,6 @@
#
# External libraries and tool setups that can be enabled are the following:
#
-# --enable-skywater-pdk[=<path>]
-# If enabled, install the skywater PDK. If <path> is specified,
-# then the skywater PDK is expected to be found rooted at the
-# given path. If not specified, then the skywater PDK will be
-# cloned from the git repository and installed.
-#
# --enable-osu-lib[=<path>]
# If enabled, install the OSU standard cell library. If <path>
# is specified, then the OSU standard cell library is expected
@@ -161,11 +154,7 @@
# Paths:
-# Path to skywater_pdk (to be changed to public repo; work in progress)
-# Version below comes from foss-eda-tools.googlesource.com
-# SKYWATER_PATH = ~/gits/skywater-pdk-scratch/skywater-pdk/libraries
-# Version below is also from foss-eda-tools and is more recent than
-# the scratch repo above.
+# Path to skywater_pdk
SKYWATER_PATH = @SKY130_SOURCE_PATH@
# Path to OSU standard cell library sources (to be added to configuration options).
@@ -304,7 +293,7 @@
${MAKE} vendor-a
echo "Ended sky130A PDK staging on "`date` >> ${SKY130A}_install.log
-tools-a: general-a magic-a qflow-a netgen-a klayout-a openlane-a
+tools-a: $(addsuffix -a, $(TOOLS))
general-a: ${TECH}.json
mkdir -p ${STAGING_PATH}/${SKY130A}/${CONFIG_DIR}
diff --git a/sky130/pdk_url b/sky130/pdk_url
new file mode 100644
index 0000000..11a17e1
--- /dev/null
+++ b/sky130/pdk_url
@@ -0,0 +1 @@
+https://github.com/google/skywater-pdk/archive/master.tar.gz
\ No newline at end of file