Fix chipathon-tools references to gf180mcuC version. Removed C variant
All checks were successful
release / build-base (push) Successful in 4m22s
release / build-digital-heavy (push) Successful in 21m22s
release / build-digital-ator (push) Successful in 21m42s
release / build-digital-icarus (push) Successful in 21m40s
release / build-analog-xk (push) Successful in 26m27s
release / build-analog-xm (push) Successful in 26m42s
release / build-heavy (push) Successful in 26m55s
release / build-analog-heavy (push) Successful in 27m9s
release / build-chipathon-tools (push) Successful in 16m4s
All checks were successful
release / build-base (push) Successful in 4m22s
release / build-digital-heavy (push) Successful in 21m22s
release / build-digital-ator (push) Successful in 21m42s
release / build-digital-icarus (push) Successful in 21m40s
release / build-analog-xk (push) Successful in 26m27s
release / build-analog-xm (push) Successful in 26m42s
release / build-heavy (push) Successful in 26m55s
release / build-analog-heavy (push) Successful in 27m9s
release / build-chipathon-tools (push) Successful in 16m4s
This commit is contained in:
parent
3d589f60d2
commit
b580b9d649
@ -1,22 +1,33 @@
|
|||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
# ------------------
|
||||||
|
# SET PDK PARAMETERS
|
||||||
|
# ------------------
|
||||||
|
|
||||||
|
if [ "$PDK" == "" ]; then
|
||||||
|
echo "PDK not defined, using default one (gf180mcuD)"
|
||||||
|
PDK=gf180cmuD
|
||||||
|
fi
|
||||||
|
|
||||||
case "$PDK" in
|
case "$PDK" in
|
||||||
gf180mcuC)
|
gf180mcuC) export STD_CELL_LIBRARY=gf180mcu_fd_sc_mcu7t5v0 ;;
|
||||||
export PDKPATH=$PDK_ROOT/$PDK
|
gf180mcuD) export STD_CELL_LIBRARY=gf180mcu_fd_sc_mcu7t5v0 ;;
|
||||||
export STD_CELL_LIBRARY=gf180mcu_fd_sc_mcu7t5v0
|
sky130A) export STD_CELL_LIBRARY=sky130_fd_sc_hd ;;
|
||||||
;;
|
*) echo "PDK $PDK NOT RECOGNIZED";;
|
||||||
sky130A)
|
|
||||||
export PDKPATH=$PDK_ROOT/$PDK
|
|
||||||
export STD_CELL_LIBRARY=sky130_fd_sc_hd
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "PDK not defined, using default one (gf180mcuC)"
|
|
||||||
export PDK=gf180mcuC
|
|
||||||
export PDKPATH=$PDK_ROOT/$PDK
|
|
||||||
export STD_CELL_LIBRARY=gf180mcu_fd_sc_mcu7t5v0
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
export PDKPATH=$PDK_ROOT/$PDK
|
||||||
|
|
||||||
|
export KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout
|
||||||
|
|
||||||
|
alias xschem='xschem -b --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
||||||
|
alias xschemtcl='xschem --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
||||||
|
#alias magic='magic --rcfile $PDK_ROOT/$PDK/libs.tech/magic/*.magicrc'
|
||||||
|
|
||||||
|
# ------------------
|
||||||
|
# SET PROMPT
|
||||||
|
# ------------------
|
||||||
|
|
||||||
function git_branch {
|
function git_branch {
|
||||||
branch=$(git symbolic-ref --short HEAD 2>/dev/null)
|
branch=$(git symbolic-ref --short HEAD 2>/dev/null)
|
||||||
if [ "$branch" != "" ]; then
|
if [ "$branch" != "" ]; then
|
||||||
@ -37,13 +48,12 @@ c_whi='\[\033[01;37m\]' # White
|
|||||||
# export PS1="${c_pur}\w $(git_branch)\n${c_res}\$ " ## This dont work :(
|
# export PS1="${c_pur}\w $(git_branch)\n${c_res}\$ " ## This dont work :(
|
||||||
PS1="${c_pur}\w \n${c_res}\$ " ## This dont work :(
|
PS1="${c_pur}\w \n${c_res}\$ " ## This dont work :(
|
||||||
|
|
||||||
export KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout
|
# --------------------------------
|
||||||
export DESIGNS="/home/designer/shared"
|
# USEFUL ENV VARIABLES AND ALIASES
|
||||||
|
# --------------------------------
|
||||||
|
|
||||||
alias ls="ls --color=auto -XF"
|
alias ls="ls --color=auto -XF"
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
|
|
||||||
alias xschem='xschem -b --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
git config --global --add safe.directory /home/designer/shared
|
||||||
alias xschemtcl='xschem --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
git config --global --add safe.directory /workspaces/*
|
||||||
|
|
||||||
git config --global --add safe.directory $DESIGNS
|
|
||||||
|
@ -17,10 +17,10 @@ volare enable "${OPEN_PDKS_VERSION}" --pdk gf180mcu
|
|||||||
|
|
||||||
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuA
|
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuA
|
||||||
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuB
|
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuB
|
||||||
#rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuC ## Some day...
|
rm -rf $PDK_ROOT/volare/gf180mcu/versions/*/gf180mcuC
|
||||||
rm -rf $PDK_ROOT/gf180mcuA
|
rm -rf $PDK_ROOT/gf180mcuA
|
||||||
rm -rf $PDK_ROOT/gf180mcuB
|
rm -rf $PDK_ROOT/gf180mcuB
|
||||||
rm -rf $PDK_ROOT/gf180mcuD
|
rm -rf $PDK_ROOT/gf180mcuC
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# INSTALL SKY130 PDK
|
# INSTALL SKY130 PDK
|
||||||
@ -28,8 +28,6 @@ rm -rf $PDK_ROOT/gf180mcuD
|
|||||||
|
|
||||||
volare enable "${OPEN_PDKS_VERSION}" --pdk sky130
|
volare enable "${OPEN_PDKS_VERSION}" --pdk sky130
|
||||||
|
|
||||||
# ADD PCELL SUPPORT
|
|
||||||
|
|
||||||
# remove version sky130B to save space (efabless TO use mostly sky130A)
|
# remove version sky130B to save space (efabless TO use mostly sky130A)
|
||||||
rm -rf "$PDK_ROOT"/volare/sky130/versions/*/sky130B
|
rm -rf "$PDK_ROOT"/volare/sky130/versions/*/sky130B
|
||||||
rm -rf "$PDK_ROOT"/sky130B
|
rm -rf "$PDK_ROOT"/sky130B
|
||||||
|
@ -5,9 +5,9 @@ SCRIPT_DIR=$PWD
|
|||||||
|
|
||||||
# This files can be downloaded directly
|
# This files can be downloaded directly
|
||||||
# - sky130A_mr.drc
|
# - sky130A_mr.drc
|
||||||
# - gf180mcuC_mr.drc
|
# - gf180mcuD_mr.drc
|
||||||
PRECHECK_REPO=https://raw.githubusercontent.com/efabless/mpw_precheck/main/checks/tech-files/
|
PRECHECK_REPO=https://raw.githubusercontent.com/efabless/mpw_precheck/main/checks/tech-files/
|
||||||
PRECHECK_GF_FILE=gf180mcuC_mr.drc
|
PRECHECK_GF_FILE=gf180mcuD_mr.drc
|
||||||
PRECHECK_SKY_FILE=sky130A_mr.drc
|
PRECHECK_SKY_FILE=sky130A_mr.drc
|
||||||
|
|
||||||
sudo aur-install wget
|
sudo aur-install wget
|
||||||
@ -15,7 +15,7 @@ pip install docopt --upgrade --break-system-packages
|
|||||||
|
|
||||||
|
|
||||||
function gf180_patch_xschemrc() {
|
function gf180_patch_xschemrc() {
|
||||||
FILEPATH=$PDK_ROOT/gf180mcuC/libs.tech/xschem/xschemrc
|
FILEPATH=$PDK_ROOT/gf180mcuD/libs.tech/xschem/xschemrc
|
||||||
|
|
||||||
ORIGINAL='append XSCHEM_LIBRARY_PATH :$env(PWD)'
|
ORIGINAL='append XSCHEM_LIBRARY_PATH :$env(PWD)'
|
||||||
REPLACE='append XSCHEM_LIBRARY_PATH :$env(PDK_ROOT)/$env(PDK)/libs.tech/xschem'
|
REPLACE='append XSCHEM_LIBRARY_PATH :$env(PDK_ROOT)/$env(PDK)/libs.tech/xschem'
|
||||||
@ -27,9 +27,9 @@ function gf180_patch_xschemrc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function gf180_patch_klayout_pcells() {
|
function gf180_patch_klayout_pcells() {
|
||||||
mv $KLAYOUT_HOME/pymacros $KLAYOUT_HOME/cells
|
mv $KLAYOUT_HOME/pymacros $KLAYOUT_HOME/cells
|
||||||
mkdir $KLAYOUT_HOME/pymacros
|
mkdir $KLAYOUT_HOME/pymacros
|
||||||
mv $KLAYOUT_HOME/cells $KLAYOUT_HOME/pymacros
|
mv $KLAYOUT_HOME/cells $KLAYOUT_HOME/pymacros
|
||||||
mv $KLAYOUT_HOME/tech/gf180mcu.lym $KLAYOUT_HOME/pymacros
|
mv $KLAYOUT_HOME/tech/gf180mcu.lym $KLAYOUT_HOME/pymacros
|
||||||
|
|
||||||
rm -rf .scripts/klayout
|
rm -rf .scripts/klayout
|
||||||
@ -64,12 +64,11 @@ function gf180_patch_klayout_gf_drc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function gf180_patch_klayout_precheck_drc() {
|
function gf180_patch_klayout_precheck_drc() {
|
||||||
#curl -o $KLAYOUT_HOME/drc/rule_decks/$PRECHECK_GF_FILE $PRECHECK_REPO/$PRECHECK_GF_FILE
|
|
||||||
wget -O $KLAYOUT_HOME/drc/rule_decks/$PRECHECK_GF_FILE $PRECHECK_REPO/$PRECHECK_GF_FILE
|
wget -O $KLAYOUT_HOME/drc/rule_decks/$PRECHECK_GF_FILE $PRECHECK_REPO/$PRECHECK_GF_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
function gf180_patch() {
|
function gf180_patch() {
|
||||||
export KLAYOUT_HOME="$PDK_ROOT/gf180mcuC/libs.tech/klayout"
|
export KLAYOUT_HOME="$PDK_ROOT/gf180mcuD/libs.tech/klayout"
|
||||||
gf180_patch_xschemrc
|
gf180_patch_xschemrc
|
||||||
gf180_patch_klayout_pcells
|
gf180_patch_klayout_pcells
|
||||||
gf180_patch_klayout_precheck_drc
|
gf180_patch_klayout_precheck_drc
|
||||||
|
Loading…
Reference in New Issue
Block a user