Skip to content

Instantly share code, notes, and snippets.

@HateFindingNames
Last active April 26, 2025 09:34
Show Gist options
  • Select an option

  • Save HateFindingNames/0486ea22c6422ac99e09981821f6f2e3 to your computer and use it in GitHub Desktop.

Select an option

Save HateFindingNames/0486ea22c6422ac99e09981821f6f2e3 to your computer and use it in GitHub Desktop.
Design init file for iic opkd tools using sg13g2 node.
export PDK=ihp-sg13g2
export PDKPATH=$PDK_ROOT/$PDK
export STD_CELL_LIBRARY=sg13g2_stdcell
export SPICE_USERINIT_DIR=$PDKPATH/libs.tech/ngspice
export KLAYOUT_PATH=$PDKPATH/libs.tech/klayout:$PDKPATH/libs.tech/klayout/tech
# Adding my projects to Qucs-s
mkdir -p /headless/QucsWorkspace
find /headless/QucsWorkspace/ -type l -delete
ln -s $PDKPATH/libs.tech/qucs/user_lib /headless/QucsWorkspace/
ln -s /foss/designs/TO_Apr2025/TempSensor/design_data/qucs-s/practice_prj /headless/QucsWorkspace/
TARGETRC="/headless/.xschem/xschemrc"
XSCHEMRC_GIST="3af057f8273033688fce2c2d8ffad4ff"
git clone https://gist.github.com/${XSCHEMRC_GIST}.git
mv -f ./$XSCHEMRC_GIST/xschemrc $TARGETRC
rm -rf ./$XSCHEMRC_GIST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment