Inform user when library's tech is used

This commit is contained in:
Eren Dogan 2022-11-03 22:02:05 -07:00
parent 41abd4b3f4
commit 740cff985a
1 changed files with 3 additions and 4 deletions

View File

@ -561,10 +561,9 @@ def import_tech():
try: try:
OPENRAM_TECH = os.path.abspath(os.environ.get("OPENRAM_TECH")) OPENRAM_TECH = os.path.abspath(os.environ.get("OPENRAM_TECH"))
except: except:
debug.warning("$OPENRAM_TECH environment variable is not defined. " debug.info(2,
"Only the default technology modules will be considered if installed. " "$OPENRAM_TECH environment variable is not defined. "
"However, not having this environment variable may cause errors.") "Only the default technology modules will be considered if installed.")
# Point to the default technology modules that are part of the openram package # Point to the default technology modules that are part of the openram package
try: try:
import openram import openram