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

34 lines
993 B
Bash
Raw Normal View History

2023-09-22 07:02:53 +00:00
#!/bin/bash
2023-11-15 15:35:53 +00:00
set -ex
2023-09-22 07:02:53 +00:00
source ./global-variables.sh
2023-09-22 08:05:39 +00:00
#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-11-15 15:35:53 +00:00
pip install gdsfactory[cad]==7.3.0 --break-system-packages
2023-10-02 22:04:53 +00:00
2023-09-22 08:05:39 +00:00
######################
# INSTALL GF180MCU PDK
######################
2023-12-24 00:14:05 +00:00
volare enable "${OPEN_PDKS_COMMIT}" --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
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuC
2023-09-22 08:05:39 +00:00
rm -rf $PDK_ROOT/gf180mcuA
rm -rf $PDK_ROOT/gf180mcuB
rm -rf $PDK_ROOT/gf180mcuC
2023-09-22 08:05:39 +00:00
2023-09-22 07:02:53 +00:00
####################
# INSTALL SKY130 PDK
####################
2023-12-24 00:14:05 +00:00
volare enable "${OPEN_PDKS_COMMIT}" --pdk sky130
2023-09-22 17:10:10 +00:00
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