blob: 59108c6d0dad4865edd2ae7aedc7b4d77f7951ba [file] [log] [blame]
#! /usr/bin/env bash
export BAG_WORK_DIR=$(pwd)
export BAG_TOOLS_ROOT=/tools/commercial/bcanalog/bag/bag3d0_rhel60_64
export BAG_FRAMEWORK=${BAG_WORK_DIR}/BAG_framework
export BAG_TECH_CONFIG_DIR=${BAG_WORK_DIR}/skywater130
export BAG_TEMP_DIR=/tools/scratch/${USER}/BAGTMP
export IPYTHONDIR=${BAG_WORK_DIR}/.ipython
# disable hash-salting. We need stable hashing across sessions for caching purposes.
export PYTHONHASHSEED=0
# set program locations
export BAG_PYTHON=${BAG_TOOLS_ROOT}/bin/python3
# set location of BAG configuration file
export BAG_CONFIG_PATH=${BAG_WORK_DIR}/bag_config.yaml
# setup pybag
export PYBAG_PYTHON=${BAG_PYTHON}