blob: 47910b214445b070758f45a7447dcb983f587d5d [file] [log] [blame]
#!/bin/sh
#
# pdk_update.sh --
#
# Update the PDK from git
# (mainly for use with the Google/SkyWater SKY130 PDK)
#
# Usage: pdk_update.sh <directory>
#
if [ ! test -d $1 ] ; then
echo "Project does not exist in $pdir ; Cannot update."
exit 0
fi
cd $1
# Update top-level PDK repository
echo "Pulling PDK repository"
git pull
# Update submodules
echo "Updating PDK library submodules"
git submodule update --remote
# Regenerate liberty files
echo "Regenerating liberty timing files"
make timing