osic-stacks/stacks/chipathon-tools/scripts/install-open-pdks.sh
Aquiles Viza 961108837a
All checks were successful
release / build-base (push) Successful in 5m56s
release / build-digital-icarus (push) Successful in 25m54s
release / build-digital-heavy (push) Successful in 26m58s
release / build-digital-ator (push) Successful in 27m2s
release / build-analog-xk (push) Successful in 28m58s
release / build-analog-xm (push) Successful in 29m12s
release / build-heavy (push) Successful in 30m52s
release / build-analog-heavy (push) Successful in 31m7s
release / build-chipathon-tools (push) Successful in 22m46s
Updated volare commit
2023-11-09 12:12:35 -03:00

36 lines
1014 B
Bash

#!/bin/bash
set -e
export OPEN_PDKS_VERSION="e0f692f46654d6c7c99fc70a0c94a080dab53571"
export SCRIPT_DIR=$PWD
#pip install git+https://github.com/gdsfactory/skywater130.git git+https://github.com/gdsfactory/gf180.git --upgrade --break-system-packages
pip install gf180 --upgrade --break-system-packages
pip install sky130 --upgrade --break-system-packages
######################
# INSTALL GF180MCU PDK
######################
volare enable "${OPEN_PDKS_VERSION}" --pdk gf180mcu
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuA
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuB
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuD
rm -rf $PDK_ROOT/gf180mcuA
rm -rf $PDK_ROOT/gf180mcuB
rm -rf $PDK_ROOT/gf180mcuD
####################
# INSTALL SKY130 PDK
####################
volare enable "${OPEN_PDKS_VERSION}" --pdk sky130
# ADD PCELL SUPPORT
# remove version sky130B to save space (efabless TO use mostly sky130A)
rm -rf "$PDK_ROOT"/volare/sky130/versions/*/sky130B
rm -rf "$PDK_ROOT"/sky130B