fix(precheck): read the PDK name from the PDK environment variable

This commit is contained in:
Uri Shaked
2025-09-29 16:16:20 +03:00
parent 8a36225bdb
commit 44d164955d
+1 -1
View File
@@ -27,7 +27,7 @@ from tech_data import (
) )
PDK_ROOT = os.getenv("PDK_ROOT") PDK_ROOT = os.getenv("PDK_ROOT")
PDK_NAME = os.getenv("PDK_NAME") or "sky130A" PDK_NAME = os.getenv("PDK") or "sky130A"
LYP_DIR = f"{PDK_ROOT}/{PDK_NAME}/libs.tech/klayout/tech" LYP_DIR = f"{PDK_ROOT}/{PDK_NAME}/libs.tech/klayout/tech"
REPORTS_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "reports") REPORTS_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "reports")