forked from Mario1159/osic-stacks
Fixed klayout home, added vimrc
This commit is contained in:
parent
8b8395a2f3
commit
96f5604923
@ -17,13 +17,33 @@ sky130A)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
function git_branch {
|
||||||
|
branch=$(git symbolic-ref --short HEAD 2>/dev/null)
|
||||||
|
if [ "$branch" != "" ]; then
|
||||||
|
echo "[$branch]"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
alias ls="ls --color=auto -XA"
|
c_res='\[\033[00m\]' # Reset
|
||||||
|
c_bla='\[\033[01;30m\]' # Black
|
||||||
|
c_red='\[\033[01;31m\]' # Red
|
||||||
|
c_gre='\[\033[01;32m\]' # Green
|
||||||
|
c_yel='\[\033[01;33m\]' # Yellow
|
||||||
|
c_blu='\[\033[01;34m\]' # Blue
|
||||||
|
c_pur='\[\033[01;35m\]' # Purple
|
||||||
|
c_cya='\[\033[01;36m\]' # Cyan
|
||||||
|
c_whi='\[\033[01;37m\]' # White
|
||||||
|
|
||||||
|
# export PS1="${c_pur}\w $(git_branch)\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"
|
||||||
|
|
||||||
|
alias ls="ls --color=auto -XF"
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
|
|
||||||
PS1="[\u@\h \W]\$ "
|
alias xschem='xschem -b --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
||||||
|
alias xschemtcl='xschem --rcfile $PDK_ROOT/$PDK/libs.tech/xschem/xschemrc'
|
||||||
|
|
||||||
## Tools Support
|
git config --global --add safe.directory $DESIGNS
|
||||||
|
|
||||||
alias xschem='xschem -b --rcfile $PDKPATH/libs.tech/xschem/xschemrc'
|
|
||||||
alias xschemtcl='xschem --rcfile $PDKPATH/libs.tech/xschem/xschemrc'
|
|
26
stacks/analog-tools/scripts/.vimrc
Normal file
26
stacks/analog-tools/scripts/.vimrc
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
set nocompatible
|
||||||
|
filetype plugin on
|
||||||
|
filetype indent on
|
||||||
|
syntax on
|
||||||
|
|
||||||
|
set number relativenumber
|
||||||
|
set autoindent expandtab tabstop=4 shiftwidth=4
|
||||||
|
set cursorline
|
||||||
|
set mouse=a
|
||||||
|
set showcmd
|
||||||
|
set showmatch
|
||||||
|
set lazyredraw
|
||||||
|
set ttyfast
|
||||||
|
|
||||||
|
|
||||||
|
set clipboard="unnamedplus"
|
||||||
|
set showmatch
|
||||||
|
set wildmenu
|
||||||
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
|
|
||||||
|
let &t_SI="\e[6 q"
|
||||||
|
let &t_EI="\e[2 q"
|
||||||
|
let &t_ut=''
|
||||||
|
|
||||||
|
|
@ -46,6 +46,21 @@ rm -rf .scripts/klayout
|
|||||||
# INSTALL SKY130 PDK
|
# INSTALL SKY130 PDK
|
||||||
####################
|
####################
|
||||||
|
|
||||||
|
# I don't know about pcell support, maybe with pip install sky130?
|
||||||
|
# pip install sky130 --upgrade --break-system-packages
|
||||||
|
|
||||||
|
# Still having troubles with this:
|
||||||
|
# ERROR: Reading /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/sky130.lym: XML parser error: invalid name for processing instruction in line 17, column 6
|
||||||
|
# ERROR: Reading /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/sky130.lym: XML parser error: invalid name for processing instruction in line 17, column 6
|
||||||
|
# ERROR: Reading /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/sky130.lym: XML parser error: invalid name for processing instruction in line 17, column 6
|
||||||
|
|
||||||
|
# Fixing the above, the cells indicates the following:
|
||||||
|
# ERROR: /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/cells/via_generator.py:23: ModuleNotFoundError: No module named 'gdsfactory.types'
|
||||||
|
# /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/cells/via_generator.py:23
|
||||||
|
# /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/cells/vias.py:20
|
||||||
|
# /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/cells/__init__.py:21
|
||||||
|
# /home/designer/.volare/sky130A/libs.tech/klayout/pymacros/sky130.lym:9 (class ModuleNotFoundError)
|
||||||
|
|
||||||
export PDK=sky130
|
export PDK=sky130
|
||||||
|
|
||||||
volare enable "${OPEN_PDKS_VERSION}" --pdk "${PDK}"
|
volare enable "${OPEN_PDKS_VERSION}" --pdk "${PDK}"
|
||||||
|
Loading…
Reference in New Issue
Block a user