Skip to content

Commit 4292673

Browse files
committed
Add custom Magic bindkeys to IHP PDK install scripts
1 parent 813ecb8 commit 4292673

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

_build/images/open_pdks/scripts/install_ciel.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22
set -e
3-
43
export SCRIPT_DIR=$TOOLS/osic-multitool
54

65
if [ ! -d "$PDK_ROOT" ]; then
@@ -36,7 +35,7 @@ if [ -d "$PDK_ROOT/sky130A" ]; then
3635
"$SCRIPT_DIR/iic-spice-model-red.py" sky130.lib.spice sf
3736
"$SCRIPT_DIR/iic-spice-model-red.py" sky130.lib.spice fs
3837

39-
# Add custom bindkeys
38+
# Add custom bindkeys for Magic
4039
echo "# Custom bindkeys for ICD" >> "$PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc"
4140
echo "source $SCRIPT_DIR/iic-magic-bindkeys" >> "$PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc"
4241

_build/images/open_pdks/scripts/install_ihp.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
set -e
3+
export SCRIPT_DIR=$TOOLS/osic-multitool
34
cd /tmp || exit 1
45

56
if [ ! -d "$PDK_ROOT" ]; then
@@ -42,6 +43,10 @@ if [ ! -f ../xyce/plugins/Xyce_Plugin_PSP103_VA.so ] || [ ! -f ../xyce/plugins/X
4243
exit 1
4344
fi
4445

46+
# Add custom bindkeys for Magic
47+
echo "# Custom bindkeys for ICD" >> "$PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc"
48+
echo "source $SCRIPT_DIR/iic-magic-bindkeys" >> "$PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc"
49+
4550
# remove testing folders to save space
4651
cd "$PDK_ROOT/$PDK"
4752
find . -name "testing" -print0 | xargs -0 rm -rf

0 commit comments

Comments
 (0)