osic-stacks/stacks/chipathon-tools/scripts/install-open-pdks.sh

36 lines
1.0 KiB
Bash
Raw Normal View History

2023-09-22 07:02:53 +00:00
#!/bin/bash
set -e
2023-11-09 15:12:35 +00:00
export OPEN_PDKS_VERSION="e0f692f46654d6c7c99fc70a0c94a080dab53571"
2023-09-22 08:05:39 +00:00
export SCRIPT_DIR=$PWD
#pip install git+https://github.com/gdsfactory/skywater130.git git+https://github.com/gdsfactory/gf180.git --upgrade --break-system-packages
2023-11-14 19:27:23 +00:00
# pip install gf180 --upgrade --break-system-packages
# pip install sky130 --upgrade --break-system-packages
2023-10-02 22:04:53 +00:00
2023-09-22 08:05:39 +00:00
######################
# INSTALL GF180MCU PDK
######################
2023-09-27 20:15:01 +00:00
volare enable "${OPEN_PDKS_VERSION}" --pdk gf180mcu
2023-09-22 08:05:39 +00:00
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuA
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuB
2023-11-14 19:27:23 +00:00
#rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuC ## Some day...
2023-09-22 08:05:39 +00:00
rm -rf $PDK_ROOT/gf180mcuA
rm -rf $PDK_ROOT/gf180mcuB
rm -rf $PDK_ROOT/gf180mcuD
2023-09-22 07:02:53 +00:00
####################
# INSTALL SKY130 PDK
####################
2023-09-27 20:15:01 +00:00
volare enable "${OPEN_PDKS_VERSION}" --pdk sky130
2023-09-22 17:10:10 +00:00
2023-09-27 20:15:01 +00:00
# ADD PCELL SUPPORT
2023-09-22 07:02:53 +00:00
# remove version sky130B to save space (efabless TO use mostly sky130A)
rm -rf "$PDK_ROOT"/volare/sky130/versions/*/sky130B
rm -rf "$PDK_ROOT"/sky130B