forked from Mario1159/osic-stacks
Fixed run.bat and patches
This commit is contained in:
parent
8861a8ca58
commit
72910a3d5b
8
run.bat
8
run.bat
@ -12,9 +12,11 @@ SET CALL=call
|
||||
IF /I ""%~1""==""-h"" GOTO documentation
|
||||
IF /I ""%~1""==""--dry"" ( SET "CALL=echo" )
|
||||
IF /I ""%~1""==""-s"" ( SET "CALL=echo" )
|
||||
IF /I ""%~1""==""-v"" ( SET "ENABLE_VNC=" )
|
||||
IF /I ""%~1""==""--vnc"" ( SET "ENABLE_VNC=" )
|
||||
IF /I ""%~1""==""--path"" ( SET "DESIGNS=%~2" && SHIFT )
|
||||
IF /I ""%~1""==""-p"" ( SET "DESIGNS=%~2" && SHIFT )
|
||||
IF /I ""%~1""==""-k"" ( SET "PDK=%~2" && SHIFT )
|
||||
IF /I ""%~1""==""--pdk"" ( SET "PDK=%~2" && SHIFT )
|
||||
SHIFT
|
||||
GOTO parse
|
||||
@ -26,10 +28,10 @@ SET CALL=call
|
||||
echo -h --help Show usage information
|
||||
echo -s --dry See the commands to be executed
|
||||
echo -p --path PATH Link to a directory
|
||||
echo --vnc Enable the vnc in port "https:\\localhost:8444"
|
||||
echo -v --vnc Enable the vnc in port "https:\\localhost:8444"
|
||||
echo If vnc is not working, execute:
|
||||
echo $ xfce4-session --display=:1 &
|
||||
echo --pdk PDK Set the PDK to be used (gf180mcuC | sky130A)
|
||||
echo ^$ xfce4-session --display=:1 ^&
|
||||
echo -k --pdk PDK Set the PDK to be used: gf180mcuC ^| sky130A
|
||||
echo By default: gf180mcuC
|
||||
GOTO end
|
||||
|
||||
|
@ -68,6 +68,13 @@ function gf180_patch_klayout_precheck_drc() {
|
||||
wget -O $KLAYOUT_HOME/drc/rule_decks/$PRECHECK_GF_FILE $PRECHECK_REPO/$PRECHECK_GF_FILE
|
||||
}
|
||||
|
||||
function gf180_patch() {
|
||||
gf180_patch_xschemrc
|
||||
gf180_patch_klayout_pcells
|
||||
gf180_patch_klayout_dropdown
|
||||
gf180_patch_klayout_precheck_drc
|
||||
}
|
||||
|
||||
####################
|
||||
# PATCH SKY130 PDK
|
||||
####################
|
||||
@ -118,14 +125,15 @@ function sky130_patch_klayout_precheck_drc() {
|
||||
wget -O $KLAYOUT_HOME/drc/$PRECHECK_SKY_FILE $PRECHECK_REPO/$PRECHECK_SKY_FILE
|
||||
}
|
||||
|
||||
gf180_patch_xschemrc
|
||||
gf180_patch_klayout_pcells
|
||||
gf180_patch_klayout_dropdown
|
||||
gf180_patch_klayout_precheck_drc
|
||||
sky130_patch_reduced_models
|
||||
sky130_patch_klayout_lyt
|
||||
sky130_patch_klayout_lym
|
||||
sky130_patch_klayout_pcells
|
||||
sky130_patch_klayout_precheck_drc
|
||||
function sky130_patch() {
|
||||
sky130_patch_reduced_models
|
||||
sky130_patch_klayout_lyt
|
||||
# sky130_patch_klayout_lym # TODO: The file disappears
|
||||
# sky130_patch_klayout_pcells # TODO: Before fixing lym, this explodes
|
||||
sky130_patch_klayout_precheck_drc
|
||||
}
|
||||
|
||||
aur-install gedit xterm gvim
|
||||
gf180_patch
|
||||
sky130_patch
|
||||
|
||||
sudo aur-install gedit xterm gvim
|
Loading…
Reference in New Issue
Block a user